/
Cargo.toml
39 lines (34 loc) · 1.25 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "pbkdf2"
version = "0.7.5"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "Generic implementation of PBKDF2"
documentation = "https://docs.rs/pbkdf2"
repository = "https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2"
keywords = ["crypto", "password", "hashing"]
categories = ["cryptography", "no-std"]
edition = "2018"
readme = "README.md"
[dependencies]
crypto-mac = "0.10"
rayon = { version = "1", optional = true }
base64ct = { version = "1", default-features = false, optional = true }
hmac = { version = "0.10", default-features = false, optional = true }
password-hash = { version = "0.2", default-features = false, optional = true, features = ["rand_core"] }
sha1 = { version = "0.9", package = "sha-1", default-features = false, optional = true }
sha2 = { version = "0.9", default-features = false, optional = true }
[dev-dependencies]
hex-literal = "0.3"
hmac = "0.10"
rand_core = { version = "0.6", features = ["std"] }
sha1 = { version = "0.9", package = "sha-1" }
sha2 = "0.9"
[features]
default = ["simple"]
parallel = ["rayon", "std"]
simple = ["sha2", "hmac", "password-hash", "base64ct"]
std = ["password-hash/std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]