Hide dependencies in build messages #11003
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`
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: