Skip to content

Commit

Permalink
Bump password-hash crate dependency to v0.2 (#164)
Browse files Browse the repository at this point in the history
Release notes: RustCrypto/traits#624
  • Loading branch information
tarcieri committed Apr 29, 2021
1 parent dc2cfa8 commit 22c238a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Expand Up @@ -6,6 +6,3 @@ members = [
"scrypt",
"sha-crypt"
]

[patch.crates-io]
password-hash = { git = "https://github.com/RustCrypto/traits" }
4 changes: 2 additions & 2 deletions argon2/Cargo.toml
Expand Up @@ -16,13 +16,13 @@ readme = "README.md"

[dependencies]
blake2 = { version = "0.9", default-features = false }
password-hash = { version = "=0.2.0-pre", optional = true }
password-hash = { version = "0.2", optional = true }
rayon = { version = "1", optional = true }
zeroize = { version = "1", optional = true }

[dev-dependencies]
hex-literal = "0.3"
password-hash = { version = "=0.2.0-pre", features = ["rand_core"] }
password-hash = { version = "0.2", features = ["rand_core"] }
rand_core = { version = "0.6", features = ["std"] }

[features]
Expand Down
2 changes: 1 addition & 1 deletion pbkdf2/Cargo.toml
Expand Up @@ -17,7 +17,7 @@ crypto-mac = "0.10"
rayon = { version = "1", optional = true }
base64ct = { version = "1", default-features = false, optional = true }
hmac = { version = "0.10", default-features = false, optional = true }
password-hash = { version = "=0.2.0-pre", default-features = false, optional = true, features = ["rand_core"] }
password-hash = { version = "0.2", default-features = false, optional = true, features = ["rand_core"] }
sha1 = { version = "0.9", package = "sha-1", default-features = false, optional = true }
sha2 = { version = "0.9", default-features = false, optional = true }

Expand Down
4 changes: 2 additions & 2 deletions scrypt/Cargo.toml
Expand Up @@ -14,13 +14,13 @@ readme = "README.md"
[dependencies]
base64ct = { version = "1", default-features = false, features = ["alloc"], optional = true }
hmac = "0.10"
password-hash = { version = "=0.2.0-pre", default-features = false, features = ["rand_core"], optional = true }
password-hash = { version = "0.2", default-features = false, features = ["rand_core"], optional = true }
pbkdf2 = { version = "0.7", default-features = false, path = "../pbkdf2" }
salsa20 = { version = "0.7", default-features = false, features = ["expose-core"] }
sha2 = { version = "0.9", default-features = false }

[dev-dependencies]
password-hash = { version = "=0.2.0-pre", features = ["rand_core"] }
password-hash = { version = "0.2", features = ["rand_core"] }
rand_core = { version = "0.6", features = ["std"] }

[features]
Expand Down

0 comments on commit 22c238a

Please sign in to comment.