| Crates.io | cargo-deduplicate-warnings |
| lib.rs | cargo-deduplicate-warnings |
| version | 0.1.0 |
| created_at | 2024-02-13 01:06:53.60363+00 |
| updated_at | 2024-02-13 01:06:53.60363+00 |
| description | Deduplicate warning messages in the cargo json output |
| homepage | https://github.com/swlynch99/cargo-deduplicate-warnings |
| repository | https://github.com/swlynch99/cargo-deduplicate-warnings |
| max_upload_size | |
| id | 1137557 |
| size | 23,028 |
This crate is a binary which deduplicates warning messages in the json output of
cargo.
Normally, cargo does this for you when using its normal output. However, when
you have other tools that consume cargo's json output (e.g. clippy-sarif)
then the duplicate warnings show up downstream. This crate allows you to
avoid the issue by stripping them out.
cargo clippy --message-format json | cargo deduplicate-warnings | ...