holmgr / cargo-sweep

A cargo subcommand for cleaning up unused build files generated by Cargo
MIT License
693 stars 31 forks source link

Fix --installed, --maxsize, and --toolchains flags #55

Closed Lynnesbian closed 3 years ago

Lynnesbian commented 3 years ago

This resolves #54:

$ cargo run -- sweep -i
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/cargo-sweep sweep -i`
[INFO] Using all installed toolchains: ["stable-x86_64-unknown-linux-gnu", "beta-x86_64-unknown-linux-gnu", "nightly-2020-10-25-x86_64-unknown-linux-gnu", "nightly-x86_64-unknown-linux-gnu", "1.42.0-x86_64-unknown-linux-gnu", "1.43.0-x86_64-unknown-linux-gnu"]
[INFO] Cleaned 0.00 bytes
holmgr commented 3 years ago

Looks good, thanks!

phil-opp commented 3 years ago

@holmgr Could you create a new crates.io release with this fix please?