Cargo Features

bonsaidb-core has no features set by default.

[dependencies]
bonsaidb-core = { version = "0.5.0", features = ["actionable-traits", "instrument", "encryption", "password-hashing", "token-authentication", "included-from-omnibus", "included-from-server", "included-from-local", "included-from-client", "test-util", "uuid"] }
websockets actionable-traits
instrument

Enables tracing of pot

encryption

Affects bonsaidb-core::ENCRYPTION_ENABLED

password-hashing

Affects connection::StorageConnection.set_user_password, connection::StorageConnection.authenticate_with_password, connection::AsyncStorageConnection.set_user_password, connection::AsyncStorageConnection.authenticate_with_password, networking::SetUserPassword, connection::StorageConnection.authenticate, connection::AsyncStorageConnection.authenticate, networking::Authenticate

token-authentication

Enables blake3 and rand

Affects connection::StorageConnection.authenticate_with_token, connection::AsyncStorageConnection.authenticate_with_token, connection::TokenChallengeAlgorithm, test_util::token_authentication_tests, test_util::blocking_token_authentication_tests, connection::StorageConnection.authenticate, connection::AsyncStorageConnection.authenticate, networking::Authenticate

included-from-omnibus

Enables omnibus-path of bonsaidb-macros

included-from-server

Enables server-path of bonsaidb-macros

included-from-local

Enables local-path of bonsaidb-macros

included-from-client

Enables client-path of bonsaidb-macros

test-util

Enables anyhow, num_cpus, and tokio

Features from optional dependencies

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs