Skip to content

Allow override inherited default-features - #387

Merged
traviscross merged 2 commits into
rust-lang:masterfrom
0xPoe:poe-patch-allow-override
Aug 11, 2026
Merged

Allow override inherited default-features#387
traviscross merged 2 commits into
rust-lang:masterfrom
0xPoe:poe-patch-allow-override

Conversation

@0xPoe

@0xPoe 0xPoe commented Aug 10, 2026

Copy link
Copy Markdown
Member

After rust-lang/cargo#17126, we now allow overriding inherited default features. We need to update the document to mention this change.

I’m not sure whether users who migrate from the 2021 edition or earlier to the 2024 edition, especially 1.99+, will be surprised or confused by this behavior change. But as the standard workflow is to run cargo fix --edition first, users should notice this change and then decide which behavior they really want. So I hope this change won’t create more chaos here. We just need to clarify the behavior in the corresponding version correctly.

cc: @epage

Signed-off-by: 0xPoe <poe.liu@pm.me>
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting some action (such as code changes) from the PR author label Aug 10, 2026
@traviscross traviscross removed the S-waiting-on-review Status: The marked PR is awaiting some action (such as code changes) from the PR author label Aug 11, 2026
@traviscross
traviscross added this pull request to the merge queue Aug 11, 2026
@traviscross

Copy link
Copy Markdown
Contributor

Thanks @0xPoe.

Merged via the queue into rust-lang:master with commit f9e4d77 Aug 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants