Cargo Features

[dependencies]
pbkdf2 = { version = "0.13.0-pre.0", default-features = false, features = ["std", "parallel", "simple", "sha1"] }
default = hmac

The hmac feature is set by default whenever pbkdf2 is added without default-features = false somewhere in the dependency tree.

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.

rayon parallel?

Enables rayon

optional dependencies

password-hash simple? std?
hmac default simple?

Affects pbkdf2::pbkdf2_hmac, pbkdf2::pbkdf2_hmac_array

sha1 implicit feature

Enables sha1

sha1:

SHA-1 hash function

sha2 simple?