Crates.io | liblmdb |
lib.rs | liblmdb |
version | 0.9.70 |
source | src |
created_at | 2024-09-28 05:37:03.582045 |
updated_at | 2024-09-28 05:53:02.346854 |
description | up to date Rust bindings for liblmdb. |
homepage | https://github.com/ordinarylabs/liblmdb |
repository | https://github.com/ordinarylabs/liblmdb |
max_upload_size | |
id | 1389801 |
size | 700,979 |
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.