Skip to main content

powerio_cli/
lib.rs

1//! The parts of the CLI that are worth running from somewhere other than the
2//! command line.
3//!
4//! [`invariants`] holds the conversion properties: what must survive a format
5//! conversion, stated once. `powerio-cli/tests/conversion_matrix_report.rs`
6//! holds the vendored cases to them, grades each conversion by its worst
7//! finding, and compares the grades with `tests/conversion_matrix.baseline`.
8//! [`corpus`] holds an arbitrary corpus to the same properties, so the gate in
9//! CI and the harness pointed at private data cannot drift apart.
10//!
11//! The `powerio` binary is the CLI proper; everything else about it lives in
12//! `src/main.rs`.
13
14pub mod corpus;
15pub mod invariants;
16pub(crate) mod module_io;