Cargo Features

Passwords has no features set by default.

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

Affects passwords::hasher

common-password

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. These features may have been created by mistake, and this functionality may be removed in the future.

rand crypto?
md5 crypto?
base64 crypto?

Enables base64 ^0.21

bcrypt crypto?

Enables bcrypt ^0.15