Skip to main content

Module cargo_diagnostics

Module cargo_diagnostics 

Source
Expand description

Compact parsing and presentation for Cargo compiler diagnostics.

Structs§

BuildPhases
Separates Cargo output into its progress, diagnostic, and result sections.
DiagnosticSummary
Counts and grouped details extracted from rustc or Clippy output.

Functions§

fold_compile_progress
Collapses long contiguous Cargo progress runs while preserving other output.
format_summary
Formats a diagnostic summary as compact, human-readable output.
parse_and_summarize
Parses rustc and Clippy diagnostics into error messages and warning groups.
split_build_phases
Splits Cargo output into compile progress, diagnostics, and final result phases.