hadb-storage-mem 0.4.0

In-memory StorageBackend impl for hadb-storage. Primarily for tests and examples.
Documentation

hadb-storage-mem: in-memory StorageBackend implementation.

Used as the test fixture across the hadb/walrust/turbolite/haqlite workspaces. Not intended for production: everything lives in a single Mutex<HashMap> and etags are a monotonic counter.

Etags

An etag is an opaque string that survives across the CAS boundary: put_if_match(key, data, etag) only commits if the current stored etag equals etag. We use a monotonic u64 counter as a string so etags are unique per-write and totally ordered.