diff --git a/Cargo.toml b/Cargo.toml index a951195a..957b16a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/contrib/test.sh b/contrib/test.sh index 7c5ed1e7..de1cb3ec 100755 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -FEATURES="bitcoinconsensus use-serde" +FEATURES="bitcoinconsensus use-serde rand" if [ "$DO_COV" = true ] then