Ross ROSS = Recommend OSS · open-source software intelligence for agents

bnjbvr/cargo-machete

Remove unused Rust dependencies with this one weird trick! observed · 2026-08-28

github.com/bnjbvr/cargo-machete · Rust · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

83/100

  • Activity 97
  • Release rhythm 55
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 161.0
  • age_days: 1774
  • days_rel: 140
  • days_push: 23
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1356 stars · 54 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

cargo-machete is a Cargo subcommand that quickly detects unused dependencies in Rust projects by scanning source code for dependency names. It is fast but imprecise, with configuration options to ignore false positives and a CI-friendly exit code.

Use cases

  • find unused dependencies in a rust project
  • clean up cargo.toml dependencies
  • check for unused crates in ci
  • detect dependencies that are no longer imported
  • reduce compile time by removing unused deps

When to choose

  • you want a fast, dependency-free scan of unused Rust dependencies
  • you want a simple CI check via exit codes
  • you maintain many Rust crates and want quick hygiene checks

When to avoid

  • you need fully accurate analysis including build.rs-generated code without extra flags
  • you need cross-language dependency analysis
  • you cannot tolerate possible false positives without configuration

Facets

cli-tool · maturity active

developer-tools dependency-audit cli build-tool developer-tools programming-languages cli rust cross-platform cargo-subcommand unused-dependencies rust linting ci-friendly command-line

2 sources

Member repositories

RepositoryRoleHealth v2
bnjbvr/cargo-machetemain83

For agents

markdown · JSON · MCP: product_card(name="bnjbvr/cargo-machete")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem