Skip to content

Commit 405a2ad

Browse files
authored
Merge pull request #176 from elichai/2019-08-rand-std-feature
Reintroduce rand-std feature
2 parents d900dcd + 56753b1 commit 405a2ad

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ script:
3030
- cargo build --verbose --features=fuzztarget
3131
- cargo build --verbose --features=rand
3232
- cargo test --verbose --features=rand
33+
- cargo test --verbose --features="rand rand-std"
3334
- cargo test --verbose --features="rand serde"
3435
- cargo test --verbose --features="rand serde recovery endomorphism"
3536
- cargo build --verbose

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "secp256k1"
4-
version = "0.15.5"
4+
version = "0.16.0"
55
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
66
"Andrew Poelstra <[email protected]>" ]
77
license = "CC0-1.0"
@@ -16,7 +16,7 @@ links = "secp256k1"
1616

1717
# Should make docs.rs show all functions, even those behind non-default features
1818
[package.metadata.docs.rs]
19-
features = [ "rand", "serde", "recovery", "endomorphism" ]
19+
features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ]
2020

2121
[build-dependencies]
2222
cc = ">= 1.0.28, < 1.0.42"
@@ -28,7 +28,8 @@ path = "src/lib.rs"
2828
[features]
2929
unstable = []
3030
default = ["std"]
31-
std = ["rand/std"]
31+
std = []
32+
rand-std = ["rand/std"]
3233
recovery = []
3334
endomorphism = []
3435
lowmemory = []

0 commit comments

Comments
 (0)