Merge pull request #545 from thomaseizinger/update-secp

Bump to secp256k1 0.20 and don't enable `recovery` of `secp256k1` in the dependency declaration
This commit is contained in:
Sebastian 2021-01-12 11:42:52 +01:00 committed by GitHub
commit 026f2dd4d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -14,18 +14,17 @@ readme = "README.md"
[features] [features]
default = [ "secp-recovery" ] default = [ "secp-recovery" ]
base64 = [ "base64-compat" ] base64 = [ "base64-compat" ]
fuzztarget = ["secp256k1/fuzztarget", "bitcoin_hashes/fuzztarget"] fuzztarget = ["bitcoin_hashes/fuzztarget"]
unstable = [] unstable = []
rand = ["secp256k1/rand-std"] rand = ["secp256k1/rand-std"]
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"] use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
secp-endomorphism = ["secp256k1/endomorphism"]
secp-lowmemory = ["secp256k1/lowmemory"] secp-lowmemory = ["secp256k1/lowmemory"]
secp-recovery = ["secp256k1/recovery"] 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.19.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 }
@ -34,6 +33,6 @@ serde = { version = "1", features = [ "derive" ], optional = true }
[dev-dependencies] [dev-dependencies]
serde_json = "<1.0.45" serde_json = "<1.0.45"
serde_test = "1" serde_test = "1"
secp256k1 = { version = "0.19.0", features = [ "recovery", "rand-std" ] } secp256k1 = { version = "0.20.0", features = [ "recovery", "rand-std" ] }
# We need to pin ryu (transitive dep from serde_json) to stay compatible with Rust 1.22.0 # We need to pin ryu (transitive dep from serde_json) to stay compatible with Rust 1.22.0
ryu = "<1.0.5" ryu = "<1.0.5"