Cargo Features
[dependencies]
axum-password-worker = { version = "0.4.1", default-features = false, features = ["bcrypt", "rust-argon2"] }
- default = bcrypt
-
The
bcrypt
feature is set by default wheneveraxum-password-worker
is added without
somewhere in the dependency tree.default-features = false
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.
- bcrypt default
-
Enables bcrypt
Optional hash algorithms
Affects
hasher_impls::bcrypt
… - rust-argon2 implicit feature
-
Enables rust-argon2
rust-argon2:
Rust implementation of the Argon2 password hashing function
Affects
hasher_impls::argon2id
…