# cargo-udeps を Homebrew, apk, Nix, pacman でインストール

cargo-udeps のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cargo-udeps
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cargo-udeps
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cargo-udeps
```

  証拠: Alpine Linux edge package indexes: cargo-udeps from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#cargo-udeps
```

  証拠: nixpkgs package indexes: pkgs/by-name/ca/cargo-udeps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cargo-udeps
```

  証拠: Arch Linux sync databases: cargo-udeps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:cargo-udeps
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cargo-udeps>
- **バージョン:** 0.1.61
- **ソース概要:** Find unused dependencies in Cargo.toml
- **ホームページ:** <https://github.com/est31/cargo-udeps>
- **リポジトリ:** <https://github.com/est31/cargo-udeps>
- **ライセンス:** Apache-2.0 OR MIT
- **ソースアーカイブ:** <https://github.com/est31/cargo-udeps/archive/refs/tags/v0.1.61.tar.gz>
- **最終更新:** 2026-06-22T14:02:58-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cargo-udeps (cli)
- cargo-udeps (エイリアス)

## 依存関係

- libgit2
- libssh2
- openssl@3

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.1.61
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/est31/cargo-udeps
- 検出された最新: v0.1.61 (最新)
## プロジェクトの歴史と使われ方

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

### プロジェクトの歴史

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

### 採用の歴史

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.

### 使われ方

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

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://api.github.com/repos/est31/cargo-udeps>
- <https://github.com/est31/cargo-udeps>
- <https://docs.rs/crate/cargo-udeps/latest>
- <https://github.com/est31/cargo-udeps#readme>
- <https://crates.io/api/v1/crates/cargo-udeps>
- <https://formulae.brew.sh/api/formula/cargo-udeps.json>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: Cargo.toml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cargo-udeps
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - cargo-udeps: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cargo-udeps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - cargo-udeps - 0.1.61-r0: normalized package name match | Alpine Linux edge package indexes: cargo-udeps from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Find unused dependencies in Cargo.toml | https://github.com/est31/cargo-udeps
- apk - cargo-udeps-doc - 0.1.61-r0: normalized package name match | Alpine Linux edge package indexes: cargo-udeps-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Find unused dependencies in Cargo.toml (documentation) | https://github.com/est31/cargo-udeps
- pacman - cargo-udeps - 0.1.61-1: normalized package name match | Arch Linux sync databases: cargo-udeps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Find unused dependencies in Cargo.toml | https://github.com/est31/cargo-udeps


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@3](https://pkg.so/ja/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [libgit2](https://pkg.so/ja/brew/libgit2/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [cargo-shear](https://pkg.so/ja/brew/cargo-shear/) - Shares pkgdb curated category or tags: cargo-plugin, cli, dependency-analysis, developer-tools, rust.
- [pipdeptree](https://pkg.so/ja/brew/pipdeptree/) - Shares pkgdb curated category or tags: cli, dependency-analysis, developer-tools.
- [cargo-about](https://pkg.so/ja/brew/cargo-about/) - Shares pkgdb curated category or tags: cargo-plugin, cli, dependency-analysis, developer-tools, rust.
- [cargo-binstall](https://pkg.so/ja/brew/cargo-binstall/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-c](https://pkg.so/ja/brew/cargo-c/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-nextest](https://pkg.so/ja/brew/cargo-nextest/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-edit](https://pkg.so/ja/brew/cargo-edit/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-update](https://pkg.so/ja/brew/cargo-update/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-udeps](https://pkg.so/ja/cargo/cargo-udeps/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/cargo-udeps.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cargo-udeps.yml)


## ソース

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