dig-capsule 0.5.0

The DIG Network .dig capsule data plane — one crate over the DIGS format, capsule read-crypto, compiler, staging, and the guest/host serve triad.
//! dig-capsule-store: the host-side Store entity, on-disk layout, staging, and generations.
//!
//! Implements paper sections 4.1–4.4 (store structure), 8.2 (generations), and
//! 20.1–20.3 store mechanics (init / add / commit). Generation directories
//! produced here are consumed by `dig-capsule-compiler` (which owns §8.3 pool
//! ordering and §19.3 byte-identical compilation) and `dig-capsule-guest`.

mod chunkstore;
mod clock;
mod config;
mod diff;
mod error;
mod generation;
mod history;
mod paths;
mod public_manifest;
mod staging;
mod store;

pub use chunkstore::ChunkStore;
pub use clock::{Clock, FixedClock, SystemClock};
pub use config::{load_config, save_config};
pub use diff::GenerationDiff;
pub use error::{Result, StoreError};
pub use generation::{ChunkRef, GenerationManifest, KeyTableRecord};
pub use history::RootHistory;
pub use paths::StorePaths;
pub use public_manifest::build_public_manifest;
pub use staging::{StagedRecord, StagingArea};
pub use store::Store;

#[cfg(all(test, not(target_arch = "wasm32")))]
mod tests;