Skip to content

Commit 839bf12

Browse files
Update rand requirement from 0.7 to 0.8
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](rust-random/rand@0.7.3...0.8.0) Signed-off-by: dependabot[bot] <support@github.com>
1 parent c897df3 commit 839bf12

15 files changed

Lines changed: 18 additions & 18 deletions

File tree

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ multistream-select = { version = "0.10", path = "../misc/multistream-select" }
2626
parking_lot = "0.11.0"
2727
pin-project = "1.0.0"
2828
prost = "0.7"
29-
rand = "0.7"
29+
rand = "0.8"
3030
rw-stream-sink = "0.2.0"
3131
sha2 = "0.9.1"
3232
smallvec = "1.0"

misc/multiaddr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ url = { version = "2.1.0", optional = true, default-features = false }
2626
[dev-dependencies]
2727
bincode = "1"
2828
quickcheck = "0.9.0"
29-
rand = "0.7.2"
29+
rand = "0.8.3"
3030
serde_json = "1.0"

misc/multistream-select/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ libp2p-core = { path = "../../core" }
2424
libp2p-mplex = { path = "../../muxers/mplex" }
2525
libp2p-plaintext = { path = "../../transports/plaintext" }
2626
quickcheck = "0.9.0"
27-
rand = "0.7.2"
27+
rand = "0.8.3"
2828
rw-stream-sink = "0.2.1"

muxers/mplex/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ libp2p-core = { version = "0.27.0", path = "../../core" }
1717
log = "0.4"
1818
nohash-hasher = "0.2"
1919
parking_lot = "0.11"
20-
rand = "0.7"
20+
rand = "0.8"
2121
smallvec = "1.4"
2222
unsigned-varint = { version = "0.6", features = ["asynchronous_codec"] }
2323

@@ -29,7 +29,7 @@ futures = "0.3"
2929
libp2p-tcp = { path = "../../transports/tcp" }
3030
libp2p-plaintext = { path = "../../transports/plaintext" }
3131
quickcheck = "0.9"
32-
rand = "0.7"
32+
rand = "0.8"
3333

3434
[[bench]]
3535
name = "split_send_size"

protocols/floodsub/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ libp2p-core = { version = "0.27.0", path = "../../core" }
1717
libp2p-swarm = { version = "0.27.0", path = "../../swarm" }
1818
log = "0.4"
1919
prost = "0.7"
20-
rand = "0.7"
20+
rand = "0.8"
2121
smallvec = "1.0"
2222

2323
[build-dependencies]

protocols/gossipsub/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bytes = "1.0"
1616
byteorder = "1.3.4"
1717
fnv = "1.0.7"
1818
futures = "0.3.5"
19-
rand = "0.7.3"
19+
rand = "0.8.3"
2020
asynchronous-codec = "0.5"
2121
wasm-timer = "0.2.4"
2222
unsigned-varint = { version = "0.6.0", features = ["asynchronous_codec"] }

protocols/kad/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ log = "0.4"
2020
libp2p-core = { version = "0.27.0", path = "../../core" }
2121
libp2p-swarm = { version = "0.27.0", path = "../../swarm" }
2222
prost = "0.7"
23-
rand = "0.7.2"
23+
rand = "0.8.3"
2424
sha2 = "0.9.1"
2525
smallvec = "1.0"
2626
wasm-timer = "0.2"

protocols/mdns/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ lazy_static = "1.4.0"
1919
libp2p-core = { version = "0.27.0", path = "../../core" }
2020
libp2p-swarm = { version = "0.27.0", path = "../../swarm" }
2121
log = "0.4.11"
22-
rand = "0.7.3"
22+
rand = "0.8.3"
2323
smallvec = "1.5.0"
2424
socket2 = { version = "0.3.17", features = ["reuseport"] }
2525
void = "1.0.2"

protocols/ping/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ futures = "0.3.1"
1414
libp2p-core = { version = "0.27.0", path = "../../core" }
1515
libp2p-swarm = { version = "0.27.0", path = "../../swarm" }
1616
log = "0.4.1"
17-
rand = "0.7.2"
17+
rand = "0.8.3"
1818
void = "1.0"
1919
wasm-timer = "0.2"
2020

protocols/request-response/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ libp2p-swarm = { version = "0.27.0", path = "../../swarm" }
1818
log = "0.4.11"
1919
lru = "0.6"
2020
minicbor = { version = "0.7", features = ["std", "derive"] }
21-
rand = "0.7"
21+
rand = "0.8"
2222
smallvec = "1.4"
2323
unsigned-varint = { version = "0.6", features = ["std", "futures"] }
2424
wasm-timer = "0.2"
@@ -28,4 +28,4 @@ async-std = "1.6.2"
2828
libp2p-noise = { path = "../../transports/noise" }
2929
libp2p-tcp = { path = "../../transports/tcp" }
3030
libp2p-yamux = { path = "../../muxers/yamux" }
31-
rand = "0.7"
31+
rand = "0.8"

0 commit comments

Comments
 (0)