moonpool-sim 0.8.0

Simulation engine for the moonpool framework
Documentation
//! Core simulation engine for deterministic testing.
//!
//! This module provides the central SimWorld coordinator that manages time,
//! event processing, and network simulation state.
//!
//! ## Submodules
//!
//! - `world` - Core SimWorld and WeakSimWorld types
//! - `events` - Event types and queue for scheduling
//! - `state` - Network and storage state management
//! - `wakers` - Waker management for async coordination
//! - `sleep` - Sleep future for simulation time
//! - `rng` - Thread-local random number generation

pub mod events;
pub mod rng;
pub mod sleep;
pub mod state;
pub mod storage_ops;
pub mod wakers;
pub mod world;

// Re-export main types at module level
pub use events::{
    ConnectionStateChange, Event, EventQueue, NetworkOperation, ScheduledEvent, StorageOperation,
};
pub use rng::{
    clear_rng_breakpoints, config_random_bool, config_random_f64, current_sim_seed,
    reset_config_rng, reset_rng_call_count, reset_select_rng, reset_sim_rng, rng_call_count,
    set_config_seed, set_rng_breakpoints, set_select_seed, set_sim_seed, set_swarm_op_seed,
    sim_random, sim_random_range, sim_random_range_or_default, swarm_op_enabled,
};
pub use sleep::SleepFuture;
pub use world::{SimFaultRecord, SimWorld, WeakSimWorld};