Expose secp256k1 'rand' feature flag
By exposing this, we can use the 'rand' dependency of secp256k1 in a project that only depends on rust-bitcoin without having to add a separate dependency in order to activate the feature flag.
This commit is contained in:
parent
700ed54efc
commit
24bb6590d6
|
@ -18,6 +18,7 @@ path = "src/lib.rs"
|
||||||
fuzztarget = ["secp256k1/fuzztarget", "bitcoin_hashes/fuzztarget"]
|
fuzztarget = ["secp256k1/fuzztarget", "bitcoin_hashes/fuzztarget"]
|
||||||
unstable = []
|
unstable = []
|
||||||
use-serde = ["serde", "bitcoin_hashes/serde"]
|
use-serde = ["serde", "bitcoin_hashes/serde"]
|
||||||
|
rand = ["secp256k1/rand"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bech32 = "0.7.1"
|
bech32 = "0.7.1"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
FEATURES="bitcoinconsensus use-serde"
|
FEATURES="bitcoinconsensus use-serde rand"
|
||||||
|
|
||||||
if [ "$DO_COV" = true ]
|
if [ "$DO_COV" = true ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue