Cargo Features
[dependencies]
ng-rocksdb = { version = "0.21.0-ngpreview.3", default-features = false, features = ["jemalloc", "static", "snappy", "lz4", "zstd", "zlib", "bzip2", "valgrind", "multi-threaded-cf", "serde1"] }
- default = static
-
The
static
feature is set by default wheneverng-rocksdb
is added without
somewhere in the dependency tree.default-features = false - jemalloc = tikv-jemalloc-sys
- 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
- io-uring snappy
- lz4 = lz4-sys
- zstd = zstd-sys
- zlib = libz-sys
- bzip2 = bzip2-sys
- rtti valgrind
- 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.