Merge pull request #344 from thomaseizinger/expose=secp256k1-features

Expose secp256k1 features
This commit is contained in:
Steven Roose 2019-12-04 23:42:54 +00:00 committed by GitHub
commit 6ce582bed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@ path = "src/lib.rs"
[features]
fuzztarget = ["secp256k1/fuzztarget", "bitcoin_hashes/fuzztarget"]
unstable = []
use-serde = ["serde", "bitcoin_hashes/serde"]
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
rand = ["secp256k1/rand"]
[dependencies]
bech32 = "0.7.1"

View File

@ -1,6 +1,6 @@
#!/bin/sh -ex
FEATURES="bitcoinconsensus use-serde"
FEATURES="bitcoinconsensus use-serde rand"
if [ "$DO_COV" = true ]
then