Skip to main content

store_io_sim/
lib.rs

1//! # store-io-sim
2//!
3//! A deterministic simulated platform for store-io. See [`world`] for the
4//! device, cache, metadata and crash model, [`fault`] for injectable faults,
5//! and [`platform`] for the `Platform` / `Queue` implementation.
6//!
7//! Same seed and same calls give the same run, byte for byte
8//! ([`world::World::trace_hash`]).
9
10#![deny(warnings)]
11#![forbid(unsafe_code)]
12
13pub mod fault;
14pub mod platform;
15pub mod rng;
16pub mod world;
17
18pub use fault::{FaultPlan, FlushFailure};
19pub use platform::{SimDir, SimFile, SimLock, SimPlatform, SimQueue, SimWaker};
20pub use world::{CrashMode, DeviceKind, Fate, FileId, SimConfig, World};