Skip to content

Releases: holmgr/cargo-sweep

v0.7.0

05 Oct 18:13
Compare
Choose a tag to compare

Thanks to everyone who contributed to this release!

Changed

  • Support multiple projects as input via CLI #101
  • Make -r/--recursive traverse beyond Cargo directories #78
  • Add long --verbose and --recursive flags #73
  • Display the total cleaned amount when sweeping multiple projects #45
  • No longer give a hard error when a custom toolchain gives an error #67
  • Allow --maxsize to accept byte-unit sizes #114
  • Reduce non-verbose output to make it less noisy #81
  • Refactor and add -m as a short flag for --maxsize #87
  • Only show toolchain list once when using --installed #88
  • Add a TRACE log level enabled by two --verbose flags #113
  • Tell user when --recursive is busy traversing directories #120
  • Don't print colors when stdout is not a terminal #69

Fixed

  • When rustc fails, show stderr if stdout is empty #63
  • Fix invisible output in white-themed terminals #103
  • Fix --toolchains not validating the provided toolchains #115
  • Exit with non-zero status on failure #72
  • Keep stamp file on dry run #100
  • Kibibytes are now printed as KiB, not kiB #69

v0.6.2

25 May 10:56
Compare
Choose a tag to compare

Fixes issues with Installed, maxsize, and toolchains flags, thanks @Lynnesbian

v0.6.0

20 May 19:19
Compare
Choose a tag to compare

Various improvements including system clock drift handling, thanks @regexident
Fixing parsing issues related to ordering of flags, thanks @djdv
Various improvements including fixing incorrect help text, thanks @sourcefrog
Handling on non-dustup environments, thanks @CreepySkeleton
Various fixes including removing incorrect number of decimal places in number of bytes cleaned, thanks @mdboom

v0.5.0

24 Jan 16:27
Compare
Choose a tag to compare
  • Fix errors caused by attempting to clean directories which are no longer produced in newer rustc versions (1.37+), thanks @coolreader18
  • Update dependencies, thanks @LukasKalbertodt and @lzutao

v0.4.1

05 Feb 15:34
c2dc9da
Compare
Choose a tag to compare
  • Hopefully resolves the Appveyor issues of publishing binaries automatically
  • Outputs correct tool version (same as crate version), thanks to @quake!

0.4.0

23 Jan 15:54
Compare
Choose a tag to compare
  • Use Cargos fingerprint data to trim to only install rust versions #16
  • Clean up how the recessive flag works #17
  • Fix publishing of binaries using appveryor #18
  • Enable Rust 2018 edition #19
  • Add new command line argument maxsize #20

Big thanks to @Eh2406 for all the contributions, also a shoutout to @quake for his fix

0.3.0

07 Dec 07:44
Compare
Choose a tag to compare
  • Deprecate -s and -f flags due to #2 and #11, will be replaced once build-plan is stabilized.
  • Output the amount of disk space saved (or will be saved) when running the tool.
  • Improve logging output when not using the verbose flag.
  • Improve README overall.