Cargo Features

[dependencies]
rust-librocksdb-sys = { version = "0.31.0+9.9.3", default-features = false, features = ["jemalloc", "static", "bindgen-runtime", "bindgen-static", "mt_static", "io-uring", "snappy", "lz4", "zstd", "zlib", "bzip2", "zstd-static-linking-only", "lto"] }
default build = static

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

Enables runtime of bindgen ^0.69

jemalloc = tikv-jemalloc-sys
static default

Enables static of optional bzip2-sys and optional libz-sys

bzip2-sys:

Enable this feature if you want to have a statically linked bzip2

bindgen-runtime build

Enables runtime of bindgen ^0.69

bindgen-static build

Enables static of bindgen ^0.69

mt_static
io-uring = pkg-config
snappy
lz4 = lz4-sys
zstd = zstd-sys
zlib = libz-sys
bzip2 = bzip2-sys
rtti malloc-usable-size zstd-static-linking-only
lto

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.

tikv-jemalloc-sys jemalloc?
lz4-sys lz4?
zstd-sys zstd?
libz-sys zlib?
bzip2-sys bzip2?
pkg-config build io-uring?