Cargo Features
lmdb-rkv-sys has no features set by default.
[dependencies]
lmdb-rkv-sys = { version = "0.11.2", features = ["with-fuzzer", "mdb_idl_logn_8", "mdb_idl_logn_11", "mdb_idl_logn_14", "mdb_idl_logn_15", "bindgen"] }
- with-asan with-fuzzer-no-link with-fuzzer
- mdb_idl_logn_8
-
These features configure the MDB_IDL_LOGN macro, which determines the size of the free and dirty page lists (and thus the amount of memory allocated when opening an LMDB environment in read-write mode).
Each feature defines MDB_IDL_LOGN as the value in the name of the feature. That means these features are mutually exclusive, and you must not specify more than one at the same time (or the crate will fail to compile).
For more information on the motivation for these features (and their effect), see https://github.com/mozilla/lmdb/pull/2.
- mdb_idl_logn_9 mdb_idl_logn_10 mdb_idl_logn_11
- mdb_idl_logn_12 mdb_idl_logn_13 mdb_idl_logn_14
- mdb_idl_logn_15
Features from optional dependencies
- bindgen build implicit feature
-
Enables bindgen ^0.53.2
bindgen:
Automatically generates Rust FFI bindings to C and C++ libraries