Cargo Features

[dependencies]
bonsaidb-local = { version = "0.5.0", default-features = false, features = ["full", "cli", "instrument", "encryption", "compression", "password-hashing", "token-authentication", "included-from-omnibus", "async", "internal-apis"] }
default = full

The full feature is set by default whenever bonsaidb-local is added without default-features = false somewhere in the dependency tree.

full default = async, cli, compression, encryption, instrument, password-hashing, token-authentication
cli full

Enables clap and crossterm ^0.27.0

Affects bonsaidb-local::cli

instrument full

Enables tracing, tracing of nebari and pot

encryption full

Enables chacha20poly1305, hpke ^0.10, lockedbox, and zeroize, encryption of bonsaidb-core

Affects config::StorageConfiguration.vault_key_storage, config::StorageConfiguration.default_encryption_key, config::Builder.vault_key_storage, config::Builder.default_encryption_key, bonsaidb-local::vault

compression full

Enables lz4_flex

Affects config::StorageConfiguration.default_compression, config::Builder.default_compression

password-hashing full

Enables argon2, once_cell and zeroize, password-hashing of bonsaidb-core

Affects cli::read_password_from_stdin, cli::ReadPasswordError, config::StorageConfiguration.argon, config::Builder.argon

token-authentication full

Enables token-authentication of bonsaidb-core

included-from-omnibus
async full

Enables async-trait, futures, and tokio

internal-apis