Skip to content

Commit

Permalink
Bump to secp256k1 0.20
Browse files Browse the repository at this point in the history
This version removes the fuzztarget and endomorphism features.
  • Loading branch information
thomaseizinger committed Jan 4, 2021
1 parent 21b2f92 commit 68840b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ readme = "README.md"
[features]
default = [ "secp-recovery" ]
base64 = [ "base64-compat" ]
fuzztarget = ["secp256k1/fuzztarget", "bitcoin_hashes/fuzztarget"]
fuzztarget = ["bitcoin_hashes/fuzztarget"]
unstable = []
rand = ["secp256k1/rand-std"]
use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
secp-endomorphism = ["secp256k1/endomorphism"]
secp-lowmemory = ["secp256k1/lowmemory"]
secp-recovery = ["secp256k1/recovery"]

[dependencies]
bech32 = "0.7.2"
bitcoin_hashes = "0.9.1"
secp256k1 = { version = "0.19.0", features = [ "recovery" ] }
secp256k1 = { version = "0.20.0", features = [ "recovery" ] }

base64-compat = { version = "1.0.0", optional = true }
bitcoinconsensus = { version = "0.19.0-1", optional = true }
Expand All @@ -34,6 +33,6 @@ serde = { version = "1", features = [ "derive" ], optional = true }
[dev-dependencies]
serde_json = "<1.0.45"
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
ryu = "<1.0.5"

0 comments on commit 68840b6

Please sign in to comment.