rustbot · GitHub

@0xPoe

@0xPoe

0xPoe marked this pull request as ready for review

June 23, 2026 21:34

@0xPoe 0xPoe changed the title NOT READY FOR REVIEW: feat(toml): allow overriding inherited default-features in 2024 feat(toml): allow overriding inherited default-features in 2024

Jun 23, 2026

0xPoe

@0xPoe

0xPoe marked this pull request as draft

June 23, 2026 22:02

@0xPoe 0xPoe changed the title feat(toml): allow overriding inherited default-features in 2024 WIP: feat(toml): allow overriding inherited default-features in 2024

Jun 23, 2026

@0xPoe

@0xPoe

0xPoe marked this pull request as ready for review

June 24, 2026 22:11

@0xPoe 0xPoe changed the title WIP: feat(toml): allow overriding inherited default-features in 2024 feat(toml): allow overriding inherited default-features in 2024

Jun 24, 2026

@0xPoe

0xPoe

@0xPoe

epage

epage

@0xPoe

@epage

@github-merge-queue

Impl RFC 3945, on Edition 2024+ allow workspace members
to override the workspace dependency's `default-features` setting.
Earlier editions are unchanged: setting `default-features` on an
inherited dependency is still ignored with a warning.
Signed-off-by: 0xPoe <techregister@pm.me>
Signed-off-by: 0xPoe <techregister@pm.me>
`cargo add --no-default-features` (or `--default-features`) against a
dependency inherited from `[workspace.dependencies]` is now allowed when
the package is on Edition 2024+, matching the manifest behavior. Earlier
editions still error, pointing the user to the workspace manifest.
Signed-off-by: 0xPoe <techregister@pm.me>
Signed-off-by: 0xPoe <techregister@pm.me>
Signed-off-by: 0xPoe <techregister@pm.me>
Signed-off-by: 0xPoe <techregister@pm.me>
Signed-off-by: 0xPoe <techregister@pm.me>

@0xPoe

@0xPoe

@0xPoe

Merged via the queue into rust-lang:master with commit 8f92105

Aug 7, 2026

31 checks passed

@0xPoe

0xPoe deleted the poe-patch-inherit-default-features branch

August 7, 2026 21:37

Merged

rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request

Aug 8, 2026

pull Bot pushed a commit to LeeeeeeM/miri that referenced this pull request

Aug 9, 2026

@0xPoe 0xPoe mentioned this pull request

Aug 10, 2026

Merged

Read the original on github.com ↗