Skip to content

Releases: bnjbvr/cargo-machete

v0.8.0

24 Feb 20:13
Compare
Choose a tag to compare

What's Changed

  • readme: bump checkout action by @marcoieni in #142
  • chore: make clippy happy on nightly builds by @bnjbvr in #146
  • Update cargo_toml to 0.21, making it compatible with the resolver=3 option (fixes #144) by @AMDmi3 in #145
  • chore: bump dependencies by @bnjbvr in #147
  • chore: test ignored directories correctly by @bnjbvr in #149
  • fix: canonicalize relative paths when looking for the workspace manifest by @bnjbvr in #148
  • Build Docker image for both amd64 and arm64 by @popen2 in #151

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

26 Sep 12:08
Compare
Choose a tag to compare
  • Breaking change: Don't search in ignored files (those specified in .ignore/.gitignore) by default. It's possible to use --no-ignore to search in these directories by default (#137).
  • Improved: fix false positives for multi dependencies single use statements (#120). This improves precision at the cost of a small performance hit.
  • Improved: make usage of --with-metadata more accurate (#122, #132).
  • Improved: instead of displaying . for the current directory, cargo-machete will now display this directory (#109).
  • Added: There's now an automated docker image build that publishes to the github repository (#121).
  • Added: --ignore flag which make cargo-machete respect .ignore and .gitignore files when searching for files (#95).

v0.6.2

24 Mar 12:36
Compare
Choose a tag to compare

0.6.2 (released on 2024-03-24)

  • Added: shorter display when scanning the current directory (#109).
  • Fix: adapt to latest pkgid specification, so as not to crash with --with-metadata (#106).

v0.6.1

21 Feb 15:03
Compare
Choose a tag to compare

0.6.1 (released on 2024-02-21)

  • Chore: bump major dependencies, to fix parsing issues of Cargo.toml files (#101, #105).

v0.6.0

23 Sep 10:32
Compare
Choose a tag to compare

0.6.0 (released on 2023-09-23)

  • Breaking/improved: match against crate name case-insensitive (#69).
  • Added: Github action (#85). See README for documentation.
  • Added: support for ignored workspace dependencies (#57, #86). See README for documentation.
  • Added: --version switch to print the version (#66).
  • Fix: avoid searching for workspace Cargo.toml longer than needed (#84).
  • Chore: better documentation and reporting (#63, #72, #80).

v0.5.0

15 Nov 22:06
Compare
Choose a tag to compare

Changes

  • Breaking: Use argh for parsing. Now, paths of directories to scan must be passed in the last position, when running from the command line (#51).
  • Fix rare false positive and speed up most common case (#53).
  • Fix loading properties from workspace (#54).

v0.4.0

16 Oct 15:25
Compare
Choose a tag to compare

Changes

  • added --skip-target-dir CLI option to skip target/ directories that may contain crates, during analysis.
  • the output now indicates when it found unused dependencies, and in which requested path.
  • workspace properties and dependencies are now supported

v0.3.1

26 Sep 14:39
Compare
Choose a tag to compare

First version automatically built on CI!