Expand description
Storage trait definitions for persisting dependency graphs and fingerprints.
This module defines the abstract storage interface that enables the incremental update system to persist state across sessions. Concrete implementations are provided for:
- Postgres (CLI deployment): Full-featured SQL backend
- D1 (Edge deployment): Cloudflare Workers-compatible storage
§Design Pattern
Adapted from ReCoco’s build_import_op_exec_ctx persistence
(exec_ctx.rs:55-134) and setup state management.
Structs§
- InMemory
Storage - In-memory storage backend for testing purposes.
Enums§
- Storage
Error - Errors that can occur during storage operations.
Traits§
- Storage
Backend - Abstract storage backend for the incremental update system.