-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Tracking Issue for JSON output format of cargo package --list #15353
Copy link
Copy link
Open
Labels
A-json-outputArea: JSON message outputArea: JSON message outputC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.Command-packageS-waiting-on-feedbackStatus: An implemented feature is waiting on community feedback for bugs or design concerns.Status: An implemented feature is waiting on community feedback for bugs or design concerns.
Metadata
Metadata
Assignees
Labels
A-json-outputArea: JSON message outputArea: JSON message outputC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.Command-packageS-waiting-on-feedbackStatus: An implemented feature is waiting on community feedback for bugs or design concerns.Status: An implemented feature is waiting on community feedback for bugs or design concerns.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
No status
Summary
Original issue: #11666
Implementation: #15311
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html##package-message-format
The
--message-formatflag incargo packagecontrols the output message format. The initial purpose of the flag is providing an alternative JSON output format for file listing of the--listflag.Unresolved Issues
--list jsonor--message-format json, see feat(package): add unstable--message-formatflag #15311 (comment)--message-formatflag #15311 (comment)plainorhuman, see feat(package): add unstable--message-formatflag #15311 (comment)--message-formatflag #15311 (comment)cargo package --listneeds this level of reproducibility.pathfield follow symlinks? There might be a use case needing to know if a packaged file was a symlink. This could also be future extension that the JSON provides more file metadata.Future Extensions
No response
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.