Safe Rust bindings for LMDB with encryption at rest
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Myk Melez bffb9a668e
Merge pull request #53 from mykmelez/prioritize-testing-and-document-publication
6 years ago
lmdb-sys update lmdb-sys/lmdb to tip of mdb.RE/0.9-moz branch 6 years ago
src Fix typo 6 years ago
.appveyor.yml Update .appveyor.yml 6 years ago
.gitignore lmdb-sys 10 years ago
.gitmodules switch to mozilla/lmdb submodule 6 years ago
.rustfmt.toml Disable rustfmt by default (#14) 8 years ago
.travis.yml require Rust 1.30 6 years ago
Cargo.toml prioritize testing lmdb-rkv with in-tree lmdb-rkv-sys; document publication 6 years ago
LICENSE Initial commit 10 years ago
README.md prioritize testing lmdb-rkv with in-tree lmdb-rkv-sys; document publication 6 years ago
azure-pipelines-template.yml move back to default azure-pipelines.yml config file 6 years ago
azure-pipelines.yml move back to default azure-pipelines.yml config file 6 years ago

README.md

Build Status Windows Build status

lmdb-rs

Idiomatic and safe APIs for interacting with the Symas Lightning Memory-Mapped Database (LMDB).

This repo is a fork of danburkert/lmdb-rs with fixes for issues encountered by mozilla/rkv.

Building from Source

git clone --recursive git@github.com:mozilla/lmdb-rs.git
cd lmdb-rs
cargo build

Publishing to crates.io

To publish the lmdb-rkv-sys crate to crates.io:

git clone --recursive git@github.com:mozilla/lmdb-rs.git
cd lmdb-rs/lmdb-sys
# Update the version string in lmdb-sys/Cargo.toml and lmdb-sys/src/lib.rs.
cargo publish
git tag lmdb-rkv-sys-$VERSION # where $VERSION is the updated version string
git push git@github.com:mozilla/lmdb-rs.git --tags

To publish the lmdb-rkv crate to crates.io:

git clone --recursive git@github.com:mozilla/lmdb-rs.git
cd lmdb-rs
# Update the version string in Cargo.toml and src/lib.rs and temporarily change
# the lmdb-rkv-sys dependency in Cargo.toml to the latest version on crates.io.
cargo publish
git tag $VERSION # where $VERSION is the updated version string
git push git@github.com:mozilla/lmdb-rs.git --tags
# Change the lmdb-rkv-sys dependency in Cargo.toml back to a path dependency
# on the ./lmdb-sys directory.

Features

  • lmdb-sys.
  • Cursors.
  • Zero-copy put API.
  • Nested transactions.
  • Database statistics.