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