Skip to content

Commit be87e04

Browse files
committed
Add getrandom feature to rand_core in common
This is needed to use the `OsRng` number generator. Before it was provided to us by `warp` dependency tree but since it's now optional we need to specify it explicitly.
1 parent 51049b2 commit be87e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ kes-summed-ed25519 = { version = "0.2.1", features = [
3434
] }
3535
nom = "7.1.3"
3636
rand_chacha = "0.3.1"
37-
rand_core = "0.6.4"
37+
rand_core = { version = "0.6.4", features = ["getrandom"] }
3838
rayon = "1.8.0"
3939
semver = "1.0.19"
4040
serde = { version = "1.0.188", features = ["derive"] }

0 commit comments

Comments
 (0)