Skip to content

Commit dd4e137

Browse files
authored
argon2: use base64ct v1.7 (#580)
1 parent 70c9a7f commit dd4e137

File tree

3 files changed

+22
-45
lines changed

3 files changed

+22
-45
lines changed

Cargo.lock

+21-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

argon2/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ edition = "2024"
1717
rust-version = "1.85"
1818

1919
[dependencies]
20-
base64ct = "1"
20+
base64ct = "1.7"
2121
blake2 = { version = "=0.11.0-pre.5", default-features = false }
2222

2323
# optional dependencies

argon2/src/error.rs

-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ impl From<Error> for password_hash::Error {
128128
impl core::error::Error for Error {
129129
fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
130130
match self {
131-
// TODO: remove afer `B64Error` will implement `core::error::Error`
132-
#[cfg(feature = "std")]
133131
Self::B64Encoding(err) => Some(err),
134132
_ => None,
135133
}

0 commit comments

Comments
 (0)