Expand description
Shared cache utilities for MultiversX Rust services.
Provides a simple async-friendly Cache trait plus Redis and local
implementations with TTL semantics.
§Re-exports
This crate re-exports the redis crate for use by dependent crates,
allowing them to access low-level Redis functionality without adding
a direct dependency.
Re-exports§
Modules§
- mock
- Mock implementations for testing without external dependencies. Mock implementations for testing cache operations without external dependencies.
- set
Structs§
- Local
Cache - Local in-memory cache with per-entry TTL support.
- Redis
Cache
Traits§
Functions§
- namespaced
- Creates a namespaced key by prefixing with the given prefix.