Cargo Features

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.


Enables jemalloc of libspeedb-sys


Enables io-uring of libspeedb-sys

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


Enables rtti of libspeedb-sys


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?