Skip to content

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