diff --git a/password-hash/Cargo.toml b/password-hash/Cargo.toml index a40461483..af870c685 100644 --- a/password-hash/Cargo.toml +++ b/password-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "password-hash" -version = "0.6.0-rc.9" +version = "0.6.0-rc.10" authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" diff --git a/password-hash/src/lib.rs b/password-hash/src/lib.rs index 1d1d05e35..2a2bfdf63 100644 --- a/password-hash/src/lib.rs +++ b/password-hash/src/lib.rs @@ -56,10 +56,7 @@ pub type PasswordHash = phc::PasswordHash; #[allow(deprecated)] pub type PasswordHashString = phc::PasswordHashString; -use core::{ - fmt::{Debug, Display}, - str::FromStr, -}; +use core::fmt::Debug; #[cfg(feature = "rand_core")] use rand_core::TryCryptoRng; @@ -122,7 +119,7 @@ pub trait PasswordHasher { /// Generic around a password hash to be returned (typically [`PasswordHash`]) pub trait CustomizedPasswordHasher { /// Algorithm-specific parameters. - type Params: Clone + Debug + Default + Display + FromStr; + type Params: Clone + Debug + Default; /// Compute a [`PasswordHash`] from the provided password using an /// explicit set of customized algorithm parameters as opposed to the