Crate cargo_feature_combinations

Crate cargo_feature_combinations 

Source
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§

ArgumentParser
Helper trait to provide simple argument parsing over Vec<String>.
Package
Extension trait for cargo_metadata::Package used by this crate.
Workspace
Abstraction over a Cargo workspace used by this crate.

Functions§

color_spec
Build a ColorSpec with 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.