pkg.soopen package index

brew / 順位 4460

cargo-shear を Homebrew, Nix, winget でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install cargo-shear

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#cargo-shear

nixpkgs package indexes · pkgs/by-name/ca/cargo-shear/package.nix · ソース: api.github.com

Windows

Windows Package Manager確認済み · 92%
winget install --id Boshen.cargo-shear -e

Windows Package Manager source index · Boshen.cargo-shear · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Detect and remove unused dependencies from Cargo.toml in Rust projects

コマンドとエイリアス

  • cargo-shear

履歴

プロジェクトの歴史と使われ方

cargo-shear is a Rust Cargo subcommand for detecting and optionally fixing unused or misplaced dependencies and unlinked source files.

プロジェクトの歴史

The GitHub repository was created in March 2024 and the first crates.io release appeared the next day. The README describes the tool as feature-complete, with ongoing work focused on bug fixes, dependency upgrades, and UI/UX improvements.

採用の歴史

Despite being newer than the other tools in this batch, crates.io metadata showed many releases by 2026 and package facts list Homebrew, Nix, and winget packages. The README includes CI examples and machine-readable JSON output for automation.

使われ方

Users run cargo shear to check for issues, cargo shear --fix to remove unused dependencies, --deny-warnings for strict CI, --format=json for structured output, and --expand with nightly when macro expansion is needed.

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

It is part of the Rust ecosystem's dependency-hygiene tooling, sitting near cargo-udeps and cargo-machete but using rust-analyzer parsing and Cargo metadata to find unused dependencies without compiling in the default mode.

タイムライン

  • 2024: Repository created and first crates.io release published.
  • 2026: README described the tool as feature-complete.
  • 2026: crates.io reported v1.13.1 as the latest release.

Related projects

  • README prior art names cargo-udeps, cargo-machete, Cargo, and Clippy.
  • README documents automatic handling for cargo-hakari workspace-hack crates.

セキュリティ状態

保護ツール対応はまだ見つかっていません

cargo-shear に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
cargo-shear実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版1.13.3
マネージャ更新日2026-07-25
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cargo-shear
バージョン1.13.3
パッケージマネージャHomebrew
ホームページhttps://github.com/Boshen/cargo-shear
リポジトリhttps://github.com/Boshen/cargo-shear
最終更新2026-07-25T12:28:27Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

cargo-shear

nix profile install nixpkgs#cargo-shear
  • normalized package name match
  • 一致条件: Cargo Shear
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-shear/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

Boshen.cargo-shear

winget install --id Boshen.cargo-shear -e
  • normalized package name match
  • 一致条件: Cargo Shear
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Boshen.cargo-shear from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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