[package]
name = "scrypt"
version = "0.10.0"
description = "Scrypt password-based key derivation function"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/scrypt"
repository = "https://github.com/RustCrypto/password-hashes/tree/master/scrypt"
keywords = ["crypto", "password", "hashing"]
categories = ["cryptography"]
edition = "2021"
rust-version = "1.57"
[dependencies]
hmac = "0.12.1"
pbkdf2 = { version = "0.11", default-features = false, path = "../pbkdf2" }
salsa20 = { version = "0.10.2", default-features = false }
sha2 = { version = "0.10", default-features = false }
password-hash = { version = "0.4", default-features = false, features = ["rand_core"], optional = true }
[dev-dependencies]
password-hash = { version = "0.4", features = ["rand_core"] }
[features]
default = ["simple", "std"]
simple = ["password-hash"]
std = ["password-hash/std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]