Cargo Features

[dependencies]
rocksdb = { version = "0.23.0", default-features = false, features = ["jemalloc", "io-uring", "valgrind", "mt_static", "snappy", "lz4", "zstd", "zlib", "bzip2", "rtti", "multi-threaded-cf", "serde1", "bindgen-runtime", "bindgen-static", "lto"] }
default = bindgen-runtime, bzip2, lz4, snappy, zlib, zstd

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

jemalloc

Enables jemalloc of librocksdb-sys ^0.17.1

io-uring

Enables io-uring of librocksdb-sys ^0.17.1

valgrind
mt_static

Enables mt_static of librocksdb-sys ^0.17.1

snappy default

Enables snappy of librocksdb-sys ^0.17.1

lz4 default

Enables lz4 of librocksdb-sys ^0.17.1

zstd default

Enables zstd of librocksdb-sys ^0.17.1

zlib default

Enables zlib of librocksdb-sys ^0.17.1

bzip2 default

Enables bzip2 of librocksdb-sys ^0.17.1

rtti

Enables rtti of librocksdb-sys ^0.17.1

multi-threaded-cf

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

serde1 = serde
bindgen-runtime default

Enables bindgen-runtime of librocksdb-sys ^0.17.1

bindgen-static

Enables bindgen-static of librocksdb-sys ^0.17.1

lto

Enables lto of librocksdb-sys ^0.17.1

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?