cargo-sweep
A cargo subcommand for cleaning up unused build files generated by Cargo (by holmgr)
squatternaut
A snapshot of name squatting on crates.io (by dtolnay)
cargo-sweep | squatternaut | |
---|---|---|
9 | 2 | |
680 | 74 | |
- | - | |
6.6 | 5.8 | |
about 2 months ago | about 1 month ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cargo-sweep
Posts with mentions or reviews of cargo-sweep.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-08.
-
Target file are very huge and running out of storage on mac.
You can use cargo sweep or kondo to clean up unused files.
-
What are some useful tools for Rust?
cargo-sweep
-
crates.io now has more than 100,000 crates!
[1]: https://github.com/holmgr/cargo-sweep
-
Cargo Clean All - A cargo plugin to clean all your projects at once with filters
I use https://github.com/holmgr/cargo-sweep which can keep files from the current compiler version, but delete files from earlier compilers that won't ever be used again.
-
Announcing cargo-cleanall
How is this different from https://github.com/holmgr/cargo-sweep ?
-
Is this normal? Giant debug folder
I like https://github.com/holmgr/cargo-sweep to keep the size of /target from unbounded growth without fully losing the useful portion of the cache. It's the same outcome as Cargo clean after a reboot but I recently also started using a ramdisk with CARGO_TARGET_DIR. Much easier to do on Linux.
- Cargo clean for a number of projects
-
Blog Post: Fast Rust Builds
cargo-sweep can do this kind of garbage collection along a few axes - rustc version, file age, was or wasn't used during recent build. Works great on Linux. I've not gotten it working reliably for -s/-f on MacOS+APFS, but for the CI use case it should be a nice improvement.
-
STOP DOING RUST
holmgr is a god and cargo-sweep is a godsend
squatternaut
Posts with mentions or reviews of squatternaut.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-01.
-
We've discussed the name squatting situation in our team meetings over the past weeks and concluded that it might be time for a crates.io policy update
Yes. https://github.com/dtolnay/squatternaut/commit/493c217992dee88ff7cc0f8269be36bd3b427c9f
-
crates.io now has more than 100,000 crates!
At least 12,100 of those are just squatted crate names. See https://github.com/dtolnay/squatternaut. My estimate is 20,000+ with a slightly looser definition.
What are some alternatives?
When comparing cargo-sweep and squatternaut you can also consider the following projects:
cargo-chef - A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.
miniserve - 🌟 For when you really just want to serve some files over HTTP right now!
rules_rust - Rust rules for Bazel
crates.io - The Rust package registry
cargo-clean-all
kondo - Cleans dependencies and build artifacts from your projects.
cargo-hack - Cargo subcommand to provide various options useful for testing and continuous integration.
proc-macro2
mold - Mold: A Modern Linker ðŸ¦
Cargo - The Rust package manager
fd - A simple, fast and user-friendly alternative to 'find'
dust - A more intuitive version of du in rust