gecko-dev/third_party/rust/lmdb-rkv
Victor Porof 024ebc22db Bug 1583439 - Run `./mach vendor rust` on clean tip, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46900

--HG--
rename : third_party/rust/quote/tests/conditional/integer128.rs => third_party/rust/quote-0.6.11/tests/conditional/integer128.rs
rename : third_party/rust/unicode-xid/scripts/unicode.py => third_party/rust/unicode-xid-0.1.0/scripts/unicode.py
extra : moz-landing-system : lando
2019-09-26 11:53:01 +00:00
..
benches Bug 1583439 - Run `./mach vendor rust` on clean tip, r=froydnj 2019-09-26 11:53:01 +00:00
src Bug 1583439 - Run `./mach vendor rust` on clean tip, r=froydnj 2019-09-26 11:53:01 +00:00
.cargo-checksum.json Bug 1583439 - Run `./mach vendor rust` on clean tip, r=froydnj 2019-09-26 11:53:01 +00:00
Cargo.toml Bug 1583439 - Run `./mach vendor rust` on clean tip, r=froydnj 2019-09-26 11:53:01 +00:00
LICENSE
README.md Bug 1583439 - Run `./mach vendor rust` on clean tip, r=froydnj 2019-09-26 11:53:01 +00:00

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.