FICHA · MANJARO

cargo-udeps

Find unused dependencies in Cargo.toml

  • tool
  • CLI
  • BUILD-SYSTEM
  • MAINTENANCE
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 27, 2026 description in en

Description

Finds unused dependencies declared in Cargo.toml. It helps Rust maintainers remove crates that no longer appear to be needed, reducing build work and dependency surface.

Use it during dependency cleanup. Confirm findings manually because feature-gated code, build scripts, examples, or target-specific modules can hide real usage.

How to run

cargo udeps

Commands: cargo udeps

Permissions

Permissions not analysed for this source yet.