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.
The leveldb-rs-binding is built and tested with stable releases of Rust toolchain.
Check CI for tested version.
- LevelDB:
mainbranch, commit id: ac69108 - Snappy: v1.2.2
- Zstd: v1.5.7
If your project is using Cargo, drop the following lines in your Cargo.toml:
[dependencies]
leveldb-rs-binding = "2.1"
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 buildfor building and
$ cargo testto run the test suite.
Check out the example directory.
See benchmarks/RESULT.md for performance comparison with C++ db_bench.
MIT, see LICENSE