Cargo-all-features: Cargo subcommands that build and test all feature flag combinations for a crate

Been wanting this tool for a while, and finally found some time to make it! Here's what it looks like:

Feedback welcome!


This looks a lot like cargo hack's --feature-powerset flag.

small note: If you want to make sure that each feature compiles correctly, the current cargo leaks the feature flag specified in dev-deps to normal deps, so it may fail to compile when actually published and used from To work around this issue you need either use the unstable cargo feature (-Z features=dev_dep or -Z avoid-dev-deps) or temporarily remove dev-deps from the real cargo manifest (cargo-hack supports this via --no-dev-deps flag for stable rust).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.