From 00775956998308d6d4593d6236080089be86a652 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 28 Mar 2024 09:48:29 +0800 Subject: [PATCH] add feature flags for auto-release of hw and warnings on sw fallback --- curve25519-dalek/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/curve25519-dalek/Cargo.toml b/curve25519-dalek/Cargo.toml index 9570670..74054d4 100644 --- a/curve25519-dalek/Cargo.toml +++ b/curve25519-dalek/Cargo.toml @@ -71,7 +71,9 @@ cpufeatures = "0.2.6" fiat-crypto = { version = "0.2.1", default-features = false , optional = true} [features] -default = ["alloc", "precomputed-tables", "zeroize"] +auto-release = [] +warn-fallback = [] +default = ["alloc", "precomputed-tables", "zeroize", "auto-release", "warn-fallback"] alloc = ["zeroize?/alloc"] precomputed-tables = [] legacy_compatibility = []