-
Notifications
You must be signed in to change notification settings - Fork 2.9k
List all crates that will be built by cargo build in JSON #16717
Copy link
Copy link
Closed as duplicate of#7754
Labels
C-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`Command-metadataS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
IIUC cargo metadata doesn't do feature unification, and can't tell you which crates will actually be built. cargo tree -e normal,build does do that, but it cannot output JSON.
practically parsing the output of cargo tree isn't that bad, but it would be nice if it can output JSON.
has been raised before: sfackler/cargo-tree#21
Proposed Solution
No response
Notes
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-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`Command-metadataS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Type
Fields
Give feedbackNo fields configured for issues without a type.