Reference / Developer artifacts
Is it safe to delete ~/.cargo/registry on a Mac?
Safe to delete
It re-downloads on demand the next time it's needed.
~/.cargo/registry
What it is
Cargo package registry cache — repopulated on next build
If you delete it
Next cargo build redownloads crate index and dependencies
How to get it back
(automatic on next cargo build)Recovery time
about 2 minutes
Category
Developer artifacts
Don't guess — let diskspace check it live.
It pressure-tests the path against your live disk state and stages it reversibly, so you never lose anything you needed.
$ brew install tymrtn/diskspace/diskspace
$ diskspace explain ~/.cargo/registry # verdict + live pressure-test