Skip to main content

Crate hardy_sqlite_storage

Crate hardy_sqlite_storage 

Source
Expand description

SQLite-backed metadata storage for the Hardy BPA.

This crate provides a persistent MetadataStorage implementation that stores bundle metadata in a SQLite database. It handles schema migrations, connection pooling, serialized write access, and the startup recovery protocol (mark-unconfirmed / confirm / sweep).

§Key types

  • Config – database directory and filename settings (serde-deserializable).
  • new() – constructs an Arc<dyn MetadataStorage> ready for use by the BPA.

Structs§

Config
Configuration for the SQLite metadata storage backend.

Functions§

new
Creates a new SQLite metadata storage instance.