cargo-all-features icon indicating copy to clipboard operation
cargo-all-features copied to clipboard

A Cargo subcommand to build and test all feature flag combinations.

Results 33 cargo-all-features issues
Sort by recently updated
recently updated
newest added

Definitely not finished, but just wanna show my intent and get some feedback on the way. ### Followup (16.4.2022): It's kind of a big PR 😅 but it's not all...

Sometimes, doc tests with the `no_run` directive still get executed. This causes problematic examples (which don't work), to be run and fail the test.

For rust wasm projects we use [wasm-pack](https://github.com/rustwasm/wasm-pack) to build and run unit tests. Common commands including: ``` wasm-pack build wasm-pack test ``` Is it possible to run `wasm-pack` commands with...

Since Rust 1.60, it is possible to add an optional dependency without adding a feature of the same name ([documentation](https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies)). However, `cargo-all-features` expects these features to exist. Reproduction: ```toml #...

It seems like `cargo test-all-features --workspace` tests the whole workspace for any combination of features. I'd like to test each crate in the workspace for any combination of its own...

Would it be possible to have an integration with[cargo udeps](https://github.com/est31/cargo-udeps)? The goal would be to know if you define any dependencies which aren't used and takup time to compile for...

This tool tends to fill up target directories really quickly. For large projects like ICU4X, this puts us in danger of hitting CI size limits. Furthermore, it just takes pretty...

Add a new binary `cargo-all-features` that takes a single parameter `test`, `check`, or `build`. Have the old binaries run the new binary in a separate process and then emit a...

In crates where I'm supporting older Rust versions, it's frequently the case that some of the features will only work on more recent Rust. So in order to use `cargo...

enhancement
help wanted

As I'm reading the documentation, only `build-all-features` and `test-all-features` are available. But it might be useful to support other commands too (I'm thinking of `clippy` but there might be others)....

enhancement
help wanted