Cargo Features
[dependencies]
haizhi-rocksdb = { version = "0.2.9", default-features = false, features = ["jemalloc", "io-uring", "valgrind", "snappy", "lz4", "zstd", "zlib", "bzip2", "rtti", "multi-threaded-cf", "serde1"] }
- default = bzip2, lz4, serde1, snappy, zlib, zstd
-
These default features are set whenever
haizhi-rocksdb
is added without
somewhere in the dependency tree.default-features = false - jemalloc
-
Enables jemalloc of haizhi-librocksdb-sys ^0.2.10
- io-uring
-
Enables io-uring of haizhi-librocksdb-sys ^0.2.10
- valgrind
- snappy default
-
Enables snappy of haizhi-librocksdb-sys ^0.2.10
- lz4 default
-
Enables lz4 of haizhi-librocksdb-sys ^0.2.10
- zstd default
-
Enables zstd of haizhi-librocksdb-sys ^0.2.10
- zlib default
-
Enables zlib of haizhi-librocksdb-sys ^0.2.10
- bzip2 default
-
Enables bzip2 of haizhi-librocksdb-sys ^0.2.10
- rtti
-
Enables rtti of haizhi-librocksdb-sys ^0.2.10
- multi-threaded-cf
-
Affects
column_family::ColumnFamilyRef
,db::DB
,optimistic_transaction_db::OptimisticTransactionDB
… - serde1 default = 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.