car-state
Thread-safe state store for the Common Agent Runtime.
What it does
A key-value state store where every mutation produces a StateTransition record for audit
and replay. Supports snapshots and restore for rollback. Uses parking_lot::Mutex for
low-overhead concurrent access.
Usage
use StateStore;
use Value;
let store = new;
store.set;
assert_eq!;
let snap = store.snapshot;
store.set;
store.restore; // rollback
Part of CAR -- see the main repo for full documentation.