A Rust-based wrapper module for RocksDB with transaction and non-transaction support
This project provides a structured Rust wrapper around RocksDB, implementing a dedicated struct that abstracts common database operations.
It supports basic key-value operations such as:
putgetdeleterange_gerange_gtrange_lerange_lt
In addition, the module supports both transactional mode and non-transactional mode, allowing flexible usage depending on consistency and performance requirements.
The goal of this module is to provide a clean and reusable interface over RocksDB for backend services requiring high-performance embedded storage.
- Language: Rust (Edition 2021)
- Storage Engine: RocksDB
- Macros: strum_macros
- rocksdb = "0.23.0"
- strum_macros = "0.27.1"
- Structured RocksDB wrapper implementation
- Basic CRUD operations
- Range support
- Transaction mode support
- Non-transaction mode support
- Designed for backend service integration
When using Rust 1.78 or higher, running RocksDB in test code may cause execution errors.
This issue is documented here: sequenceplanner/r2r#96
⚠️ This issue only affects test execution. Production service runtime is not affected.
To downgrade Rust to version 1.77.0:
rustc --version
rustup install 1.77.0
rustup default 1.77.0
rustc --version