You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kkocdko opened this issue
Aug 17, 2022
· 2 comments
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`
Currently, cargo build's output includes dependencies:
< many many messages that fill my terminal >
Compiling hyper v0.14.20
Compiling hyper-rustls v0.23.0
Compiling axum v0.5.15
Building [=======================> ] 177/180: axum, ksite
I'm modifying a crate which depended by many dependencies, every time cargo build will put many many messages into my terminal, this prevent me to browse previous error message or my app's output.
Yeah I can use --quiet, but waiting without progress is quite anxiety. IMO maybe this will be fine:
Building [=======================> ] 177/180: axum, ksite
Only one line, indicate the progress.
There is already a --message-format=short switch but it seems do the same with human format:
MessageFormat::Short seems useless now, could we let it display progress only?
Or, add a new MessageFormat::Progress to do this?
Notes
( If cargo refused to add this, maybe I wlll create a sub command...
The text was updated successfully, but these errors were encountered:
kkocdko
added
the
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
label
Aug 17, 2022
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`
Problem
Currently,
cargo build
's output includes dependencies:I'm modifying a crate which depended by many dependencies, every time
cargo build
will put many many messages into my terminal, this prevent me to browse previous error message or my app's output.Yeah I can use
--quiet
, but waiting without progress is quite anxiety. IMO maybe this will be fine:Only one line, indicate the progress.
There is already a
--message-format=short
switch but it seems do the same withhuman
format:cargo/src/cargo/core/compiler/mod.rs
Lines 1399 to 1402 in 3b4df5a
Proposed Solution
MessageFormat::Short
seems useless now, could we let it display progress only?Or, add a new
MessageFormat::Progress
to do this?Notes
( If cargo refused to add this, maybe I wlll create a sub command...
The text was updated successfully, but these errors were encountered: