Expand description
Run cargo commands for all feature combinations across a workspace.
This crate powers the cargo-fc and cargo-feature-combinations binaries.
The main entry point for consumers is run, which parses CLI arguments
and dispatches the requested command.
Structs§
- Options
- Command-line options recognized by this crate.
- Summary
- Summary of the outcome for running a cargo command on a single feature set.
Enums§
- Command
- High-level command requested by the user.
Traits§
- Argument
Parser - Helper trait to provide simple argument parsing over
Vec<String>. - Package
- Extension trait for
cargo_metadata::Packageused by this crate. - Workspace
- Abstraction over a Cargo workspace used by this crate.
Functions§
- color_
spec - Build a
ColorSpecwith the given foreground color and bold setting. - error_
counts - Extract per-crate error counts from cargo output.
- parse_
arguments - Parse command-line arguments for the
cargo-*binary. - print_
feature_ matrix - Print a JSON feature matrix for the given packages to stdout.
- print_
summary - Print an aggregated summary for all executed feature combinations.
- run
- Run the cargo subcommand for all relevant feature combinations.
- run_
cargo_ command - Run a cargo command for all requested packages and feature combinations.
- warning_
counts - Extract per-crate warning counts from cargo output.