leveldb-rs-binding

Crates.ioleveldb-rs-binding
lib.rsleveldb-rs-binding
version2.1.1
created_at2024-08-24 15:31:40.394713+00
updated_at2025-12-27 07:17:46.218191+00
descriptionAn interface for the LevelDB
homepagehttps://github.com/rim99/leveldb-rs-binding
repositoryhttps://github.com/rim99/leveldb-rs-binding
max_upload_size
id1350371
size22,636,220
Zhang Xin (rim99)

documentation

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

README

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

Commit count: 285

cargo fmt