Skip to main content

Crate cbh_probe

Crate cbh_probe 

Source
Expand description

Implementation crate for cargo-bench-history; do not depend on this directly.

The environment and hardware probe. The environment probe port discovers the git and toolchain facts of a run (shelling out to git and rustc), and the machine fingerprint derives a stable, reproducible key from the host’s hardware so that hardware-dependent results are only ever compared across equivalent machines. Split out of the cargo-bench-history shell so this environment-sensing code is isolated for mutation testing.

Every item is re-exported flat from the crate root, so consumers write cbh_probe::SystemProbe rather than reaching into a submodule.