Cargo Features

[dependencies]
rust-rocksdb = { version = "0.33.0", default-features = false, features = ["jemalloc", "io-uring", "valgrind", "snappy", "lz4", "zstd", "zlib", "bzip2", "rtti", "mt_static", "multi-threaded-cf", "serde1", "malloc-usable-size", "zstd-static-linking-only"] }
default = bzip2, lz4, snappy, zlib, zstd

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

jemalloc

Enables jemalloc of rust-librocksdb-sys

io-uring

Enables io-uring of rust-librocksdb-sys

valgrind
snappy default

Enables snappy of rust-librocksdb-sys

lz4 default

Enables lz4 of rust-librocksdb-sys

zstd default

Enables zstd of rust-librocksdb-sys

zlib default

Enables zlib of rust-librocksdb-sys

bzip2 default

Enables bzip2 of rust-librocksdb-sys

rtti

Enables rtti of rust-librocksdb-sys

mt_static

Enables mt_static of rust-librocksdb-sys

multi-threaded-cf

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

serde1 = serde
malloc-usable-size

Enables malloc-usable-size of rust-librocksdb-sys

zstd-static-linking-only

Enables zstd-static-linking-only of rust-librocksdb-sys

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?