From bcabb32142f3e7434d5f5279408fd5b9f638f902 Mon Sep 17 00:00:00 2001 From: Christian Reitter <78539074+ros-cr@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:29:09 +0100 Subject: [PATCH] Add explicit zeroize features --- argon2/Cargo.toml | 1 + balloon-hash/Cargo.toml | 1 + bcrypt-pbkdf/Cargo.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/argon2/Cargo.toml b/argon2/Cargo.toml index 4415ab3f..66d295c0 100644 --- a/argon2/Cargo.toml +++ b/argon2/Cargo.toml @@ -38,6 +38,7 @@ std = ["alloc", "password-hash?/std"] rand = ["password-hash?/rand_core"] simple = ["password-hash"] +zeroize = ["dep:zeroize"] [lints.rust.unexpected_cfgs] level = "warn" diff --git a/balloon-hash/Cargo.toml b/balloon-hash/Cargo.toml index c1d4b839..73c46333 100644 --- a/balloon-hash/Cargo.toml +++ b/balloon-hash/Cargo.toml @@ -32,6 +32,7 @@ alloc = ["password-hash/alloc"] parallel = ["rayon", "std"] rand = ["password-hash/rand_core"] std = ["alloc", "password-hash/std"] +zeroize = ["dep:zeroize"] [package.metadata.docs.rs] all-features = true diff --git a/bcrypt-pbkdf/Cargo.toml b/bcrypt-pbkdf/Cargo.toml index cd34d9db..ed00284c 100644 --- a/bcrypt-pbkdf/Cargo.toml +++ b/bcrypt-pbkdf/Cargo.toml @@ -26,3 +26,4 @@ hex-literal = "0.4.0" default = ["alloc", "std"] alloc = [] std = [] +zeroize = ["dep:zeroize"]