Cargo Features

Passwords has no features set by default.

passwords = { version = "3.1.16", features = ["crypto", "common-password"] }
crypto = base64, bcrypt, md5, rand

Affects passwords::hasher


Affects analyzer::AnalyzedPassword, analyzer::is_common_password, analyzer::is_common_password

Features from optional dependencies

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

rand crypto?
md5 crypto?
base64 crypto?
bcrypt crypto?