2 unstable releases

0.9.70 Sep 28, 2024
0.0.0 Sep 28, 2024

#2212 in Database interfaces

25 downloads per month
Used in saferlmdb

Custom license

520KB
13K SLoC

C 11K SLoC // 0.2% comments Rust 1.5K 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.

No runtime deps