4 releases
0.1.3 | Jul 18, 2022 |
---|---|
0.1.2 | Jul 17, 2022 |
0.1.1 | Jul 17, 2022 |
0.1.0 | Jul 17, 2022 |
#576 in Cargo plugins
13KB
271 lines
cargo-cleans
A cargo subcommand cleans all projects under a specified directory with high performance.
Installation
Install using cargo:
cargo install cargo-cleans
Usage
Clean all target directories under the current working directory.
cargo cleans
Clean all target directories under the directory [dir]
.
cargo cleans -r [dir]
Keep target directories that have a size(MB) of less than [filesize]
.
cargo cleans --keep-size [filesize(MB)]
Keep target directories younger than [days]
days.
cargo cleans --keep-days [days]
Compare with other
Use with tokio+actor concurrent search,the performance is 3-5 times that of others.
Dependencies
~8–16MB
~186K SLoC