-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Don't display "hidden" features in cargo add
#10794
Comments
I think the ideal is to hide them if they are not directly enabled. It should be possible to implement this at end of the preparation when we print the features. See cargo/src/cargo/ops/cargo_add/mod.rs Line 699 in 8827baa
|
We've talked about this at the cargo team meeting. We are reluctant to move forward with this for now; we'd like more time before committing to this. We'd like the decision to be more intentional than "copy what docs.rs did without the background for their decision", including
|
docs.rs treats
_
prefixed features as hidden.cargo add
should reflect that in reporting features to the user.The question is if we should unconditionally hide the features, hide them if disabled, or do the tracking to hide it unless its directly enabled.
The text was updated successfully, but these errors were encountered: