Skip to content

Commit 18fa3cd

Browse files
authored
Use phc crate prerelease (#762)
Switches from git for sourcing `password-hash` and `phc` to the following crate prereleases: - `password-hash` v0.6.0-rc.4 - `phc` v0.6.0-rc.0
1 parent d22cc61 commit 18fa3cd

7 files changed

Lines changed: 16 additions & 18 deletions

File tree

Cargo.lock

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,3 @@ exclude = ["benches", "fuzz"]
1515

1616
[profile.dev]
1717
opt-level = 2
18-
19-
[patch.crates-io]
20-
password-hash = { git = "https://github.com/RustCrypto/traits" }
21-
phc = { git = "https://github.com/RustCrypto/formats" }

argon2/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ blake2 = { version = "0.11.0-rc.3", default-features = false }
2222

2323
# optional dependencies
2424
rayon = { version = "1.7", optional = true }
25-
password-hash = { version = "0.6.0-rc.3", optional = true, features = ["phc"] }
26-
phc = { version = "0.3.0-pre", optional = true, features = ["rand_core"] }
25+
password-hash = { version = "0.6.0-rc.4", optional = true, features = ["phc"] }
26+
phc = { version = "0.6.0-rc.0", optional = true, features = ["rand_core"] }
2727
zeroize = { version = "1", default-features = false, optional = true }
2828

2929
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]

balloon-hash/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ crypto-bigint = { version = "0.7.0-rc.9", default-features = false, features = [
1919
rand_core = { version = "0.10.0-rc-2", default-features = false }
2020

2121
# optional dependencies
22-
password-hash = { version = "0.6.0-rc.3", optional = true, default-features = false, features = ["phc"] }
23-
phc = { version = "0.3.0-pre", optional = true, features = ["rand_core"] }
22+
password-hash = { version = "0.6.0-rc.4", optional = true, default-features = false, features = ["phc"] }
23+
phc = { version = "0.6.0-rc.0", optional = true, features = ["rand_core"] }
2424
rayon = { version = "1.7", optional = true }
2525
zeroize = { version = "1", default-features = false, optional = true }
2626

password-auth/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ rust-version = "1.85"
1818

1919
[dependencies]
2020
getrandom = { version = "0.3", default-features = false }
21-
password-hash = { version = "0.6.0-rc.3", features = ["alloc", "phc"] }
22-
phc = { version = "0.3.0-pre", features = ["getrandom"] }
21+
password-hash = { version = "0.6.0-rc.4", features = ["alloc", "phc"] }
22+
phc = { version = "0.6.0-rc.0", features = ["getrandom"] }
2323

2424
# optional dependencies
2525
argon2 = { version = "0.6.0-rc.0", optional = true, default-features = false, features = ["alloc", "simple"], path = "../argon2" }

pbkdf2/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ digest = { version = "0.11.0-rc.4", features = ["mac"] }
1818

1919
# optional dependencies
2020
hmac = { version = "0.13.0-rc.3", default-features = false, optional = true }
21-
password-hash = { version = "0.6.0-rc.3", default-features = false, optional = true, features = ["phc"] }
22-
phc = { version = "0.3.0-pre", optional = true, features = ["rand_core"] }
21+
password-hash = { version = "0.6.0-rc.4", default-features = false, optional = true, features = ["phc"] }
22+
phc = { version = "0.6.0-rc.0", optional = true, features = ["rand_core"] }
2323
sha1 = { version = "0.11.0-rc.3", default-features = false, optional = true }
2424
sha2 = { version = "0.11.0-rc.3", default-features = false, optional = true }
2525

scrypt/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ sha2 = { version = "0.11.0-rc.3", default-features = false }
2020
rayon = { version = "1.11", optional = true }
2121

2222
# optional dependencies
23-
password-hash = { version = "0.6.0-rc.3", optional = true, default-features = false, features = ["phc"] }
24-
phc = { version = "0.3.0-pre", optional = true, features = ["rand_core"] }
23+
password-hash = { version = "0.6.0-rc.4", optional = true, default-features = false, features = ["phc"] }
24+
phc = { version = "0.6.0-rc.0", optional = true, features = ["rand_core"] }
2525

2626
[features]
2727
default = ["simple", "rayon"]

0 commit comments

Comments
 (0)