Skip to main content

Crate sova_store

Crate sova_store 

Source
Expand description

Byte-oriented key-value store for Sova plugins (sessions, cache, CSRF, rate-limit).

Trait is stable (memory + file + sql + redis 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 facade SharedStore plugin. Session / meta / rate-limit can reuse namespaced views of the same backend.
Cache
JSON get/set/remember on a KvStore.
MemoryStore
In-process KvStore (sharded Mutex maps + TTL).
Namespace
Scoped handle — prefixes all keys; clear_prefix stays inside.

Enums§

CacheError

Traits§

KvStore

Functions§

namespace

Type Aliases§

BoxFuture