Remove most of the rand_os crate, which is only used for testing.

This commit is contained in:
Isis Lovecruft 2019-10-04 02:43:38 +00:00
parent 8a8fe302dd
commit 7dd99afb67
No known key found for this signature in database
GPG key ID: AB41313533E8E812
2 changed files with 1 additions and 3 deletions

View file

@ -65,7 +65,7 @@ harness = false
[features]
default = ["std", "u64_backend"]
std = ["curve25519-dalek/std", "rand_os", "sha2/std"]
alloc = ["curve25519-dalek/alloc", "rand_os"]
alloc = ["curve25519-dalek/alloc"]
nightly = ["curve25519-dalek/nightly", "clear_on_drop/nightly"]
batch = ["rand"]
asm = ["sha2/asm"]

View file

@ -262,8 +262,6 @@ extern crate curve25519_dalek;
extern crate failure;
#[cfg(all(feature = "batch", any(feature = "std", feature = "alloc", test)))]
extern crate rand;
#[cfg(any(feature = "std", test))]
extern crate rand_os;
extern crate rand_core;
#[cfg(feature = "serde")]
extern crate serde;