Skip to content

Remove --all-features #15572

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jbteves-sandia
Copy link

What does this PR try to resolve?

Fixes #15571

How should we test and review this PR?

N/A

Additional information

N/A

Remove `--all-features`, an option which does not exist in the current `cargo add`.
@rustbot
Copy link
Collaborator

rustbot commented May 21, 2025

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 21, 2025
@@ -245,9 +245,6 @@ enabled:
`package-name/feature-name` syntax can be used to specify features for
specific workspace members.

* `--all-features`: Activates all features of all packages selected on the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple removal is not the right fix here. cargo build and other commands do have that flag.

https://doc.rust-lang.org/nightly/cargo/commands/cargo-build.html#option-cargo-build---all-features

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I missed that, sorry. I'm happy to close this PR or continue to work on it based on any discussions on this or the referenced issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specified flag --all-features does not exist
4 participants