Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion password-hash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
7 changes: 2 additions & 5 deletions password-hash/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -122,7 +119,7 @@ pub trait PasswordHasher<H> {
/// Generic around a password hash to be returned (typically [`PasswordHash`])
pub trait CustomizedPasswordHasher<H> {
/// 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
Expand Down