Crate deterministic [] [src]

A collection of simple utilities for building flake-free testable systems.

Modules

file

Files that can simulate power failures by losing data written after the last sync.

spawn

Spawn threads with linux realtime priorities, and inherit the spawner's shared seeded random number generator and clock.

Structs

Rand

Constants

CONTEXT

Traits

Reactor

A trait for building networked systems that can be plugged into simulated networks and partition tested in accelerated time.

Functions

now
seed
set_seed
set_time

set the time for this thread and its spawned descendents

thread_rng