| What it is | A GitHub Action that implements smart caching for rust/cargo projects with sensible defaults. | A shared cache for Cargo builds | Cache dependencies and build outputs in GitHub Actions | Shared compilation cache for C, C++, Rust and CUDA, stored locally or in the cloud |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.51 | 0.67 | 0.47 | 0.73 |
| Stars | 1967 | 770 | 5606 | 7932 |
| Last commit | 2026-11-14 | 2026-11-14 | 2026-07-15 | 2026-11-14 |
| Licence | LGPL-3.0 | MIT | MIT | Apache-2.0 |
| Pricing | Free and open source | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | Yes | Yes | — | Yes |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | No | — | — | No |
| Plugins | No | — | — | No |
| MCP server | No | — | — | No |
| Company | — | — | GitHub acquired by Microsoft (2018) | Mozilla |
| Features | - caches registry, git deps and target dir
- automatic cache keys from rustc version and lockfiles
- shared-key and prefix-key
- cache pruning
| - reuse across worktrees
- managed target dirs with budgets and GC
- shared CPU/memory permits across parallel builds
- in-flight compile dedupe
- private incremental state for edited crates
- GitHub Actions cache, cache server or S3 backends
- writes only from protected branches
- cache-aware build display (cargo-pretty)
- All 12 features
| - save and restore paths under a key built from contexts and hashFiles
- restore-keys prefix matching to fall back to the nearest older cache
- actions/cache/restore and actions/cache/save sub-actions to restore or save on their own
- lookup-only checks whether an entry exists without downloading it
- cache-hit output to skip steps on an exact key match
- fail-on-cache-miss stops the job when no entry matches
- enableCrossOsArchive lets Windows runners share caches with other operating systems
- a save denied by a read-only cache token warns instead of failing the job
- All 9 features
| - local disk cache
- S3/R2/GCS/Azure/Redis/Memcached/WebDAV backends
- GitHub Actions cache backend
- multi-level cache
- icecream-style distributed compilation
- Rust, C/C++, CUDA support
|
| Limitations | | | - Can't update a cache entry once it's saved: a key is immutable, so new contents need a new key
- Doesn't keep entries that go unused: GitHub removes any not accessed in 7 days, and evicts the least recently used once a repository passes its limit (10 GB by default)
- Doesn't share caches with sibling or child branches or other tags: a run restores only its own branch's, the default branch's and a pull request's base branch's
- Doesn't let other branches restore a pull request run's caches: they're scoped to its merge ref, so only re-runs of that pull request can
| |