Cargo Features

ethers-hash-rs = { version = "0.1.0", default-features = false, features = ["rust_crypto"] }
default = rust_crypto

The rust_crypto feature is set by default whenever ethers-hash-rs is added without default-features = false somewhere in the dependency tree.

rust_crypto default = digest, hmac, pbkdf2, sha3

Affects ethers-hash-rs::pbkdf2

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

sha3 rust_crypto
digest rust_crypto
hmac rust_crypto
pbkdf2 rust_crypto

Enables pbkdf2 ^0.11