Automic VaultAutomic Vault

brew

Install cargo-udeps with Homebrew, apk, Nix, pacman

Find unused dependencies in Cargo.toml. Version 0.1.61 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cargo-udeps

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add cargo-udeps

Alpine Linux edge package indexes · cargo-udeps · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#cargo-udeps

nixpkgs package indexes · pkgs/by-name/ca/cargo-udeps/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S cargo-udeps

Arch Linux sync databases · cargo-udeps · source: geo.mirror.pkgbuild.com

overview

Package summary

Find unused dependencies in Cargo.toml

Commands and aliases

  • cargo-udeps

history

Project history and usage

cargo-udeps is a Cargo subcommand for finding unused dependencies declared in Cargo.toml.

Project history

The official README says cargo-udeps finds unused dependencies in Cargo.toml and needs Rust nightly to run, while compiling on stable.

Adoption history

GitHub records the repository as created in August 2019, and crates.io records the first release shortly after. The README lists Nix/NixOS, Arch Linux, and Homebrew packages; the input package facts also list Alpine.

How it is used

The README documents `cargo +nightly udeps`, package and workspace Cargo.toml metadata for ignore lists, and pre-commit hook usage.

Why package nerds care

cargo-udeps is useful to maintainers because unused dependencies affect build time, dependency graphs, packaging policy, and audit surface; its README trophy case records real projects where unused dependencies were removed.

Timeline

  • 2019: GitHub repository created and first crates.io release recorded.
  • 2026: crates.io records max_version 0.1.61.

Related projects

  • The README links deps.rs status and lists downstream projects where cargo-udeps found unused dependencies.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
Cargo.toml

executables

Installed executables

CommandKindExposureNote
cargo-udepscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.1.61
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv0.1.61

https://github.com/est31/cargo-udeps

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cargo-udeps
Version0.1.61
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cargo-udeps
Homepagehttps://github.com/est31/cargo-udeps
Repositoryhttps://github.com/est31/cargo-udeps
Upstream docshttps://docs.rs/crate/cargo-udeps/latest
LicenseApache-2.0 OR MIT
Source archivehttps://github.com/est31/cargo-udeps/archive/refs/tags/v0.1.61.tar.gz
Last updated2026-06-22T14:02:58-07:00
Pulseupdated
Dependencieslibgit2, libssh2, openssl@3
Build dependenciespkgconf, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-udeps
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

cargo-udeps

nix profile install nixpkgs#cargo-udeps
  • normalized package name match
  • Matched by: Cargo Udeps
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-udeps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-udeps 0.1.60-r0

Find unused dependencies in Cargo.toml

https://github.com/est31/cargo-udeps

sudo apk add cargo-udeps
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: cargo-udeps
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cargo Udeps
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-udeps from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

cargo-udeps-doc 0.1.60-r0

Find unused dependencies in Cargo.toml (documentation)

https://github.com/est31/cargo-udeps

sudo apk add cargo-udeps-doc
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: cargo-udeps
  • normalized package name match
  • Matched by: Cargo Udeps
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-udeps-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

cargo-udeps 0.1.61-1

Find unused dependencies in Cargo.toml

https://github.com/est31/cargo-udeps

sudo pacman -S cargo-udeps
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • 13 dependencies
  • normalized package name match
  • Matched by: Cargo Udeps
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-udeps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment