Skip to content

Commit

Permalink
k256+p256: make ecdsa a default feature
Browse files Browse the repository at this point in the history
We've gotten enough complaints from people who had trouble figuring out
feature activations for `ecdsa` it's probably easier to just turn it on
by default and let people who don't want it figure out how to shut it
off if they so desire.
  • Loading branch information
tarcieri committed Apr 9, 2021
1 parent b0ae94d commit 5526add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k256/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ proptest = "1.0"
rand_core = { version = "0.6", features = ["getrandom"] }

[features]
default = ["arithmetic", "pkcs8", "std"]
default = ["arithmetic", "ecdsa", "pkcs8", "std"]
arithmetic = ["elliptic-curve/arithmetic"]
digest = ["ecdsa-core/digest", "ecdsa-core/hazmat"]
ecdh = ["arithmetic", "elliptic-curve/ecdh", "zeroize"]
Expand Down
2 changes: 1 addition & 1 deletion p256/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ proptest = "1.0"
rand_core = { version = "0.6", features = ["getrandom"] }

[features]
default = ["arithmetic", "pkcs8", "std"]
default = ["arithmetic", "ecdsa", "pkcs8", "std"]
arithmetic = ["elliptic-curve/arithmetic"]
digest = ["ecdsa-core/digest", "ecdsa-core/hazmat"]
ecdh = ["arithmetic", "elliptic-curve/ecdh", "zeroize"]
Expand Down

0 comments on commit 5526add

Please sign in to comment.