# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "password-hash" version = "0.6.0-rc.0" authors = ["RustCrypto Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false 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) """ homepage = "https://github.com/RustCrypto/traits/tree/master/password-hash" documentation = "https://docs.rs/password-hash" readme = "README.md" keywords = [ "crypt", "mcf", "password", "pbkdf", "phc", ] categories = [ "authentication", "cryptography", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/RustCrypto/traits" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "password_hash" path = "src/lib.rs" [[test]] name = "encoding" path = "tests/encoding.rs" [[test]] name = "hashing" path = "tests/hashing.rs" [[test]] name = "password_hash" path = "tests/password_hash.rs" [[test]] name = "test_vectors" path = "tests/test_vectors.rs" [dependencies.base64ct] version = "1.6" [dependencies.rand_core] version = "0.6.4" optional = true default-features = false [dependencies.subtle] version = "2" default-features = false [features] alloc = ["base64ct/alloc"] default = ["rand_core"] getrandom = ["rand_core/getrandom"] std = [ "alloc", "base64ct/std", "rand_core/std", ]