cargo-shear

Detect and remove unused dependencies from Cargo.toml

MIT License

Downloads
74.1K
Stars
79

Bot releases are visible (Hide)

cargo-shear - v1.1.3

Published by Boshen about 1 month ago

Fixed

  • search for tokens in Verbatim which are not interpreted by syn. (#87)

Other

  • (renovate) bump versions
  • (deps) update rust crates (#86)
  • (deps) update rust crates (#84)
  • (deps) update dependency rust to v1.81.0 (#83)
  • (deps) update dependency rust to v1.80.1 (#82)
  • Update README.md
  • Add trophy cases for reqsign (#80)
  • (deps) update rust crates (#79)
  • (README) mention rustc and clippy
cargo-shear - v1.1.2 Latest Release

Published by Boshen 2 months ago

Other

  • Add package filtering options (#75)
  • (deps) update rust crates (#74)
  • (deps) update rust crates (#73)
  • (deps) update rust crate serde_json to v1.0.121 (#72)
  • (deps) update rust crates (#70)
cargo-shear - v1.1.1

Published by Boshen 3 months ago

Other

  • (deps) update dependency rust to v1.80.0 (#69)
cargo-shear - v1.1.0

Published by Boshen 4 months ago

Added

  • inherit package level ignore from workspace level ignore (#64)
cargo-shear - v1.0.1

Published by Boshen 4 months ago

Other

  • macos-12
cargo-shear - v1.0.0

Published by Boshen 4 months ago

Release v1.0.0.

Consider cargo-shear as stable after using for a few months so we pin version in CI and introduce breaking changes in the future.

cargo-shear - v0.0.26

Published by Boshen 5 months ago

Added

  • exit code is 0 when performing fix (#52)
cargo-shear - v0.0.25

Published by Boshen 6 months ago

Other

  • (deps) update dependency rust to v1.78.0 (#40)
  • (renovate) add rust-toolchain
  • (deps) update rust crate cargo-util-schemas to 0.3.0 (#39)
  • (deps) update rust crates (#38)
  • (deps) update rust crate bpaf to 0.9.12 (#37)
  • (deps) update rust crate cargo_toml to 0.20.2 (#36)
  • (deps) update rust crate cargo_toml to 0.20.1 (#35)
  • (deps) update rust crates (#34)
  • (deps) update rust crate toml_edit to 0.22.11 (#33)
  • (deps) update rust crate toml_edit to 0.22.10 (#32)
  • (deps) update rust crate serde_json to 1.0.116 (#31)
  • (deps) update rust crate anyhow to 1.0.82 (#30)
  • mention [workspace.metadata.cargo-shear]
cargo-shear - v0.0.24

Published by Boshen 7 months ago

Added

  • handle package rename in workspace dependencies
  • add ignore with [workspace.metadata.cargo-shear]

Other

  • space out printing
cargo-shear - v0.0.23

Published by Boshen 7 months ago

Fixed

  • collect import from all use declarations

Other

  • use [lints.clippy]
cargo-shear - v0.0.22

Published by Boshen 7 months ago

Fixed

  • rust v1.77.0 has a different package id representation
cargo-shear - v0.0.21

Published by Boshen 7 months ago

Other

  • fix github.ref read
cargo-shear - v0.0.20

Published by Boshen 7 months ago

Added

  • add --version

Other

  • simplify code around hashset union
  • analyze packages in sequence, make debugging easier
  • setup rust with moonrepo
cargo-shear - v0.0.19

Published by Boshen 7 months ago

Fixed

  • use --all-features to get all deps

Other

  • update README
cargo-shear - v0.0.18

Published by Boshen 7 months ago

Added

  • use cargo metadata module resolution to get module names instead of package names
  • add profile.release to Cargo.toml

Other

  • small tweaks
cargo-shear - v0.0.17

Published by Boshen 7 months ago

Fixed

  • ignored packages by package name instead of normalized name

Other

  • fix broken ci
  • make shear_package the more readable
  • minor tweak
  • add --no-deps to cargo metadata
  • add just ready
  • run shear on this repo
cargo-shear - v0.0.16

Published by Boshen 7 months ago

Added

  • better output messages

Other

  • update README about ignoring false positives
cargo-shear - v0.0.15

Published by Boshen 7 months ago

Other

  • fix release
cargo-shear - v0.0.14

Published by Boshen 7 months ago

Other

  • fix release-binaries
cargo-shear - v0.0.13

Published by Boshen 7 months ago

Fixed

  • binary release

Other

  • Rust v1.77.0