Cargo Features

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

jemalloc

Enables jemalloc of electrs-librocksdb-sys ^0.9.0-e3

io-uring

Enables io-uring of electrs-librocksdb-sys ^0.9.0-e3

valgrind
snappy default

Enables snappy of electrs-librocksdb-sys ^0.9.0-e3

lz4 default

Enables lz4 of electrs-librocksdb-sys ^0.9.0-e3

zstd default

Enables zstd of electrs-librocksdb-sys ^0.9.0-e3

zlib default

Enables zlib of electrs-librocksdb-sys ^0.9.0-e3

bzip2 default

Enables bzip2 of electrs-librocksdb-sys ^0.9.0-e3

rtti

Enables rtti of electrs-librocksdb-sys ^0.9.0-e3

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?