Cargo Features

[dependencies]
slatedb = { version = "0.3.0", default-features = false, features = ["aws", "azure", "cli", "compression", "snappy", "zlib", "lz4", "zstd", "wal_disable", "moka", "foyer", "bencher", "leaky-bucket"] }
default = aws, moka

These default features are set whenever slatedb is added without default-features = false somewhere in the dependency tree.

aws default bencher?

Enables aws of object_store

Affects admin::load_aws

azure bencher?

Enables azure of object_store

Affects admin::load_azure

cli = clap, humantime

Enables clap

Required by the binary

compression = snappy
snappy compression?

Enables snap

zlib

Enables flate2

lz4

Enables lz4_flex

zstd

Enables zstd

wal_disable bencher?

Affects config::DbOptions.wal_enabled

moka default bencher?

Enables moka

Affects db_cache::moka

foyer

Enables foyer ^0.11.2

Affects db_cache::foyer

bencher = aws, azure, clap, moka, wal_disable

Enables clap

Affects slatedb::compaction_execute_bench

Required by the bencher binary

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

clap bencher? cli?
humantime cli?
leaky-bucket implicit feature

Enables leaky-bucket

leaky-bucket:

A token-based rate limiter based on the leaky bucket algorithm