Cargo Features
[dependencies]
argon2 = { version = "0.6.0-rc.5", default-features = false, features = ["alloc", "getrandom", "parallel", "password-hash", "rand_core", "zeroize"] }
- default = alloc, getrandom, password-hash
-
These default features are set whenever
argon2is added withoutsomewhere in the dependency tree.default-features = false - alloc default
-
Enables alloc of optional password-hash
- getrandom default
-
Enables getrandom of password-hash
- parallel
-
Enables rayon
optional dependencies
- password-hash default getrandom rand_core?
-
Enables password-hash
Affects
algorithm::ARGON2D_IDENT,algorithm::ARGON2I_IDENT,algorithm::ARGON2ID_IDENT… - rand_core
-
Enables rand_core of password-hash
- zeroize
-
Enables zeroize