Fix rand_core test by enabling "getrandom" feature

This commit is contained in:
Paul Grandperrin 2020-12-21 22:53:43 -03:00 committed by GitHub
parent 9717eb8d52
commit 050034c98c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ features = ["nightly"]
[dependencies]
curve25519-dalek = { version = "3", default-features = false }
rand_core = { version = "0.6", default-features = false }
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
# `serde` is renamed to `our_serde` in order to avoid a name collision between
# importing the serde dependency and enabling the curve25519-dalek/serde feature
our_serde = { package = "serde", version = "1", default-features = false, optional = true, features = ["derive"] }