13 unstable releases (5 breaking)
0.7.3 | Jun 29, 2025 |
---|---|
0.6.1 | Jun 28, 2025 |
0.6.0 | Oct 28, 2024 |
0.5.1 | Mar 9, 2024 |
0.2.1 | Dec 14, 2023 |
#397 in Database interfaces
1,066 downloads per month
Used in 3 crates
380KB
9K
SLoC
Provides a unified storage abstraction with multiple backend implementations (sled, redis, redis-cluster).
This module defines generic storage interfaces (StorageDB
, Map
, List
) and implements them
for different storage backends. It includes configuration handling, initialization functions,
and common storage operations with support for expiration and batch operations.
rmqtt-storage
Is a simple wrapper around some key-value storages.
Usage
Add this to your Cargo.toml
:
[dependencies]
rmqtt-storage = "0.7"
Features
- Supports basic operations of key-value libraries.
- Supports Map data type and related operations.
- Supports List data type and related operations.
- Supports key expiration.
- Provides an implementation for 'sled'.
- Provides an implementation for 'redis'.
- Provides an implementation for 'redis cluster'. Note: the 'len' feature is not supported yet.
Dependencies
~6–18MB
~229K SLoC