Skip to main content

litz_engine/
lib.rs

1//! Loading a Litz project, booting it and deciding pass or fail.
2//!
3//! This crate is the part a host embeds. A command-line runner is one host:
4//! it parses flags into [`runner::Options`], calls [`runner::execute_with`] and
5//! prints the transcript. A browser session is another: it hands
6//! [`machine::boot_c3`] the diagram and images it already holds in memory. The
7//! library owns project loading, boot, the run loop, the assertions and the
8//! probe records; the host owns arguments, files and presentation.
9
10#[cfg(not(target_family = "wasm"))]
11pub mod board;
12pub mod config;
13pub mod decode;
14pub mod image;
15pub mod lock;
16pub mod machine;
17pub mod python;
18pub mod runner;
19pub mod scenario;
20
21/// Probes, their records and the measurements over them, re-exported so a
22/// host that decodes or draws a scope needs one dependency, not two.
23pub use litz_board::probe;