Cargo Features

BonsaiDb has no features set by default.

[dependencies]
bonsaidb = { version = "0.5.0", features = ["full", "local-full", "local", "server-full", "server", "client-full", "client", "files", "keystorage-s3", "cli", "websockets", "trusted-dns", "instrument", "acme", "hyper", "pem", "encryption", "password-hashing", "token-authentication", "compression", "async", "test-util"] }
full = client-full, files, local-full, server-full
local-full full? = local

Enables full of optional bonsaidb-local

local local-full? server?

Enables bonsaidb-local

server-full full? = server

Enables full of optional bonsaidb-server

server server-full? = async, local

Enables bonsaidb-server

Affects bonsaidb::cli

Required by the binary

client-full full? = client

Enables full of optional bonsaidb-client

client client-full?

Enables bonsaidb-client

Affects bonsaidb::cli

Required by the binary

files full?

Enables bonsaidb-files

keystorage-s3

Enables bonsaidb-keystorage-s3

Affects bonsaidb::keystorage

cli

Enables anyhow, clap, tokio, and url, cli of optional bonsaidb-local and optional bonsaidb-server

Affects bonsaidb::cli

Required by the binary

websockets

Enables websockets of optional bonsaidb-client and optional bonsaidb-server

trusted-dns

Enables trusted-dns of optional bonsaidb-client

instrument

Enables instrument of optional bonsaidb-local and optional bonsaidb-server

acme

Enables acme of optional bonsaidb-server

hyper

Enables hyper of optional bonsaidb-server

pem

Enables pem of optional bonsaidb-server

encryption

Enables encryption of optional bonsaidb-local and optional bonsaidb-server

password-hashing

Enables password-hashing of optional bonsaidb-client, bonsaidb-core, optional bonsaidb-local, and optional bonsaidb-server

Affects cli::Args.username

token-authentication

Enables token-authentication of optional bonsaidb-client, bonsaidb-core, optional bonsaidb-local, and optional bonsaidb-server

Affects cli::Args.token_id

compression

Enables compression of optional bonsaidb-local and optional bonsaidb-server

async server?

Enables async of optional bonsaidb-files and optional bonsaidb-local

test-util

Enables test-util of optional bonsaidb-client and optional bonsaidb-server