//! # Distributed Checkpoint Module
//!
//! Chandy-Lamport style barrier protocol for consistent distributed snapshots.
//!
//! ## Module Overview
//!
//! - `barrier`: Checkpoint barrier types, `StreamMessage<T>` enum, and
//!   cross-thread barrier injection
//! - `unaligned`: Unaligned checkpoint protocol with optional timeout-based
//!   semantics for alignment-less checkpointing

/// Checkpoint barrier types and cross-thread injection.
pub mod barrier;
/// Unaligned checkpoint protocol with optional timeout-based semantics.
pub mod unaligned;

// Re-export key types
pub use barrier::{
    flags, BarrierPollHandle, CheckpointBarrier, CheckpointBarrierInjector, StreamMessage,
};
pub use unaligned::{
    InFlightChannelData, UnalignedAction, UnalignedCheckpointConfig, UnalignedSnapshot,
};
