Don't enable `recovery` of `secp256k1` in the dependency declaration

Enabling this feature in the dependency declaration defeats the point
of exposing a feature in rust-bitcoin that enables this because
cargo currently does not provide a way to disable a once activated feature.
This commit is contained in:
Thomas Eizinger 2021-01-04 15:26:26 +11:00
parent 68840b65f5
commit e52e48eebb
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ secp-recovery = ["secp256k1/recovery"]
[dependencies] [dependencies]
bech32 = "0.7.2" bech32 = "0.7.2"
bitcoin_hashes = "0.9.1" bitcoin_hashes = "0.9.1"
secp256k1 = { version = "0.20.0", features = [ "recovery" ] } secp256k1 = "0.20.0"
base64-compat = { version = "1.0.0", optional = true } base64-compat = { version = "1.0.0", optional = true }
bitcoinconsensus = { version = "0.19.0-1", optional = true } bitcoinconsensus = { version = "0.19.0-1", optional = true }