diff --git a/core/Cargo.toml b/core/Cargo.toml index 5f78fdd4764..cd656361f24 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -31,7 +31,7 @@ pin-project = "1.0.0" prost = "0.9" rand = "0.8" rw-stream-sink = "0.2.0" -sha2 = "0.9.1" +sha2 = "0.10.0" smallvec = "1.6.1" thiserror = "1.0" unsigned-varint = "0.7" diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 270cc6474f3..360dd980325 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -21,7 +21,7 @@ rand = "0.7.3" asynchronous-codec = "0.6" unsigned-varint = { version = "0.7.0", features = ["asynchronous_codec"] } log = "0.4.11" -sha2 = "0.9.1" +sha2 = "0.10.0" base64 = "0.13.0" smallvec = "1.6.1" prost = "0.9" diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 2b5a126be33..76bab545e7f 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -22,7 +22,7 @@ libp2p-core = { version = "0.31.0", path = "../../core", default-features = fals libp2p-swarm = { version = "0.33.0", path = "../../swarm" } prost = "0.9" rand = "0.7.2" -sha2 = "0.9.1" +sha2 = "0.10.0" smallvec = "1.6.1" uint = "0.9" unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index 42b4ae8dd2d..f2eacc4643a 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -21,7 +21,7 @@ futures = { version = "0.3", default-features = false, features = ["std"] } thiserror = "1" unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } bimap = "0.6.1" -sha2 = "0.9" +sha2 = "0.10" rand = "0.8" futures-timer = "3.0.2" instant = "0.1.11" diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index 5907aa3ae1b..e6eca2a5b43 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -17,7 +17,7 @@ libp2p-core = { version = "0.31.0", path = "../../core", default-features = fals log = "0.4" prost = "0.9" rand = "0.8.3" -sha2 = "0.9.1" +sha2 = "0.10.0" static_assertions = "1" x25519-dalek = "1.1.0" zeroize = "1"