From e52e48eebb0999a0f44eb48fa737abefb7dee838 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Mon, 4 Jan 2021 15:26:26 +1100 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5e6d197a32..f7f925e254 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ secp-recovery = ["secp256k1/recovery"] [dependencies] bech32 = "0.7.2" bitcoin_hashes = "0.9.1" -secp256k1 = { version = "0.20.0", features = [ "recovery" ] } +secp256k1 = "0.20.0" base64-compat = { version = "1.0.0", optional = true } bitcoinconsensus = { version = "0.19.0-1", optional = true }