pkg.soopen package index

brew / Rang 4460

cargo-shear mit Homebrew, Nix, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-shear in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cargo-shear

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#cargo-shear

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

Windows

Windows Package Managerverifiziert · 92%
winget install --id Boshen.cargo-shear -e

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

Überblick

Paketzusammenfassung

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

Befehle und Aliase

  • cargo-shear

Verlauf

Projektgeschichte und Nutzung

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

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

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

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für cargo-shear wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • Es wurden keine Homebrew-Bottle-Metadaten erfasst.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Installierte Executables

BefehlArtSichtbarkeitHinweis
cargo-shearExecutableindexiertes ExecutableAus dem lokalen Executable-Index erkannt.

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-08-03
Manager-Version1.13.3
Manager aktualisiert2026-07-25
lokale Datenunbekannt
Upstreamnicht verfügbar
neueste erkannte Versionnicht erkannt
  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cargo-shear
Version1.13.3
PaketmanagerHomebrew
Homepagehttps://github.com/Boshen/cargo-shear
Repositoryhttps://github.com/Boshen/cargo-shear
Zuletzt aktualisiert2026-07-25T12:28:27Z
Pulseupdated
Bottlenicht erfasst
Dienstkeiner deklariert

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

cargo-shear

nix profile install nixpkgs#cargo-shear
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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