Cargo Features

[dependencies]
speedb-sys = { version = "0.0.6+2.5.0", default-features = false, features = ["bzip2", "io-uring", "jemalloc", "lz4", "snappy", "static", "zlib", "zstd"] }
default = static

The static feature is set by default whenever speedb-sys is added without default-features = false somewhere in the dependency tree.

bzip2 = bzip2-sys
io-uring = pkg-config
jemalloc = tikv-jemalloc-sys
lz4 = lz4-sys
rtti snappy
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

zlib = libz-sys
zstd = zstd-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

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