LukeMathWalker/cargo-chef
A cargo-subcommand to speed up Rust Docker builds using Docker layer caching. observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 97
- Release rhythm 73
- 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: 94
- age_days: 2144
- days_rel: 21
- days_push: 21
- n_releases_24m: 10
Adoption not part of the score
2690 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cargo-chef is a cargo subcommand that speeds up Rust Docker builds by exploiting Docker layer caching. It extracts a recipe of the project's dependency manifests, builds dependencies in a separate cached layer, and avoids recompiling them when only source code changes.
Use cases
- speed up Rust Docker builds with layer caching
- cache Rust dependencies in Docker images
- avoid recompiling crates when only source changes
- optimize CI builds for Rust containers
- generate a requirements.txt-like recipe for Rust dependencies
When to choose
- you build Rust projects in Docker and rebuilds are slow
- your CI pipeline rebuilds Rust dependencies on every commit
- you want faster container image builds without restructuring your Dockerfile manually
When to avoid
- you don't build Rust in containers
- you want a tool to run locally on an existing codebase (it's designed for Docker build contexts)
- you use a build system that already caches dependencies effectively
Facets
cli-tool · maturity active
build-tool caching cli deployment developer-tools cli windows cargo-subcommand docker-layer-caching rust-builds container-images devops containers command-line docker linux macos
2 sources
- readme: https://github.com/LukeMathWalker/cargo-chef · fetched 2026-08-28 · 5e305e5d766d
- registry_crates: https://crates.io/api/v1/crates/cargo-chef · fetched 2026-08-29 · 45e952d699d9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| LukeMathWalker/cargo-chef | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="LukeMathWalker/cargo-chef")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem