Expand description
vanta-state — the redb-backed persistent state store.
Holds the index/history/cache tables described in
docs/23-data-and-state-model.md: the store index, generation history, GC
roots, the resolution cache, and a meta table (schema version + the current
generation pointer). Records are serialized to bytes with serde_json and
stored under typed redb tables; all writes are transactional.
The store/caches (raw content-addressed bytes) live on the filesystem, not here — this crate is metadata only.
Structs§
- Generation
Record - An immutable generation record (
docs/12-updates.md,docs/23). - State
- The persistent state database.
- Store
Entry Meta - Metadata catalogued for a materialized store entry (
docs/23).
Constants§
- SCHEMA_
VERSION - The state-DB schema version (
docs/23§schema-versioning-and-migration).