Skip to content

Commit

Permalink
Re-export serde/std and use serde/std in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ass3rt committed Apr 6, 2022
1 parent 16a35a4 commit dd63987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -18,6 +18,7 @@ base64 = [ "base64-compat" ]
unstable = []
rand = ["secp256k1/rand-std"]
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
serde-std = ["serde/std"]
secp-lowmemory = ["secp256k1/lowmemory"]
secp-recovery = ["secp256k1/recovery"]

Expand Down
2 changes: 1 addition & 1 deletion contrib/test.sh
Expand Up @@ -93,7 +93,7 @@ if [ "$AS_DEPENDENCY" = true ]
then
cargo new dep_test
cd dep_test
echo 'bitcoin = { path = "..", features = ["use-serde"] }' >> Cargo.toml
echo 'bitcoin = { path = "..", features = ["use-serde", "serde-std"] }' >> Cargo.toml

# Pin `cc` for Rust 1.29
if [ -n "$PIN_VERSIONS" ]; then
Expand Down

0 comments on commit dd63987

Please sign in to comment.