Skip to content

Commit

Permalink
chacha20: disable default features for zeroize (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Oct 27, 2024
1 parent 87b79aa commit a3ef399
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chacha20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ cfg-if = "1"
cipher = { version = "=0.5.0-pre.7", optional = true }
rand_core = { version = "0.9.0-alpha.2", optional = true, default-features = false }
serde = { version = "1.0", features = ["derive"], optional = true }
zeroize = { version = "1.8.1", optional = true }

# `zeroize` is an explicit dependency because this crate may be used without the `cipher` crate
zeroize = { version = "1.8.1", optional = true, default-features = false }

[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies]
cpufeatures = "0.2"
Expand Down

0 comments on commit a3ef399

Please sign in to comment.