cargo-shear

Boshen · Boshen.cargo-shear

Detect and fix issues in Rust projects

Detect and fix issues in Rust projects: - Unused dependencies in Cargo.toml - Misplaced dependencies (dev/build dependencies in wrong sections) - Unlinked source files (Rust files not reachable from any module tree)

winget install --id Boshen.cargo-shear --exact --source winget

Latest 1.13.1

Release Notes

πŸ› Bug Fixes

  • don't flag load-bearing workspace ignores as redundant (#524) (by @Boshen)

⚑ Performance

  • single preorder walk, track use-nesting instead of per-path ancestor scan (by @Boshen)
  • store crate-name imports as CompactString (#525) (by @Boshen)

Contributors

  • @Boshen
  • @renovate[bot]

Installer type: zip

Architecture Scope Download SHA256
x64 β€” Download 15C0854DC09BE8D851C56D685CC4007705D436F01045126BC4F544199CA366FF
arm64 β€” Download 542698F7ECDB3C7A03BF8EFE290F20E565A92C609FAE83FC920D14978D8FB2B9

Details

Homepage
https://github.com/Boshen/cargo-shear
License
MIT
Publisher
Boshen
Support
https://github.com/Boshen/cargo-shear/issues
Copyright
Copyright (c) 2026 Boshen
Moniker
cargo-shear

Tags

cargodependenciesrust

Older versions (3)

1.13.0
Architecture Scope Download SHA256
x64 β€” Download 14E366C4871CD2DE7605270490582D6DC9CEC796C007FC43D4A8F99F917E72A1
arm64 β€” Download AC8B77E4D3B1341E3DB0C146DDE36FBDB53D76A603872DAE17E5E533D437DE36
1.12.4
Architecture Scope Download SHA256
x64 β€” Download C021096CD03835C57A52D3D9CB38277306D8C18CE99A2B3804F0569E1EB0E42A
arm64 β€” Download 4CCBA73564363995765015AFE796DF6D45CFE1D16BEF2FED82C54BBCC88DB6A7
1.11.2
Architecture Scope Download SHA256
x64 β€” Download 6E7CE2A98BF75CFB63CF8C011384121201674BCB77171C593A5D9A26C482C44F
arm64 β€” Download 7369FEE1FA179F8FC76B7031CA45D92CEA7352C1950F977F74B41D4B54447EE2