#key-value-store #storage #async #expiration #sled #map #list

rmqtt-storage

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

7 releases (4 breaking)

new 0.6.0 Oct 28, 2024
0.5.2 Oct 29, 2024
0.5.1 Mar 9, 2024
0.4.0 Jan 16, 2024
0.1.0 Dec 5, 2023

#1230 in Database interfaces

Download history 29/week @ 2024-07-14 17/week @ 2024-07-21 55/week @ 2024-07-28 38/week @ 2024-08-04 54/week @ 2024-08-11 14/week @ 2024-08-18 73/week @ 2024-08-25 29/week @ 2024-09-01 50/week @ 2024-09-08 93/week @ 2024-09-15 89/week @ 2024-09-22 65/week @ 2024-09-29 111/week @ 2024-10-06 93/week @ 2024-10-13 73/week @ 2024-10-20 390/week @ 2024-10-27

689 downloads per month

MIT/Apache

345KB
9K SLoC

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.6"

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

~11–22MB
~306K SLoC