From 44d2b9d4977260319dfa7837bc998e7d6a64d7fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Sun, 27 Oct 2024 10:07:34 +0300 Subject: [PATCH] chacha20: disable default features for zeroize --- chacha20/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chacha20/Cargo.toml b/chacha20/Cargo.toml index a061739..accb922 100644 --- a/chacha20/Cargo.toml +++ b/chacha20/Cargo.toml @@ -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"