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.
The Rust API is an implementation detail of the CLI and has no stability guarantees; the command-line interface is the supported interface.
Re-exports§
pub use cfg_eval::CfgEvaluator;pub use config::ResolvedFeatures;pub use package::Package;pub use target::TargetTriple;
Modules§
- cfg_
eval - Evaluate Cargo-style
cfg(...)expressions against a concrete target. - config
- Configuration types and resolution logic for feature combination generation.
- implication
- Feature implication graph and redundant-combination pruning. Feature implication graph and redundant-combination pruning.
- matrix
- JSON matrix output from resolved execution plans. JSON matrix output built from execution plans.
- package
- Package-level configuration, feature combination generation, and error types. Package-level configuration, feature combination generation, and error types.
- plan
- Planning stages that prepare target and execution plans before Cargo runs. Planning stages before cargo-fc runs Cargo.
- target
- Target triple handling and host/flag based detection.
- workspace
- Workspace-level configuration and package discovery. Workspace-level configuration and package discovery.
Functions§
- resolve_
config - Resolve target-specific feature config with no workspace and no command.
- run
- Run the cargo subcommand for all relevant feature combinations.