From 5526add5a776218964cbe3d3f2293f4ae897b68b Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 9 Apr 2021 07:54:12 -0700 Subject: [PATCH] k256+p256: make `ecdsa` a default feature 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. --- k256/Cargo.toml | 2 +- p256/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k256/Cargo.toml b/k256/Cargo.toml index 9a453a4a5..cff9dcc87 100644 --- a/k256/Cargo.toml +++ b/k256/Cargo.toml @@ -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"] diff --git a/p256/Cargo.toml b/p256/Cargo.toml index a678e13e3..ae2be5964 100644 --- a/p256/Cargo.toml +++ b/p256/Cargo.toml @@ -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"]