Add an option/variable to print progress bar in a machine-readable format #7587
Labels
A-console-output
Area: Terminal output, colors, progress bar, etc.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Uh oh!
There was an error while loading. Please reload this page.
Hi there!
Describe the problem you are trying to solve
I'm working on Build Tool Window support in IntelliJ Rust, and I need to parse build progress bar. In the current implementation, to get cargo to print progress bar, I use the pty4j library to emulate PTY, but
Describe the solution you'd like
I would like to have an option or environment variable so that cargo prints the progress bar to the console on a separate line without any
\r
,Erase in Line
-sequences, etc.p.s. - Ideally, I would like, when using a
--message-format=json...
, cargo would output all messages in JSON. Currently, only compiler messages are output in JSON.The text was updated successfully, but these errors were encountered: