Render crates into subpackages - #4093
Merged
Merged
Conversation
Collaborator
Author
|
For reviewers, this change should be reviewed commit-by-commit. |
UebelAndre
force-pushed
the
crate_universe_cleanup
branch
4 times, most recently
from
June 18, 2026 19:02
0cd8255 to
a39dd65
Compare
UebelAndre
marked this pull request as draft
June 19, 2026 00:01
UebelAndre
force-pushed
the
crate_universe_cleanup
branch
2 times, most recently
from
June 20, 2026 16:41
a800a19 to
f0e7a3d
Compare
Collaborator
Author
|
This change is being stacked on top of #4094 |
UebelAndre
force-pushed
the
crate_universe_cleanup
branch
5 times, most recently
from
June 24, 2026 01:27
f231924 to
349829e
Compare
UebelAndre
marked this pull request as ready for review
June 24, 2026 02:23
UebelAndre
force-pushed
the
crate_universe_cleanup
branch
from
June 24, 2026 02:54
349829e to
98217e0
Compare
Collaborator
Author
|
These changes are now stacked on top of #4098 |
UebelAndre
force-pushed
the
crate_universe_cleanup
branch
from
June 24, 2026 03:01
98217e0 to
25152fd
Compare
UebelAndre
force-pushed
the
crate_universe_cleanup
branch
from
June 24, 2026 05:25
25152fd to
b6f1a88
Compare
illicitonion
approved these changes
Jun 25, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently
crate_universerenders aliases into a single package for developers to consume. The issue with this design is that for projects with massive amounts of dependencies, Bazel parsing that BUILD file can be slow and have noticable impacts on analysis. This change updatescrate_universeto render aliases into sub-packages instead of a root BUILD file in the repo hubs. In practice this means dependencies that were once accessed via@crate_index//:clapare now accessed via@crate_index//clap. Currently both root level aliases are still rendered but can be disabled via the newincompatible_no_root_alias_targetsflag.