Skip to content

Commit

Permalink
Add dangerous_disable_encryption to the expected cfg items
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Dec 6, 2024
1 parent ec7ac07 commit 98d1946
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/encrypted_container/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'] }

0 comments on commit 98d1946

Please sign in to comment.