Cargo Features
[dependencies]
pbkdf2 = { version = "0.13.0-pre.1", default-features = false, features = ["std", "parallel", "simple", "sha1"] }
- default = hmac
-
The
hmac
feature is set by default wheneverpbkdf2
is added without
somewhere in the dependency tree.default-features = false - std parallel?
-
Enables std of password-hash
- parallel = rayon, std
- simple = hmac, password-hash, sha2
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.
- rayon parallel?
-
Enables rayon
optional dependencies
- password-hash simple? std?
- hmac default simple?
-
Enables hmac =0.13.0-pre.4
Affects
pbkdf2::pbkdf2_hmac
,pbkdf2::pbkdf2_hmac_array
… - sha1 implicit feature
-
Enables sha1 =0.11.0-pre.4
sha1:
SHA-1 hash function
- sha2 simple?
-
Enables sha2 =0.11.0-pre.4