From 5803e2971dd7f7c4ac1f6a3a871e36a0f4d06c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 17 Mar 2024 14:38:29 +0100 Subject: [PATCH] Remove the protection feature --- Cargo.toml | 1 - src/lib.rs | 3 --- 2 files changed, 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b3100d5..fe0fb57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } diff --git a/src/lib.rs b/src/lib.rs index c6acce9..de316ed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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.");