add feature flags for auto-release of hw and warnings on sw fallback

This commit is contained in:
bunnie 2024-03-28 09:48:29 +08:00
parent 94a47207d5
commit 0077595699

View file

@ -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 = []