mirror of https://github.com/tikv/client-rust.git
chore: Upgrade to rust 1.84.1 (#477)
Signed-off-by: Ping Yu <yuping@pingcap.com>
This commit is contained in:
parent
eb02fb0920
commit
070af41d97
|
@ -52,7 +52,7 @@ clap = "2"
|
||||||
env_logger = "0.10"
|
env_logger = "0.10"
|
||||||
fail = { version = "0.4", features = ["failpoints"] }
|
fail = { version = "0.4", features = ["failpoints"] }
|
||||||
proptest = "1"
|
proptest = "1"
|
||||||
proptest-derive = "0.3"
|
proptest-derive = "0.5.1"
|
||||||
reqwest = { version = "0.11", features = ["json", "native-tls-vendored"] }
|
reqwest = { version = "0.11", features = ["json", "native-tls-vendored"] }
|
||||||
rstest = "0.18.2"
|
rstest = "0.18.2"
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "stable"
|
channel = "1.84.1"
|
||||||
components = ["rustfmt", "clippy"]
|
components = ["rustfmt", "clippy"]
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub use value::Value;
|
||||||
|
|
||||||
struct HexRepr<'a>(pub &'a [u8]);
|
struct HexRepr<'a>(pub &'a [u8]);
|
||||||
|
|
||||||
impl<'a> fmt::Display for HexRepr<'a> {
|
impl fmt::Display for HexRepr<'_> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
for byte in self.0 {
|
for byte in self.0 {
|
||||||
write!(f, "{byte:02X}")?;
|
write!(f, "{byte:02X}")?;
|
||||||
|
|
|
@ -11,5 +11,4 @@ const _PROPTEST_VALUE_MAX: usize = 1024 * 16; // 16 KB
|
||||||
/// Since `Value` is just an alias for `Vec<u8>`, conversions to and from it are easy.
|
/// Since `Value` is just an alias for `Vec<u8>`, conversions to and from it are easy.
|
||||||
///
|
///
|
||||||
/// Many functions which accept a `Value` accept an `Into<Value>`.
|
/// Many functions which accept a `Value` accept an `Into<Value>`.
|
||||||
|
|
||||||
pub type Value = Vec<u8>;
|
pub type Value = Vec<u8>;
|
||||||
|
|
Loading…
Reference in New Issue