Skip to content

Deleted "extra workspace member" functionality from crate_universe #1406

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

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

UebelAndre
Copy link
Collaborator

This functionality was originally needed to handle binary only crates (crates which do not have a library in the same package either implicitly or explicitly). "Extra workspace members" were crates downloaded and added as a workspace member so crate_universe could generate a dependency graph with that crate included.

However, given the recent implementation of #1381 and the existing example of //examples/crate_universe/cargo_remote, there's support and examples for this outside of needing to have the "extra workspace member" functionality built into crate_universe.

Instead of relying on this bespoke functionality, Cargo has recently added support for binary dependencies (rust-lang/cargo#9096). This functionality should provide a much better solution going forward.

@UebelAndre UebelAndre requested a review from illicitonion June 11, 2022 16:48
@UebelAndre UebelAndre marked this pull request as draft June 11, 2022 16:49
@UebelAndre UebelAndre force-pushed the no-extra-workspace-member branch 3 times, most recently from 4195847 to 97c7d4f Compare June 11, 2022 21:57
@UebelAndre UebelAndre marked this pull request as ready for review June 12, 2022 16:34
@UebelAndre UebelAndre force-pushed the no-extra-workspace-member branch from 97c7d4f to e529abe Compare June 13, 2022 12:03
@UebelAndre UebelAndre merged commit a15e67d into bazelbuild:main Jun 13, 2022
@UebelAndre UebelAndre deleted the no-extra-workspace-member branch June 13, 2022 12:43
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.

2 participants