[package]
name = "password-hash"
description = """
Traits which describe the functionality of password hashing algorithms,
as well as a `no_std`-friendly implementation of the PHC string format
(a well-defined subset of the Modular Crypt Format a.k.a. MCF)
"""
version = "0.2.3"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2018"
documentation = "https://docs.rs/password-hash"
repository = "https://github.com/RustCrypto/traits/tree/master/password-hash"
categories = ["cryptography", "no-std"]
keywords = ["crypt", "mcf", "password", "pbkdf", "phc"]
[dependencies]
base64ct = "1"
subtle = { version = ">=2, <2.5", default-features = false }
rand_core = { version = "0.6", optional = true, default-features = false }
[features]
default = ["rand_core"]
alloc = ["base64ct/alloc"]
std = ["alloc", "base64ct/std", "rand_core/std"]
[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]
all-features = true