Expand description
Byte-oriented key-value store for Sova plugins (sessions, cache, CSRF, rate-limit).
Trait is stable (memory + file + sql + redis + redb backends).
Enable feature unstable-store for backwards-compatible feature flags.
Not in sova-core — wire with app.state(store.namespace("sess")).
Modules§
- conformance
- Shared conformance suite for any
KvStore.
Structs§
- AppStore
- App-wide store handle —
app.state(AppStore::memory())or via facadeSharedStoreplugin. Session / meta / rate-limit can reuse namespaced views of the same backend. - Cache
- JSON get/set/remember on a
KvStore. - Memory
Store - In-process KvStore (sharded Mutex maps + TTL).
- Namespace
- Scoped handle — prefixes all keys;
clear_prefixstays inside.