From dc8b4b9e7e5b46ee2bf7d1b70e94bf7a14dddd89 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 4 Mar 2023 16:39:56 -0700 Subject: [PATCH] Bump `password-hash` to v0.5 (#383) Release notes: https://github.com/RustCrypto/traits/pull/1271 --- Cargo.lock | 4 ++-- argon2/Cargo.toml | 4 ++-- balloon-hash/Cargo.toml | 2 +- password-auth/Cargo.toml | 2 +- pbkdf2/Cargo.toml | 2 +- scrypt/Cargo.toml | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ab160594..246039ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -315,9 +315,9 @@ dependencies = [ [[package]] name = "password-hash" -version = "0.5.0-rc.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af13cbccdce8cf72efe1c28ab24d7246b0c9155f52ea90cafb46d15b39db6820" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" dependencies = [ "base64ct", "rand_core", diff --git a/argon2/Cargo.toml b/argon2/Cargo.toml index 96bd5a61..59e18ce1 100644 --- a/argon2/Cargo.toml +++ b/argon2/Cargo.toml @@ -20,12 +20,12 @@ base64ct = "1" blake2 = { version = "0.10.6", default-features = false } # optional dependencies -password-hash = { version = "=0.5.0-rc.0", optional = true } +password-hash = { version = "0.5", optional = true } zeroize = { version = "1", default-features = false, optional = true } [dev-dependencies] hex-literal = "0.3" -password-hash = { version = "=0.5.0-rc.0", features = ["rand_core"] } +password-hash = { version = "0.5", features = ["rand_core"] } [features] default = ["alloc", "password-hash", "rand"] diff --git a/balloon-hash/Cargo.toml b/balloon-hash/Cargo.toml index eb282bbc..c165c02c 100644 --- a/balloon-hash/Cargo.toml +++ b/balloon-hash/Cargo.toml @@ -17,7 +17,7 @@ digest = { version = "0.10.6", default-features = false } crypto-bigint = { version = "0.5", default-features = false, features = ["generic-array"] } # optional dependencies -password-hash = { version = "=0.5.0-rc.0", default-features = false, optional = true } +password-hash = { version = "0.5", default-features = false, optional = true } rayon = { version = "1.5", optional = true } zeroize = { version = "1", default-features = false, optional = true } diff --git a/password-auth/Cargo.toml b/password-auth/Cargo.toml index fddf99c4..bc054ed6 100644 --- a/password-auth/Cargo.toml +++ b/password-auth/Cargo.toml @@ -16,7 +16,7 @@ edition = "2021" rust-version = "1.60" [dependencies] -password-hash = { version = "=0.5.0-rc.0", features = ["alloc", "rand_core"] } +password-hash = { version = "0.5", features = ["alloc", "rand_core"] } rand_core = { version = "0.6", features = ["getrandom"] } # optional dependencies diff --git a/pbkdf2/Cargo.toml b/pbkdf2/Cargo.toml index 6b769055..8664e7b7 100644 --- a/pbkdf2/Cargo.toml +++ b/pbkdf2/Cargo.toml @@ -17,7 +17,7 @@ digest = { version = "0.10.6", features = ["mac"] } # optional dependencies rayon = { version = "1.5", optional = true } -password-hash = { version = "=0.5.0-rc.0", default-features = false, optional = true, features = ["rand_core"] } +password-hash = { version = "0.5", default-features = false, optional = true, features = ["rand_core"] } hmac = { version = "0.12", default-features = false, optional = true } sha1 = { version = "0.10", default-features = false, optional = true } sha2 = { version = "0.10", default-features = false, optional = true } diff --git a/scrypt/Cargo.toml b/scrypt/Cargo.toml index 015ecbf5..70890899 100644 --- a/scrypt/Cargo.toml +++ b/scrypt/Cargo.toml @@ -18,10 +18,10 @@ salsa20 = { version = "0.10.2", default-features = false } sha2 = { version = "0.10", default-features = false } # optional dependencies -password-hash = { version = "=0.5.0-rc.0", default-features = false, features = ["rand_core"], optional = true } +password-hash = { version = "0.5", default-features = false, features = ["rand_core"], optional = true } [dev-dependencies] -password-hash = { version = "=0.5.0-rc.0", features = ["rand_core"] } +password-hash = { version = "0.5", features = ["rand_core"] } [features] default = ["simple", "std"]