[package]
name = "scrypt"
version = "0.7.0"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "Scrypt password-based key derivation function"
documentation = "https://docs.rs/scrypt"
repository = "https://github.com/RustCrypto/password-hashes/tree/master/scrypt"
keywords = ["crypto", "password", "hashing"]
categories = ["cryptography"]
edition = "2018"
readme = "README.md"
[dependencies]
base64ct = { version = "1", default-features = false, features = ["alloc"], optional = true }
hmac = "0.11"
password-hash = { version = "0.2", default-features = false, features = ["rand_core"], optional = true }
pbkdf2 = { version = "0.8", default-features = false, path = "../pbkdf2" }
salsa20 = { version = "0.8", default-features = false, features = ["expose-core"] }
sha2 = { version = "0.9", default-features = false }
[dev-dependencies]
password-hash = { version = "0.2", features = ["rand_core"] }
rand_core = { version = "0.6", features = ["std"] }
[features]
default = ["simple", "std"]
simple = ["password-hash", "base64ct"]
std = ["password-hash/std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]