diff --git a/core/Cargo.toml b/core/Cargo.toml index dbc7584477e..33cba40dd8b 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -26,7 +26,7 @@ multistream-select = { version = "0.10", path = "../misc/multistream-select" } parking_lot = "0.11.0" pin-project = "1.0.0" prost = "0.7" -rand = "0.7" +rand = "0.8" rw-stream-sink = "0.2.0" sha2 = "0.9.1" smallvec = "1.6.1" diff --git a/misc/multistream-select/Cargo.toml b/misc/multistream-select/Cargo.toml index 7c86be9e6ac..7a54591d068 100644 --- a/misc/multistream-select/Cargo.toml +++ b/misc/multistream-select/Cargo.toml @@ -24,5 +24,5 @@ libp2p-core = { path = "../../core" } libp2p-mplex = { path = "../../muxers/mplex" } libp2p-plaintext = { path = "../../transports/plaintext" } quickcheck = "0.9.0" -rand = "0.7.2" +rand = "0.8.4" rw-stream-sink = "0.2.1" diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index ae668ac92d4..150835deff9 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -17,7 +17,7 @@ libp2p-core = { version = "0.29.0", path = "../../core" } log = "0.4" nohash-hasher = "0.2" parking_lot = "0.11" -rand = "0.7" +rand = "0.8" smallvec = "1.6.1" unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } @@ -29,7 +29,7 @@ futures = "0.3" libp2p-tcp = { path = "../../transports/tcp" } libp2p-plaintext = { path = "../../transports/plaintext" } quickcheck = "0.9" -rand = "0.7" +rand = "0.8" [[bench]] name = "split_send_size" diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index 2ff1677461e..865676ee518 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -17,7 +17,7 @@ libp2p-core = { version = "0.29.0", path = "../../core" } libp2p-swarm = { version = "0.30.0", path = "../../swarm" } log = "0.4" prost = "0.7" -rand = "0.7" +rand = "0.8" smallvec = "1.6.1" [build-dependencies] diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index a4845f06580..8b788ca2d2f 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -16,7 +16,7 @@ bytes = "1.0" byteorder = "1.3.4" fnv = "1.0.7" futures = "0.3.5" -rand = "0.7.3" +rand = "0.8.4" asynchronous-codec = "0.6" wasm-timer = "0.2.4" unsigned-varint = { version = "0.7.0", features = ["asynchronous_codec"] } diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 5e45a80ed64..05badf8e787 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -20,7 +20,7 @@ log = "0.4" libp2p-core = { version = "0.29.0", path = "../../core" } libp2p-swarm = { version = "0.30.0", path = "../../swarm" } prost = "0.7" -rand = "0.7.2" +rand = "0.8.4" sha2 = "0.9.1" smallvec = "1.6.1" wasm-timer = "0.2" diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index 6062574b172..2776101db37 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -14,7 +14,7 @@ futures = "0.3.1" libp2p-core = { version = "0.29.0", path = "../../core" } libp2p-swarm = { version = "0.30.0", path = "../../swarm" } log = "0.4.1" -rand = "0.7.2" +rand = "0.8.4" void = "1.0" wasm-timer = "0.2" diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 27c68fc2c88..b3bf61a8fe8 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -19,7 +19,7 @@ libp2p-swarm = { version = "0.30", path = "../../swarm" } log = "0.4" pin-project = "1" prost = "0.7" -rand = "0.7" +rand = "0.8" smallvec = "1.6.1" unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } void = "1" diff --git a/protocols/request-response/Cargo.toml b/protocols/request-response/Cargo.toml index 577f8f72b9c..c001cbf9623 100644 --- a/protocols/request-response/Cargo.toml +++ b/protocols/request-response/Cargo.toml @@ -18,7 +18,7 @@ libp2p-swarm = { version = "0.30.0", path = "../../swarm" } log = "0.4.11" lru = "0.6" minicbor = { version = "0.8", features = ["std", "derive"] } -rand = "0.7" +rand = "0.8" smallvec = "1.6.1" unsigned-varint = { version = "0.7", features = ["std", "futures"] } wasm-timer = "0.2" @@ -28,4 +28,4 @@ async-std = "1.6.2" libp2p-noise = { path = "../../transports/noise" } libp2p-tcp = { path = "../../transports/tcp" } libp2p-yamux = { path = "../../muxers/yamux" } -rand = "0.7" +rand = "0.8" diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 90865fce530..43b5943b5d9 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -14,7 +14,7 @@ either = "1.6.0" futures = "0.3.1" libp2p-core = { version = "0.29.0", path = "../core" } log = "0.4" -rand = "0.7" +rand = "0.8" smallvec = "1.6.1" wasm-timer = "0.2" void = "1" @@ -23,4 +23,4 @@ void = "1" libp2p-mplex = { path = "../muxers/mplex" } libp2p-noise = { path = "../transports/noise" } quickcheck = "0.9.0" -rand = "0.7.2" +rand = "0.8.4" diff --git a/transports/deflate/Cargo.toml b/transports/deflate/Cargo.toml index 6c43b792e1d..68626192e82 100644 --- a/transports/deflate/Cargo.toml +++ b/transports/deflate/Cargo.toml @@ -18,4 +18,4 @@ flate2 = "1.0" async-std = "1.6.2" libp2p-tcp = { path = "../../transports/tcp" } quickcheck = "0.9" -rand = "0.7" +rand = "0.8" diff --git a/transports/plaintext/Cargo.toml b/transports/plaintext/Cargo.toml index 3ef638e4b31..269457d7a5c 100644 --- a/transports/plaintext/Cargo.toml +++ b/transports/plaintext/Cargo.toml @@ -22,7 +22,7 @@ void = "1.0.2" [dev-dependencies] env_logger = "0.8.1" quickcheck = "0.9.0" -rand = "0.7" +rand = "0.8" [build-dependencies] prost-build = "0.7" diff --git a/transports/pnet/Cargo.toml b/transports/pnet/Cargo.toml index 3ed9acfba31..59924450173 100644 --- a/transports/pnet/Cargo.toml +++ b/transports/pnet/Cargo.toml @@ -14,7 +14,7 @@ futures = "0.3.1" log = "0.4.8" salsa20 = "0.8" sha3 = "0.9" -rand = "0.7" +rand = "0.8" pin-project = "1.0.2" [dev-dependencies]