Merge pull request #176 from elichai/2019-08-rand-std-feature
Reintroduce rand-std feature
This commit is contained in:
commit
405a2ad8b4
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
|
||||
name = "secp256k1"
|
||||
version = "0.15.5"
|
||||
version = "0.16.0"
|
||||
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
|
||||
"Andrew Poelstra <apoelstra@wpsoftware.net>" ]
|
||||
license = "CC0-1.0"
|
||||
|
@ -16,7 +16,7 @@ links = "secp256k1"
|
|||
|
||||
# Should make docs.rs show all functions, even those behind non-default features
|
||||
[package.metadata.docs.rs]
|
||||
features = [ "rand", "serde", "recovery", "endomorphism" ]
|
||||
features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ]
|
||||
|
||||
[build-dependencies]
|
||||
cc = ">= 1.0.28, < 1.0.42"
|
||||
|
@ -28,7 +28,8 @@ path = "src/lib.rs"
|
|||
[features]
|
||||
unstable = []
|
||||
default = ["std"]
|
||||
std = ["rand/std"]
|
||||
std = []
|
||||
rand-std = ["rand/std"]
|
||||
recovery = []
|
||||
endomorphism = []
|
||||
lowmemory = []
|
||||
|
|
Loading…
Reference in New Issue