Skip to content
New issue

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

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

Already on GitHub? # to your account

Not possible to skip the empty feature set (?) #57

Open
JSorngard opened this issue Jan 25, 2025 · 0 comments
Open

Not possible to skip the empty feature set (?) #57

JSorngard opened this issue Jan 25, 2025 · 0 comments

Comments

@JSorngard
Copy link

JSorngard commented Jan 25, 2025

Thank you so much for the extremely useful project!

I have a project that has two features where at least one of them must be enabled. I would therefore like to skip the empty feature set when running cargo-all-features.

I would expect the Cargo.toml option

[package.metadata.cargo-all-features]
skip_feature_sets = [
    [],
]

to skip the empty feature set, but instead it skips all feature sets and makes cargo-all-features do nothing.
Would this be possible to change? Alternatively this is already supported and I am just missing something obvious. In that case I apologize, but would still love to hear how I might accomplish this!

@JSorngard JSorngard changed the title Not possible to skip the empty feature set Not possible to skip the empty feature set (?) Jan 25, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant