Cargo Features

[dependencies]
rocksdbx = { version = "0.19.0", 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 rocksdbx is added without default-features = false somewhere in the dependency tree.

jemalloc

Enables jemalloc of librocksdb-sysx

io-uring

Enables io-uring of librocksdb-sysx

valgrind
snappy default

Enables snappy of librocksdb-sysx

lz4 default

Enables lz4 of librocksdb-sysx

zstd default

Enables zstd of librocksdb-sysx

zlib default

Enables zlib of librocksdb-sysx

bzip2 default

Enables bzip2 of librocksdb-sysx

rtti

Enables rtti of librocksdb-sysx

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?