stashy

Crates.iostashy
lib.rsstashy
version0.1.1
created_at2025-07-25 19:28:20.189384+00
updated_at2025-07-25 19:49:48.447704+00
descriptionA trait-based abstraction for stashing key-value data in Rust.
homepage
repository
max_upload_size
id1768140
size35,878
Alex Thomson (alexjthomson)

documentation

README

Stashy ๐Ÿฆ€

A trait-based abstraction for stashing key-value data in Rust. you to define how and where data gets stashed โ€” whether locally in memory, remotely, or anywhere else you can implement the Stash trait.

๐Ÿš€ Features

  • ๐Ÿงฉ Trait-based: Define your own stashing logic by implementing the Stash trait.
  • ๐Ÿ”Œ Pluggable backends: Redis, local in-memory, file-based โ€” anything goes.
  • ๐Ÿงช Test-friendly: Swap out stashes in tests or use a mock stash.
  • โœ… Minimal dependencies: Lightweight by default.

๐Ÿงฐ Use Cases

  • Session storage
  • Caching layers
  • Feature flag toggles

๐Ÿ”Œ Planned Backend Implementations

  • In-memory
  • Filesystem
  • Redis
  • DynamoDB
  • RocksDB
Commit count: 0

cargo fmt