Skip to main content

Crate cbh_command

Crate cbh_command 

Source
Expand description

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

The parsed command model: the [Command] enum and the per-subcommand option value types (CollectOptions, AnalyzeOptions, and friends) plus the small selection enums they embed. The CLI parser produces these values and the commands consume them, so this is a dependency-light data layer between the two. Split out of the cargo-bench-history shell so option-type mutation testing does not drag in the clap parser or the analysis suite.

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