Cargo Features
[dependencies]
password-hash = { version = "0.6.0-rc.0", default-features = false, features = ["std", "alloc", "getrandom"] }
- default = rand_core
-
The
rand_core
feature is set by default wheneverpassword-hash
is added without
somewhere in the dependency tree.default-features = false - std = alloc
-
Enables std of base64ct and rand_core
rand_core:
optional dependencies
- alloc std?
-
Affects
password-hash::PasswordHashString
… - getrandom
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.