2 unstable releases
0.9.70 | Sep 28, 2024 |
---|---|
0.0.0 | Sep 28, 2024 |
#2081 in Database interfaces
Used in saferlmdb
520KB
13K
SLoC
liblmdb
up to date Rust bindings for LMDB.
version matches LMDB version for which the bindings were generated.
## setup
cargo install bindgen-cli && git submodule update --init
## checkout mdb.master and pull latest
git submodule switch mdb.master; git pull
## generate bindings
bindgen lmdb/libraries/liblmdb/lmdb.h -o src/lmdb.rs
## build
cargo build
update the version to match what is reflected in /lmdb/libraries/liblmdb/lmdb.h
for MDB_VERSION_(MAJOR | MINOR | PATCH)
before deploying.