leostera/cargo-gc
CLI tool
Can I trust it?
Worth a closer look before you use it.
Warnings Check
Very new: it was created 5 days ago. Wait a little before installing it.
Stars from real accounts No data
We haven't checked its stars for fakes yet.
Active OK
Last change today.
Licence OK
MIT: you can use it for free, also in a commercial product. Keep the licence notice.
Quick checks from public data. They help, but they are no guarantee.
What it is
A cargo subcommand that wraps Cargo commands and removes build artifacts in ./target that later builds can no longer use, keeping target/ much smaller across commits without changing what gets rebuilt.
Who it's for
Rust developers and coding agents who build many commits or branches of Cargo projects and run out of disk space in target/
How to use it
Install
brew tap leostera/cargo-gc https://github.com/leostera/cargo-gcFrom its README. Check it there before running it.
Ask your AI to set it up
Paste this into Claude, ChatGPT or your coding assistant.
Help me install and set up leostera/cargo-gc in my project. Follow its README: https://github.com/leostera/cargo-gc. Explain each step and check it is safe before running anything.
Star curve
Alternatives
Similar projects named in its profile. Each link searches the directory.
Get alerts for repos like this
We'll email you when repos like this start rising. Free, once a week, only what matches.
What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy
For maintainers
Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.
[](https://repoalerts.com/repo/leostera/cargo-gc?ref=badge)Similar repos
- leostera/git-twig
A Git subcommand that creates lightweight linked worktrees using copy-on-write cloning on supported filesystems (APFS, Btrfs, reflink XFS), falling back to git worktree otherwise. Reports large disk s
- flowerornament/atlas
A read-only analyzer for Rust Cargo projects that answers questions about type definitions, dependencies between types and files, and changes between commits. It can check changes against architecture
- makepad/relax
A live compiler and JIT runtime for Rust that runs a Cargo package directly from source without rustc, LLVM or a linker. It compiles functions on first call, optimises hot code at runtime, and patches
- mattt/plonge
A Go command-line tool that finds developer caches such as node_modules, target and .venv directories, and shared package manager caches, then deletes them safely. Project caches are removed only when
- indexable-inc/blaze
A Rust compiler daemon built on rust-analyzer that rebuilds only changed functions with Cranelift, letting edits to a running program take effect without restarting it. Also provides a cargo ra-jit su
- herdrdev/herdr-core
A Rust command-line tool that runs programs and coding agents in persistent terminals that survive detaching. Agents can start child agents, send them work and receive replies, and users can attach to