Merge rust-bitcoin/rust-bitcoin#2856: bitcoin: Remove "std" feature from examples
091d614aad
bitcoin: Remove "std" feature from examples (Tobin C. Harding) Pull request description: 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. (Pulled out of #2756.) ACKs for top commit: storopoli: ACK091d614aad
apoelstra: ACK091d614aad
Tree-SHA512: d72eec37e3a434a1f850cb4257529fc18540cb5075bc7d3bd494cba59b08404c6c86223361a3c3a3de8d50a1168b656ff1123d28f7d2dcdf05c404caff716b1a
This commit is contained in:
commit
76b0060c4d
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue