*: 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
+2 -2
View File
@@ -20,7 +20,7 @@ hash256-std-hasher = { version = "0.15.2", default-features = false }
impl-trait-for-tuples = "0.2.2"
log = { version = "0.4.17", default-features = false }
paste = "1.0"
rand = { version = "0.7.2", optional = true }
rand = { version = "0.8.5", optional = true }
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
sp-application-crypto = { version = "7.0.0", default-features = false, path = "../application-crypto" }
@@ -31,7 +31,7 @@ sp-std = { version = "5.0.0", default-features = false, path = "../std" }
sp-weights = { version = "4.0.0", default-features = false, path = "../weights" }
[dev-dependencies]
rand = "0.7.2"
rand = "0.8.5"
serde_json = "1.0.85"
zstd = { version = "0.11.2", default-features = false }
sp-api = { version = "4.0.0-dev", path = "../api" }