Cargo Features
[dependencies]
argon2 = { version = "0.6.0-pre.1", default-features = false, features = ["std", "alloc", "rand", "simple", "zeroize"] }
- default = alloc, password-hash, rand
-
These default features are set whenever
argon2
is added without
somewhere in the dependency tree.default-features = false - std = alloc
-
Enables std of password-hash
optional dependencies
- alloc default std?
-
Enables alloc of password-hash
- rand default
-
Enables rand_core of password-hash
- simple = password-hash
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.