*: update rand to v0.8.5 (#12962)

* *: update rand to v0.8.5

* *: remove useless deps from Cargo.toml

* fix pallet-session-benchmarking

* fix pallet-election-provider-support test

* remove useless rand from dev-dependencies
This commit is contained in:
Qinxuan Chen
2022-12-19 14:38:51 +08:00
committed by GitHub
parent 9a5f47962f
commit 40c04cf11d
55 changed files with 77 additions and 254 deletions
+3 -9
View File
@@ -20,18 +20,15 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features =
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
serde = { version = "1.0.136", optional = true, features = ["derive"] }
byteorder = { version = "1.3.2", default-features = false }
primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "scale-info"] }
impl-serde = { version = "0.4.0", optional = true }
wasmi = { version = "0.13", optional = true }
hash-db = { version = "0.15.2", default-features = false }
hash256-std-hasher = { version = "0.15.2", default-features = false }
base58 = { version = "0.2.0", optional = true }
rand = { version = "0.7.3", optional = true, features = ["small_rng"] }
rand = { version = "0.8.5", optional = true, features = ["small_rng"] }
substrate-bip39 = { version = "0.4.4", optional = true }
tiny-bip39 = { version = "0.8.2", optional = true }
tiny-bip39 = { version = "1.0.0", optional = true }
regex = { version = "1.6.0", optional = true }
num-traits = { version = "0.2.8", default-features = false }
zeroize = { version = "1.4.3", default-features = false }
secrecy = { version = "0.8.0", default-features = false }
lazy_static = { version = "1.4.0", default-features = false, optional = true }
@@ -62,7 +59,7 @@ sp-runtime-interface = { version = "7.0.0", default-features = false, path = "..
[dev-dependencies]
sp-serializer = { version = "4.0.0-dev", path = "../serializer" }
rand = "0.7.2"
rand = "0.8.5"
criterion = "0.3.3"
serde_json = "1.0"
sp-core-hashing-proc-macro = { version = "5.0.0", path = "./hashing/proc-macro" }
@@ -81,7 +78,6 @@ std = [
"full_crypto",
"log/std",
"thiserror",
"wasmi",
"lazy_static",
"parking_lot",
"primitive-types/std",
@@ -101,11 +97,9 @@ std = [
"base58",
"substrate-bip39",
"tiny-bip39",
"byteorder/std",
"rand",
"schnorrkel/std",
"regex",
"num-traits/std",
"secp256k1/std",
"secp256k1/global-context",
"sp-core-hashing/std",