Skip to content
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

infra: change how packages are opted out of workspaces #4083

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

chriskrycho
Copy link
Contributor

The trpl, mdbook-trpl-note, and mdbook-trpl-listing crates should never be part of a host workspace: neither in rust-lang/book nor in rust-lang/rust. They are always built as independent packages, so they do not end up depending implicitly on the host’s workspace dependencies.

Accordingly, opt out by setting an empty [workspace] key in each of the packages' Cargo.toml files so that they do not have to be configured in both places they might be used.

Helps unblock rust-lang/rust#131859

The `trpl`, `mdbook-trpl-note`, and `mdbook-trpl-listing` crates should
*never* be part of a host workspace: neither in `rust-lang/book` nor in
`rust-lang/rust`. They are always built as independent packages, so they
do not end up depending implicitly on the host’s workspace dependencies.

Accordingly, opt out by setting an empty `[workspace]` key in each of
the packages' `Cargo.toml` files so that they do not have to be
configured in both places they might be used.
@chriskrycho chriskrycho merged commit 7f1f98e into main Oct 25, 2024
6 checks passed
@chriskrycho chriskrycho deleted the fix-workspace-config branch October 25, 2024 23:14
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.

1 participant