mirror of
https://github.com/RustCrypto/password-hashes.git
synced 2026-01-25 04:06:23 +00:00
This upgrades `rand_core` to v0.10 prereleases and depends directly on `getrandom` for access to the system RNG. It additionally bumps other crates like `digest` and `blake2` which use the new `crypto-common` with an upgraded `rand_core`. This required restoring some functionality in `blake2` which was used by `argon2`: https://github.com/RustCrypto/hashes/pull/754 This is currently referenced as a git branch until we decide if this is a permanent solution for `argon2` or not, so as to unblock the upgrade.
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "scrypt"
|
|
version = "0.12.0-rc.2"
|
|
description = "Scrypt password-based key derivation function"
|
|
authors = ["RustCrypto Developers"]
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
documentation = "https://docs.rs/scrypt"
|
|
homepage = "https://github.com/RustCrypto/password-hashes/tree/master/scrypt"
|
|
repository = "https://github.com/RustCrypto/password-hashes"
|
|
keywords = ["crypto", "hashing", "password", "phf"]
|
|
categories = ["authentication", "cryptography", "no-std"]
|
|
edition = "2024"
|
|
rust-version = "1.85"
|
|
|
|
[dependencies]
|
|
pbkdf2 = { version = "0.13.0-rc.1", path = "../pbkdf2" }
|
|
salsa20 = { version = "0.11.0-rc.2", default-features = false }
|
|
sha2 = { version = "0.11.0-rc.3", default-features = false }
|
|
rayon = { version = "1.11", optional = true }
|
|
|
|
# optional dependencies
|
|
password-hash = { version = "0.6.0-rc.2", default-features = false, features = ["rand_core"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
password-hash = { version = "0.6.0-rc.2", features = ["rand_core"] }
|
|
|
|
[features]
|
|
default = ["simple", "rayon"]
|
|
simple = ["password-hash"]
|
|
rayon = ["dep:rayon"]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|