# est31/cargo-udeps

Find unused dependencies in Cargo.toml

Repository: https://github.com/est31/cargo-udeps
Canonical: https://ross.abutalabs.com/products/cargo-udeps
Language: Rust
License: NOASSERTION
License Family: other
Last push: 2026-04-29T00:05:03+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 79, release rhythm 69, longevity 100
- inputs: {"age_days": 2564, "days_push": 127, "days_rel": 127, "gap_med": 42.5, "n_releases_24m": 9}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2129, forks 53 (observed 2026-08-28T04:06:17.038194+00:00)

## What it is
cargo-udeps is a Cargo subcommand that detects unused dependencies declared in a Rust project's Cargo.toml. It requires Rust nightly to run and can be used in CI or as a pre-commit hook.

## Use cases
- find unused dependencies in Cargo.toml
- detect unused crates in a Rust project
- clean up Cargo.toml dependencies
- check for unused dependencies in CI
- run dependency audit as a pre-commit hook
- ignore specific dependencies from unused checks

## When to choose
- you maintain a Rust project and want to remove dead dependencies
- you want automated unused-dependency checks in CI or pre-commit
- you work with Cargo workspaces and want workspace-wide checks

## When to avoid
- you cannot use Rust nightly toolchain
- you need fully accurate detection (some unused crates are missed, e.g. those used by std or shared with dependency graphs)
- you need per-version crate handling (crates are only handled per name)

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, build-tool, dependency-audit, cli
- domain: developer-tools, version-control
- platform: windows, cli, rust
- tags: cargo, rust, unused-dependencies, linting, nightly, command-line, linux, macos

## Member repositories
- est31/cargo-udeps (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:17.038194+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:52:24.473058+00:00, confidence not recorded.
  - readme: https://github.com/est31/cargo-udeps (fetched 2026-08-28T04:06:17.038194+00:00, sha d6f9d745d2bc)
  - registry_crates: https://crates.io/api/v1/crates/cargo-udeps (fetched 2026-08-29T10:32:13.454250+00:00, sha c2532a09774f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
