diff --git a/Cargo.toml b/Cargo.toml index 7b96f61..e1dd4bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,18 +2,18 @@ name = "everscale-crypto" description = "Cryptography primitives for Everscale" repository = "https://github.com/broxus/everscale-crypto" -version = "0.2.1" +version = "0.3.0" edition = "2021" include = ["src/**/*.rs", "README.md", "LICENSE"] license-file = "./LICENSE" [dependencies] -curve25519-dalek = "4.0.0" +curve25519-dalek = "4.1.3" generic-array = { version = "0.14", features = ["more_lengths"] } hex = "0.4.3" rand = "0.8.4" sha2 = "0.10" -tl-proto = { version = "0.4.0", features = ["derive"], optional = true } +tl-proto = { version = "0.5.0", features = ["derive"], optional = true } serde = { version = "1", optional = true } [features] diff --git a/src/ed25519/mod.rs b/src/ed25519/mod.rs index 2a5b723..3fa519a 100644 --- a/src/ed25519/mod.rs +++ b/src/ed25519/mod.rs @@ -241,7 +241,7 @@ impl<'de> serde::Deserialize<'de> for PublicKey { struct BytesVisitor; - impl<'de> Visitor<'de> for BytesVisitor { + impl Visitor<'_> for BytesVisitor { type Value = [u8; 32]; fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {