Cargo Features

[dependencies]
speedb = { version = "0.0.5", default-features = false, features = ["jemalloc", "io-uring", "valgrind", "snappy", "lz4", "zstd", "zlib", "bzip2", "rtti", "multi-threaded-cf", "serde1"] }
default = bzip2, lz4, snappy, zlib, zstd

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

jemalloc

Enables jemalloc of libspeedb-sys

io-uring

Enables io-uring of libspeedb-sys

valgrind
snappy default

Enables snappy of libspeedb-sys

lz4 default

Enables lz4 of libspeedb-sys

zstd default

Enables zstd of libspeedb-sys

zlib default

Enables zlib of libspeedb-sys

bzip2 default

Enables bzip2 of libspeedb-sys

rtti

Enables rtti of libspeedb-sys

multi-threaded-cf

Affects column_family::ColumnFamilyRef, db::DB, optimistic_transaction_db::OptimisticTransactionDB

serde1 = serde

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.

serde serde1?