Expand description
Formats cargo clippy --message-format json output for GitHub Actions.
Read diagnostics from a BufRead stream, filter errors and warnings,
and write the result to a Write sink using one of the three Mode
variants.
use std::io;
use rust_rapport::{Mode, run};
run(Mode::GithubSummary, io::stdin().lock(), io::stdout().lock(), io::stderr().lock())?;Enums§
Functions§
- run
- Reads clippy JSON from
reader, formats according tomode, writes towriter.