ordinarylabs/liblmdb
2
0
Fork
You've already forked liblmdb
0
up-to-date Rust bindings for LMDB.
  • Rust 100%
2026年05月18日 12:06:15 -07:00
lmdb @e67d370cab 1.0.0-pre.0 2026年05月18日 12:06:15 -07:00
src 1.0.0-pre.0 2026年05月18日 12:06:15 -07:00
.gitignore adds Cargo.lock to .gitignore 2026年03月31日 11:24:44 -07:00
.gitmodules 1.0.0-pre.0 2026年05月18日 12:06:15 -07:00
build.rs 0.9.70 2024年09月27日 22:52:51 -07:00
Cargo.toml 1.0.0-pre.0 2026年05月18日 12:06:15 -07:00
LICENSE 0.9.70 2024年09月27日 22:52:51 -07:00
README.md 1.0.0-pre.0 2026年05月18日 12:06:15 -07:00

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.RE/1.0; 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.