leveldb-rs-binding 2.1.0

An interface for the LevelDB
Documentation

leveldb-rs-binding

CI

Rust interface for Google's LevelDB key-value storage library.

Documentation: https://docs.rs/leveldb-rs-binding/latest/leveldb/.

Refer to the CHANGELOG.md for release notes.

Rust version policy

The leveldb-rs-binding is built and tested with stable releases of Rust toolchain.

Check CI for tested version.

Dependencies

  • LevelDB: main branch, commit id: ac69108
  • Snappy: v1.2.2
  • Zstd: v1.5.7

Usage

If your project is using Cargo, drop the following lines in your Cargo.toml:

[dependencies]
leveldb-rs-binding = "2.1"

Development

Make sure you have all prerequisites installed, including cmake, git and a C++ compiler, like g++ or clang++, that supports C++17.

Clone the repository, and run

$ cargo build

for building and

$ cargo test

to run the test suite.

Examples

Check out the example directory.

Benchmark

See benchmarks/RESULT.md for performance comparison with C++ db_bench.

License

MIT, see LICENSE