#key-value-store #redis-cluster #async #expiration #list #map #batch #sled #unified #different

rmqtt-storage

rmqtt-storage - Is a simple wrapper around some key-value storages

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

Download history 87/week @ 2025-03-26 134/week @ 2025-04-02 11/week @ 2025-04-09 143/week @ 2025-04-16 57/week @ 2025-04-30 63/week @ 2025-05-07 138/week @ 2025-05-14 92/week @ 2025-05-21 49/week @ 2025-06-11 121/week @ 2025-06-18 747/week @ 2025-06-25 149/week @ 2025-07-02

1,066 downloads per month
Used in 3 crates

MIT/Apache

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

GitHub Release crates.io Documentation

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