Cargo Features

[dependencies]
slatedb = { version = "0.2.0", default-features = false, features = ["aws", "db_bench", "compression", "snappy", "zlib", "lz4", "zstd", "wal_disable"] }
default = aws

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

aws default db_bench?

Enables aws of object_store

db_bench = aws, clap, env_logger, leaky-bucket, wal_disable

Enables clap

Affects slatedb::compaction_execute_bench

Required by compaction-execute-bench and db-bench binaries

compression = snappy
snappy compression?

Enables snap

zlib

Enables flate2

lz4

Enables lz4_flex

zstd

Enables zstd

wal_disable db_bench?

Affects config::DbOptions.wal_enabled

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 db_bench?
env_logger db_bench?
leaky-bucket db_bench?