-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathCargo.toml
49 lines (41 loc) · 1.44 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
40
41
42
43
44
45
46
47
48
49
[package]
name = "argon2"
version = "0.6.0-pre.1"
description = """
Pure Rust implementation of the Argon2 password hashing function with support
for the Argon2d, Argon2i, and Argon2id algorithmic variants
"""
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/argon2"
homepage = "https://github.com/RustCrypto/password-hashes/tree/master/argon2"
repository = "https://github.com/RustCrypto/password-hashes"
keywords = ["crypto", "hashing", "password", "phf"]
categories = ["authentication", "cryptography", "no-std"]
readme = "README.md"
edition = "2021"
rust-version = "1.81"
[dependencies]
base64ct = "1"
blake2 = { version = "=0.11.0-pre.4", default-features = false }
# optional dependencies
password-hash = { version = "0.6.0-rc.0", optional = true }
zeroize = { version = "1", default-features = false, optional = true }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
cpufeatures = "0.2.17"
[dev-dependencies]
hex-literal = "0.4"
password-hash = { version = "0.6.0-rc.0", features = ["rand_core"] }
[features]
default = ["alloc", "password-hash", "rand"]
alloc = ["password-hash?/alloc"]
std = ["alloc", "password-hash?/std"]
rand = ["password-hash?/rand_core"]
simple = ["password-hash"]
zeroize = ["dep:zeroize"]
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(test_large_ram)']
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]