Expand description
Generic key-value store trait and SQLite implementation. Generic key-value store trait and a SQLite implementation.
KvStore is a small, sync, byte-oriented abstraction so that callers
(LLM response cache, embedding cache, session state, rate-limit counters)
can depend on Arc<dyn KvStore> without binding to SQLite. SqliteKvStore
is the bundled implementation over a single guarded connection.
Structs§
- Sqlite
KvStore - SQLite-backed
KvStoreover one connection guarded by a mutex.
Traits§
- KvStore
- Generic byte-oriented key-value store.