Cargo Features

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

jemalloc

Enables jemalloc of speedb-sys

io-uring

Enables io-uring of speedb-sys

valgrind
snappy default

Enables snappy of speedb-sys

lz4 default

Enables lz4 of speedb-sys

zstd default

Enables zstd of speedb-sys

zlib default

Enables zlib of speedb-sys

bzip2 default

Enables bzip2 of speedb-sys

rtti

Enables rtti of speedb-sys

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?