Support glob patterns for crate arguments to --package and --exclude flags #8582
Labels
A-cargo-targets
Area: selection and definition of targets (lib, bins, examples, tests, benches)
A-cli
Area: Command-line interface, option parsing, etc.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Describe the problem you are trying to solve
In workspaces where there are many crates, I would like to only build/test the crates that share the "peepmatic-" name prefix. Or I would like to exclude all of the crates with the "wasmtime-" name prefix.
Describe the solution you'd like
Support glob-style
*
wildcards for the-p
/--package
and--exclude
flags when building in a workspace, likeNotes
Would help cut down on monstrosities like this:
We could collapse all those excludes into just
--exlude lightbeam --exclude peepmatic*
.The text was updated successfully, but these errors were encountered: