Skip to content

Commit 7774790

Browse files
committed
fix missing import when using zeroize feature
1 parent 717afa1 commit 7774790

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

argon2/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ use byte_slice_cast::{AsByteSlice, AsMutByteSlice};
9797
#[cfg(all(feature = "alloc", feature = "password-hash"))]
9898
use password_hash::{Decimal, Ident, ParamsString, Salt};
9999

100+
#[cfg(feature = "zeroize")]
101+
use zeroize::Zeroize;
102+
100103
/// Maximum password length in bytes.
101104
pub const MAX_PWD_LEN: usize = 0xFFFFFFFF;
102105

0 commit comments

Comments
 (0)