From 4ab0c0510d605d3bb2a7d803397b02d495e0730c Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 6 Dec 2024 11:26:04 +0100 Subject: [PATCH] Add dangerous_disable_encryption to the expected cfg items --- components/encrypted_container/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/encrypted_container/Cargo.toml b/components/encrypted_container/Cargo.toml index ef235d67..7ddfd050 100644 --- a/components/encrypted_container/Cargo.toml +++ b/components/encrypted_container/Cargo.toml @@ -20,3 +20,6 @@ delog = "0.1.6" [features] # Use "dangerous_disable_encryption" config switch to disable the actual encryption, and store data instead in plaintext for debug purposes. + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dangerous_disable_encryption)'] }