Skip to content
Discussion options

You must be logged in to vote

yes, this is one of the clearest wins. In CI you rebuild the same dependency graph constantly across runs and across runners, which is exactly the repeated, shareable workload kache is built for.

The drop-in path: kache-action

There is a GitHub Action, kache-action, that wires everything up for you. It installs the kache binary (with checksum verification), sets RUSTC_WRAPPER so every rustc call goes through kache, and configures storage. No build-script changes, no
RUSTFLAGS juggling.

It supports two backends:

  • GitHub Actions cache (default): keyed on kache version, OS, arch, and Cargo.lock hash. Zero setup beyond adding the action.
  • S3-compatible (AWS, MinIO, R2, Ceph, and similar): the …

Replies: 1 comment

Comment options

jleni
Jun 26, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by jleni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
1 participant