pkg.soopen package index

brew / 順位 4466

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 を使えるよう、パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

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

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-shearcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-08-04
マネージャ版1.13.3
マネージャ更新日2026-07-25
ローカルデータOK
上流最新
検出された最新v1.13.3

https://github.com/Boshen/cargo-shear

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cargo-shear
バージョン1.13.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cargo-shear
ホームページhttps://github.com/Boshen/cargo-shear
リポジトリhttps://github.com/Boshen/cargo-shear
ライセンスMIT
ソースアーカイブhttps://github.com/Boshen/cargo-shear/archive/refs/tags/v1.13.3.tar.gz
最終更新2026-07-25T12:28:27Z
Pulseupdated
ビルド依存関係rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation