-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed as not planned
Labels
A-cargo-apiArea: cargo-the-library API and internal code issuesArea: cargo-the-library API and internal code issuesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-team-inputStatus: Needs input from team on whether/how to proceed.Status: Needs input from team on whether/how to proceed.
Description
Currently building a subcommand, would be nice to be able to link in small libraries for things that subcommand authors will want to mirror from cargo's core commands. In this case I needed to link cargo in for cargo::util::important_paths::find_project_manifest to make sure my behavior matches what cargo does, even if cargo changes the behavior over time. Which adds a ton of time to my cold builds because cargo is large and has lots of deps.
I imagine there are likely other utilities that will make more sense as separate modules too, which is why I made the issue a bit more generic.
Metadata
Metadata
Assignees
Labels
A-cargo-apiArea: cargo-the-library API and internal code issuesArea: cargo-the-library API and internal code issuesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-team-inputStatus: Needs input from team on whether/how to proceed.Status: Needs input from team on whether/how to proceed.