leveldb-rs-binding 2.2.0

An interface for the LevelDB
Documentation

leveldb-rs-binding

CI DOI

MSRV MSRV

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 project is built and tested with latest stable releases of Rust toolchain. The minimum supported Rust version (MSRV) is 1.88.

Check CI for tested version.

Dependencies

  • LevelDB: main branch, commit id: 7ee830d
  • 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.2"

Development

Make sure you have all prerequisites installed, including cmake, git and a C++ compiler, like g++ or clang++, that supports C++17 (C++20 if enabling the experimental-extension feature).

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