fugue_evo/checkpoint/mod.rs
1//! Checkpointing support for evolution state persistence
2//!
3//! This module provides serialization and recovery of evolution state,
4//! enabling long-running experiments to be paused and resumed.
5//!
6//! The `state` submodule (data structures) is always available.
7//! The `recovery` submodule (file I/O) requires the `checkpoint` feature.
8
9#[cfg(feature = "checkpoint")]
10mod recovery;
11mod state;
12
13#[cfg(feature = "checkpoint")]
14pub use recovery::*;
15pub use state::*;
16
17/// Prelude for checkpoint module
18pub mod prelude {
19 #[cfg(feature = "checkpoint")]
20 pub use super::recovery::*;
21 pub use super::state::*;
22}