Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --group-features option #82

Merged
merged 1 commit into from
Oct 24, 2020
Merged

Add --group-features option #82

merged 1 commit into from
Oct 24, 2020

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Oct 24, 2020

Closes #80

--group-features <FEATURES>...
    Space-separated list of features to group.

    To specify multiple groups, use this option multiple times: `--group-features a,b --group-features c,d`

    This flag can only be used together with --feature-powerset flag.
$ cargo hack check --feature-powerset --group-features a,b
info: running `cargo check --no-default-features` on crate1 (1/5)
...
info: running `cargo check --no-default-features --features c` on crate1 (2/5)
...
info: running `cargo check --no-default-features --features a,b` on crate1 (3/5)
...
info: running `cargo check --no-default-features --features c,a,b` on crate1 (4/5)
...
info: running `cargo check --no-default-features --all-features` on crate1 (5/5)
...

@taiki-e taiki-e added C-enhancement Category: A new feature or an improvement for an existing one A-features Area: features (--feature-powerset, --each-feature, etc.) labels Oct 24, 2020
@taiki-e taiki-e force-pushed the group-features branch 3 times, most recently from 51588a3 to fefc08a Compare October 24, 2020 08:57
@taiki-e
Copy link
Owner Author

taiki-e commented Oct 24, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 24, 2020

Build succeeded:

@bors bors bot merged commit 96a1c36 into master Oct 24, 2020
@bors bors bot deleted the group-features branch October 24, 2020 09:03
@jhpratt
Copy link
Contributor

jhpratt commented Oct 24, 2020

Amazing speed! Thank you!

@taiki-e
Copy link
Owner Author

taiki-e commented Oct 24, 2020

Published in 0.4.1.

@taiki-e taiki-e removed the C-enhancement Category: A new feature or an improvement for an existing one label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-features Area: features (--feature-powerset, --each-feature, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to group multiple features for the powerset
2 participants