Skip to main content

Crate powerio_cli

Crate powerio_cli 

Source
Expand description

The parts of the CLI that are worth running from somewhere other than the command line.

invariants holds the conversion properties: what must survive a format conversion, stated once. powerio-cli/tests/conversion_matrix_report.rs holds the vendored cases to them and corpus holds an arbitrary corpus to the same ones, so the gate in CI and the harness pointed at private data cannot drift apart.

The powerio binary is the CLI proper; everything else about it lives in src/main.rs.

Modulesยง

corpus
The corpus harness: the conversion invariants, run over a directory of case files.
invariants
The conversion invariants, shared by the matrix test and the corpus harness.