Skip to content

Commit

Permalink
p384: remove default ecdh feature (#1112)
Browse files Browse the repository at this point in the history
This default feature is inconsistent with all of the other curve
implementations in this repo, which don't enable the `ecdh` feature by
default.

We could go either way, enabling it in all the other curves, or just
disabling it here. This PR opts to do the latter, as it's simpler.

Closes #1047
  • Loading branch information
tarcieri authored Jan 22, 2025
1 parent 7a71e40 commit 0e59a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p384/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ proptest = "1.5"
rand_core = { version = "0.6", features = ["getrandom"] }

[features]
default = ["arithmetic", "ecdh", "ecdsa", "pem", "std"]
default = ["arithmetic", "ecdsa", "pem", "std"]
alloc = ["ecdsa-core?/alloc", "elliptic-curve/alloc", "primeorder?/alloc"]
std = ["alloc", "ecdsa-core?/std", "elliptic-curve/std"]

Expand Down

0 comments on commit 0e59a7a

Please sign in to comment.