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 wheneverslatedb
is added without
somewhere in the dependency tree.default-features = false - 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.