Cargo Features
[dependencies]
rocksdb = { version = "0.22.0", 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
rocksdb
is added without
somewhere in the dependency tree.default-features = false - jemalloc
-
Enables jemalloc of librocksdb-sys ^0.16.0
- io-uring
-
Enables io-uring of librocksdb-sys ^0.16.0
- valgrind
- snappy default
-
Enables snappy of librocksdb-sys ^0.16.0
- lz4 default
-
Enables lz4 of librocksdb-sys ^0.16.0
- zstd default
-
Enables zstd of librocksdb-sys ^0.16.0
- zlib default
-
Enables zlib of librocksdb-sys ^0.16.0
- bzip2 default
-
Enables bzip2 of librocksdb-sys ^0.16.0
- rtti
-
Enables rtti of librocksdb-sys ^0.16.0
- 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.