Skip to content

Commit e49627e

Browse files
authored
password-hash: use phc v0.6.0-rc.0 (#2117)
Switches from obtaining the `phc` crate via git to using the initial crate release
1 parent 8b33a08 commit e49627e

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 2 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ digest = { path = "digest" }
1818
signature = { path = "signature" }
1919

2020
getrandom = { git = "https://github.com/rust-random/getrandom" }
21-
phc = { git = "https://github.com/RustCrypto/formats" }

password-hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ as well as a `no_std`-friendly implementation of the PHC string format
1717
"""
1818

1919
[dependencies]
20-
phc = { version = "0.3.0-pre", optional = true, default-features = false }
20+
phc = { version = "0.6.0-rc.0", optional = true, default-features = false }
2121

2222
[features]
2323
alloc = ["phc?/alloc"]

password-hash/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ pub type PasswordHash = phc::PasswordHash;
5050
since = "0.6.0",
5151
note = "use `password_hash::phc::PasswordHash` or `String`"
5252
)]
53+
#[allow(deprecated)]
5354
pub type PasswordHashString = phc::PasswordHashString;
5455

5556
use core::{

0 commit comments

Comments
 (0)