Add a rand-std feature

This commit is contained in:
Elichai Turkel 2019-08-21 20:16:11 -04:00
parent d900dcd1c9
commit 2b50e02d7a
No known key found for this signature in database
GPG Key ID: 9383CDE9E8E66A7F
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ script:
- cargo build --verbose --features=fuzztarget
- cargo build --verbose --features=rand
- cargo test --verbose --features=rand
- cargo test --verbose --features="rand rand-std"
- cargo test --verbose --features="rand serde"
- cargo test --verbose --features="rand serde recovery endomorphism"
- cargo build --verbose

View File

@ -28,7 +28,8 @@ path = "src/lib.rs"
[features]
unstable = []
default = ["std"]
std = ["rand/std"]
std = []
rand-std = ["rand/std"]
recovery = []
endomorphism = []
lowmemory = []