Documentation#
cargo-feature-combinations runs cargo commands against selected — or all — combinations of your crate’s features. This documentation takes you from installation to advanced, per-target and per-command matrix configuration.
Start here#
- Introduction — what the tool does and how it thinks about features.
- Installation — install the
cargo fcsubcommand. - Quick start — your first run and how to read the output.
Go deeper#
- Commands — running cargo through
fc, output modes, thematrixsubcommand, and the full CLI reference. - Configuration — shape the feature matrix from
Cargo.toml, including the precedence model, per-target and per-command overrides. - Targets & cross-compilation — check every combination on every target triple, and pick a build driver.
- Recipes — copy-paste configurations for common scenarios.
- Continuous integration — fan the matrix out across GitHub Actions jobs.
- FAQ & troubleshooting — answers to common questions.
The CLI is the supported interface. The Rust API exists for the project’s own binaries and integration tests and carries no stability guarantees.