Swatinem/rust-cache
A GitHub Action that implements smart caching for rust/cargo projects observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 79
- age_days: 2168
- days_rel: 27
- days_push: 9
- n_releases_24m: 10
Adoption not part of the score
1891 stars · 188 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A GitHub Action that provides smart caching for Rust/Cargo projects in CI workflows, caching the cargo registry, dependency builds, and workspace target directories with sensible defaults. It computes cache keys from the toolchain version, Cargo.lock, and configuration files to speed up Rust builds on GitHub Actions.
Use cases
- speed up rust builds in github actions
- cache cargo dependencies in ci
- avoid recompiling crates on every ci run
- cache cargo target directory across workflow runs
- reduce rust ci build times
- share cargo build cache between jobs
When to choose
- you build Rust or Cargo projects on GitHub Actions
- you want zero-config caching with sensible defaults
- you need cache keys that track toolchain and Cargo.lock changes
When to avoid
- you build Rust outside GitHub Actions
- you use GitLab CI or another CI system
- you need fine-grained per-crate incremental caching
Facets
plugin · maturity active
caching ci-cd build-tool developer-tools developer-tools cli cloud github-actions cargo rust ci-caching build-cache devops automation
1 source
- readme: https://github.com/Swatinem/rust-cache · fetched 2026-08-28 · 34618f0a59da
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Swatinem/rust-cache | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="Swatinem/rust-cache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem