Skip to content

Allow to get both JSON output from Cargo and human output from rust #3855

@matklad

Description

@matklad

This definitely has come up before, but I've failed to find an issue, so I am creating one.

The use case in IntelliJ is this: when building package before launching debugger, we need --message-format=json to get paths to the artifacts. At the same time, we need to show usual Cargo/Rustc output to the user.


In IntelliJ, the easy workaround would be just to launch cargo twice: once for human output, and once for JSON. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-console-outputArea: Terminal output, colors, progress bar, etc.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions