diff --git a/core/Cargo.toml b/core/Cargo.toml index 8573f45cf7c..d5444ed8492 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -29,7 +29,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.5" smallvec = "1.6.1" thiserror = "1.0" unsigned-varint = "0.7" diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 8622be50305..300a3535b7e 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -20,7 +20,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.5" base64 = "0.13.0" smallvec = "1.6.1" prost = "0.9" diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index c0a04fc7ccb..e183fe3547e 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -21,7 +21,7 @@ libp2p-core = { version = "0.30.0", path = "../../core", default-features = fals libp2p-swarm = { version = "0.31.0", path = "../../swarm" } prost = "0.9" rand = "0.7.2" -sha2 = "0.9.1" +sha2 = "0.10.5" 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 ba20329b084..8a260a08e3b 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -20,7 +20,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 680902427d2..d46c87da602 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -16,7 +16,7 @@ libp2p-core = { version = "0.30.0", path = "../../core", default-features = fals log = "0.4" prost = "0.9" rand = "0.8.3" -sha2 = "0.9.1" +sha2 = "0.10.5" static_assertions = "1" x25519-dalek = "1.1.0" zeroize = "1"