Remove the protection feature

This commit is contained in:
Rodolphe Bréard 2024-03-17 14:38:29 +01:00
parent 8cefe7c16b
commit 5803e2971d
2 changed files with 0 additions and 4 deletions

View file

@ -15,7 +15,6 @@ categories = ["cryptography"]
default = ["encryption", "ikm-management"]
encryption = []
ikm-management = []
i-understand-and-accept-the-risks = []
[dependencies]
base64ct = { version = "1.6.0", default-features = false, features = ["std"] }

View file

@ -45,6 +45,3 @@ pub const DEFAULT_IKM_DURATION: u64 = 315_569_252;
pub const DEFAULT_KEY_CTX_PERIODICITY: u64 = 31_556_925;
#[cfg(feature = "ikm-management")]
const DEFAULT_SCHEME: Scheme = Scheme::XChaCha20Poly1305WithBlake3;
#[cfg(not(feature = "i-understand-and-accept-the-risks"))]
compile_error!("This crate is experimental and therefore comes with absolutely no security guaranty. To use it anyway, enable the \"i-understand-and-accept-the-risks\" feature.");