From 091d614aad60d3def05ae7469c1204b2831bfd4a Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 11 Jun 2024 13:48:30 +1000 Subject: [PATCH] bitcoin: Remove "std" feature from examples The "rand-std" feature enables "std" but we use it in examples still. FTR I added this a while ago thinking the explicitness was clearer but in hindsight I think that was wrong and that it makes usage of our features _less_ clear. No logic changes. --- bitcoin/Cargo.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml index 6b20e745e..571a5fed1 100644 --- a/bitcoin/Cargo.toml +++ b/bitcoin/Cargo.toml @@ -59,7 +59,7 @@ name = "bip32" [[example]] name = "handshake" -required-features = ["std", "rand-std"] +required-features = ["rand-std"] [[example]] name = "ecdsa-psbt" @@ -67,23 +67,23 @@ required-features = ["std", "bitcoinconsensus"] [[example]] name = "ecdsa-psbt-simple" -required-features = ["std", "rand-std"] +required-features = ["rand-std"] [[example]] name = "sign-tx-segwit-v0" -required-features = ["std", "rand-std"] +required-features = ["rand-std"] [[example]] name = "sign-tx-taproot" -required-features = ["std", "rand-std"] +required-features = ["rand-std"] [[example]] name = "taproot-psbt" -required-features = ["std", "rand-std", "bitcoinconsensus"] +required-features = ["rand-std", "bitcoinconsensus"] [[example]] name = "taproot-psbt-simple" -required-features = ["std", "rand-std"] +required-features = ["rand-std"] [[example]] name = "sighash"