-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Enable All Except A Specific Feature From CLI #11467
Comments
Thank you for the report. I believe this is covered by #3126. People are brewing innovative ideas and syntaxes there. Any further discussion is suggested to happen in that thread. Closing now. Thanks again! |
#3126 refers to disabling features which isn't what I'm asking for, and has complex semantics being debated on the issue. I'm instead asking for a way to enable everything except a specific feature, i.e. purely additive not subtractive, and purely constrained to the CLI? |
There are more comments talking about |
Fair enough, I guess I just hoped that by reducing the scope to something small and uncontroversial we could get something in, as opposed to waiting on something that has been being discussed for 6 years now... Perfect is the enemy of good and all that |
Problem
Within the arrow repository we have a workspace with a moderate number of library crates, each with their own features. In CI we would like to enable all features to ensure we run all the tests, unfortunately one of the features "simd" is only available on nightly compilers.
This leads to an error prone approach of having to list every feature apart from the one that can't be run on stable
It is not uncommon to accidentally miss a feature out from this list, especially as this has to be duplicated not only for
cargo test
but also the variouscargo check
andcargo clippy
commands.Proposed Solution
I would like to be able to use something like
Which would enable all features except those listed
Notes
No response
The text was updated successfully, but these errors were encountered: