Cargo Features

bitwarden-core has no features set by default.

[dependencies]
bitwarden-core = { version = "1.0.0", features = ["internal", "no-memory-hardening", "uniffi", "secrets"] }
internal

Enables zxcvbn

Affects password::PasswordLoginRequest, auth::password, auth::pin, client::test_accounts, bitwarden-core::admin_console, bitwarden-core::mobile, bitwarden-core::platform

no-memory-hardening

Disable memory hardening features

Enables no-memory-hardening of bitwarden-crypto

uniffi

Uniffi bindings

Enables uniffi =0.28.1, uniffi of bitwarden-crypto

secrets

Secrets manager API

Affects bitwarden-core::secrets_manager, state::ClientState