Cargo Features

[dependencies]
bitwarden = { version = "0.5.0", default-features = false, features = ["secrets", "internal", "mobile", "wasm-bindgen"] }
default = secrets

The secrets feature is set by default whenever bitwarden is added without default-features = false somewhere in the dependency tree.

secrets default

Secrets manager API

Affects bitwarden::secrets_manager, state::ClientState

internal mobile?

Internal testing methods

Enables bitwarden-exporters and bitwarden-generators

Affects password::PasswordLoginRequest, auth::password, bitwarden::admin_console, bitwarden::platform, bitwarden::vault, bitwarden::generators, crypto::InitUserCryptoRequest, crypto::InitUserCryptoMethod, crypto::AuthRequestMethod, crypto::initialize_user_crypto, crypto::InitOrgCryptoRequest, crypto::initialize_org_crypto, crypto::get_user_encryption_key, crypto::UpdatePasswordResponse, crypto::DerivePinKeyResponse, crypto::derive_pin_key, crypto::derive_pin_user_key, mobile::crypto

mobile = internal

Mobile-specific features

Enables uniffi =0.26.1, mobile of bitwarden-crypto and bitwarden-generators

Affects bitwarden::mobile, bitwarden::tool

wasm-bindgen

Enables wasmbind of chrono