Update rand to v0.8.5 (#987)

* Update rand to v0.8.5

* Enable std_rng feature on rand

* Enable std_rng only when std is enabled

* Revert "Enable std_rng only when std is enabled"

This reverts commit 8fb3b72dbd6dc18bc19868b999b5b07cea4b7392.
This commit is contained in:
Keith Yeung
2022-02-14 15:14:05 -08:00
committed by GitHub
parent 774cdac585
commit e7d354ca14
4 changed files with 37 additions and 47 deletions
+34 -44
View File
@@ -1610,7 +1610,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-overseer",
"polkadot-primitives",
"rand 0.8.4",
"rand 0.8.5",
"sc-cli",
"sc-client-api",
"sc-consensus",
@@ -2046,7 +2046,7 @@ dependencies = [
"polkadot-primitives",
"polkadot-service",
"polkadot-test-service",
"rand 0.7.3",
"rand 0.8.5",
"sc-basic-authorship",
"sc-chain-spec",
"sc-cli",
@@ -2497,7 +2497,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c"
dependencies = [
"byteorder",
"rand 0.8.4",
"rand 0.8.5",
"rustc-hex",
"static_assertions",
]
@@ -4048,7 +4048,7 @@ dependencies = [
"pin-project 1.0.10",
"prost",
"prost-build",
"rand 0.8.4",
"rand 0.8.5",
"ring",
"rw-stream-sink",
"sha2 0.9.8",
@@ -4186,7 +4186,7 @@ dependencies = [
"libp2p-core",
"libp2p-swarm",
"log",
"rand 0.8.4",
"rand 0.8.5",
"smallvec",
"socket2 0.4.2",
"void",
@@ -4238,7 +4238,7 @@ dependencies = [
"log",
"prost",
"prost-build",
"rand 0.8.4",
"rand 0.8.5",
"sha2 0.9.8",
"snow",
"static_assertions",
@@ -4329,7 +4329,7 @@ dependencies = [
"log",
"prost",
"prost-build",
"rand 0.8.4",
"rand 0.8.5",
"sha2 0.9.8",
"thiserror",
"unsigned-varint 0.7.1",
@@ -4481,7 +4481,7 @@ dependencies = [
"libsecp256k1-core",
"libsecp256k1-gen-ecmult",
"libsecp256k1-gen-genmult",
"rand 0.8.4",
"rand 0.8.5",
"serde",
"sha2 0.9.8",
"typenum",
@@ -4768,7 +4768,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd2c2cc134e57461f0898b0e921f0a7819b5e3f3a4335b9aa390ce81a5f36fb9"
dependencies = [
"futures 0.3.21",
"rand 0.8.4",
"rand 0.8.5",
"thrift",
]
@@ -4964,7 +4964,7 @@ dependencies = [
"num-complex",
"num-rational 0.4.0",
"num-traits",
"rand 0.8.4",
"rand 0.8.5",
"rand_distr",
"simba",
"typenum",
@@ -4987,7 +4987,7 @@ version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10a8690bf09abf659851e58cd666c3d37ac6af07c2bd7a9e332cfba471715775"
dependencies = [
"rand 0.8.4",
"rand 0.8.5",
]
[[package]]
@@ -5493,7 +5493,7 @@ dependencies = [
"pallet-session",
"pallet-timestamp",
"parity-scale-codec",
"rand 0.7.3",
"rand 0.8.5",
"scale-info",
"serde",
"sp-consensus-aura",
@@ -6346,7 +6346,7 @@ dependencies = [
"lz4",
"memmap2 0.2.3",
"parking_lot 0.11.2",
"rand 0.8.4",
"rand 0.8.5",
"snap",
]
@@ -6769,7 +6769,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
"rand 0.8.4",
"rand 0.8.5",
"sp-core",
"sp-keystore",
"thiserror",
@@ -6790,7 +6790,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
"rand 0.8.4",
"rand 0.8.5",
"sc-network",
"thiserror",
"tracing",
@@ -7003,7 +7003,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
"rand 0.8.4",
"rand 0.8.5",
"rand_chacha 0.3.1",
"sc-network",
"sp-application-crypto",
@@ -7227,7 +7227,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
"rand 0.8.4",
"rand 0.8.5",
"thiserror",
"tracing",
]
@@ -7248,7 +7248,7 @@ dependencies = [
"polkadot-core-primitives",
"polkadot-node-subsystem-util",
"polkadot-parachain",
"rand 0.8.4",
"rand 0.8.5",
"sc-executor",
"sc-executor-common",
"sc-executor-wasmtime",
@@ -7440,7 +7440,7 @@ dependencies = [
"polkadot-node-subsystem",
"polkadot-overseer",
"polkadot-primitives",
"rand 0.8.4",
"rand 0.8.5",
"sp-application-crypto",
"sp-core",
"sp-keystore",
@@ -7768,7 +7768,7 @@ dependencies = [
"parity-scale-codec",
"polkadot-primitives",
"polkadot-runtime-metrics",
"rand 0.8.4",
"rand 0.8.5",
"rand_chacha 0.3.1",
"rustc-hex",
"scale-info",
@@ -8028,7 +8028,7 @@ dependencies = [
"polkadot-runtime-parachains",
"polkadot-service",
"polkadot-test-runtime",
"rand 0.8.4",
"rand 0.8.5",
"sc-authority-discovery",
"sc-chain-spec",
"sc-cli",
@@ -8322,20 +8322,19 @@ dependencies = [
"libc",
"rand_chacha 0.2.2",
"rand_core 0.5.1",
"rand_hc 0.2.0",
"rand_hc",
"rand_pcg",
]
[[package]]
name = "rand"
version = "0.8.4"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha 0.3.1",
"rand_core 0.6.3",
"rand_hc 0.3.1",
]
[[package]]
@@ -8383,7 +8382,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "964d548f8e7d12e102ef183a0de7e98180c9f8729f555897a857b96e48122d2f"
dependencies = [
"num-traits",
"rand 0.8.4",
"rand 0.8.5",
]
[[package]]
@@ -8395,15 +8394,6 @@ dependencies = [
"rand_core 0.5.1",
]
[[package]]
name = "rand_hc"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
dependencies = [
"rand_core 0.6.3",
]
[[package]]
name = "rand_pcg"
version = "0.2.1"
@@ -9372,7 +9362,7 @@ dependencies = [
"log",
"parity-scale-codec",
"parking_lot 0.11.2",
"rand 0.8.4",
"rand 0.8.5",
"sc-block-builder",
"sc-chain-spec",
"sc-client-api",
@@ -10293,7 +10283,7 @@ dependencies = [
"aes-gcm",
"blake2",
"chacha20poly1305",
"rand 0.8.4",
"rand 0.8.5",
"rand_core 0.6.3",
"ring",
"rustc_version 0.3.3",
@@ -10335,7 +10325,7 @@ dependencies = [
"futures 0.3.21",
"httparse",
"log",
"rand 0.8.4",
"rand 0.8.5",
"sha-1 0.9.8",
]
@@ -11235,7 +11225,7 @@ dependencies = [
"lazy_static",
"nalgebra",
"num-traits",
"rand 0.8.4",
"rand 0.8.5",
]
[[package]]
@@ -11435,7 +11425,7 @@ checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
dependencies = [
"cfg-if 1.0.0",
"libc",
"rand 0.8.4",
"rand 0.8.5",
"redox_syscall 0.2.10",
"remove_dir_all",
"winapi 0.3.9",
@@ -11816,7 +11806,7 @@ dependencies = [
"ipnet",
"lazy_static",
"log",
"rand 0.8.4",
"rand 0.8.5",
"smallvec",
"thiserror",
"tinyvec",
@@ -11886,7 +11876,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0"
dependencies = [
"cfg-if 1.0.0",
"rand 0.8.4",
"rand 0.7.3",
"static_assertions",
]
@@ -12371,7 +12361,7 @@ dependencies = [
"mach",
"memoffset",
"more-asserts",
"rand 0.8.4",
"rand 0.8.5",
"region",
"rustix",
"thiserror",
@@ -12823,7 +12813,7 @@ dependencies = [
"log",
"nohash-hasher",
"parking_lot 0.11.2",
"rand 0.8.4",
"rand 0.8.5",
"static_assertions",
]