macOS
brew install cargo-shearlocal Homebrew formula metadata
brew / Rang 4460
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-shear in AI-Agent-Workflows.
Installation
brew install cargo-shearlocal Homebrew formula metadata
nix profile install nixpkgs#cargo-shearnixpkgs package indexes · pkgs/by-name/ca/cargo-shear/package.nix · Quelle: api.github.com
winget install --id Boshen.cargo-shear -eWindows Package Manager source index · Boshen.cargo-shear · Quelle: cdn.winget.microsoft.com
Überblick
Detect and remove unused dependencies from Cargo.toml in Rust projects
Verlauf
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.
Sicherheitslage
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.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
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.
Config paths the tool may read or write during local use.
Cargo.tomlExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
cargo-shear | Executable | indexiertes Executable | Aus dem lokalen Executable-Index erkannt. |
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.
Installationsmetadaten
| Paketschlüssel | brew:cargo-shear |
|---|---|
| Version | 1.13.3 |
| Paketmanager | Homebrew |
| Homepage | https://github.com/Boshen/cargo-shear |
| Repository | https://github.com/Boshen/cargo-shear |
| Zuletzt aktualisiert | 2026-07-25T12:28:27Z |
| Pulse | updated |
| Bottle | nicht erfasst |
| Dienst | keiner deklariert |
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
cargo-shear
nix profile install nixpkgs#cargo-shearBoshen.cargo-shear
winget install --id Boshen.cargo-shear -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.