Kache init, then Cargo, CMake, Make, or Ninja
Compiler caching for Rust and C/C++. Keep running Cargo, Make, CMake, or Ninja after setup, locally and in CI on Linux, macOS, and Windows.
libserde-1.0.219.rlibhit
libserde-1.0.219.rlibhit
libserde-1.0.219.rlibhit
Install. Init. Build.
Choose an install method, run kache init once, then keep using Cargo, Make, CMake, or Ninja.
kache initUsing scripts or CI? kache init -y runs the same setup without prompts.
kache doctor- uses: kunobi-ninja/kache-action@v1kache install-shims ~/.local/lib/kache/shimsThe same compile, over and over
target/ everywhere
Every worktree gets its own target/. The same .rlib materializes over and over until your disk fills with duplicated build output.
sccache wants a server
sccache is a client-server cache. kache is local-first: entries share across worktrees without a remote, and you keep calling cargo.
CI repeats the same work
Every job rebuilds the same dependency tree. One GitHub Action line and S3 credentials replace all the manual wiring.
kache init. Then cargo.
init writes rustc-wrapper. After that, cargo build, test, and clippy are unchanged. The store is local-first. Remotes are optional.
What's supported
Rust
Libraries and build scripts on Linux, macOS, and Windows. Executables on Linux and macOS by default; off on Windows until you turn them on.
C and C++
Single-source object compiles through GCC, Clang, Apple Clang, and clang-cl. Unsupported invocations pass through unchanged.
macOS, Linux, Windows
Release binaries for x86_64 and ARM. Linux musl, macOS, Windows MSVC.
Remotes
S3-compatible and filesystem remotes for Rust entries. C/C++ stays local for now.
A compact CLI built around the cache
More than a wrapper: monitor, config, and doctor make it usable day to day.
Write rustc-wrapper and optionally install the daemon
Diagnose setup; --fix migrates from sccache
Live TUI dashboard for build events and cache stats
Non-interactive cache stats summary
List cached entries, or details for a specific crate
kache --helpfor the full command surface.Public numbers soon
Nightly cold/warm runs on Firefox · LLVM · Substrate · SurrealDB · Lance · OpenDAL are already going, including Firefox on Windows and against sccache. We'll publish results when we have a stretch of ok verdicts, not a one-off.
Install once. Keep using cargo.
Free, open source, Apache-2.0. Rust and C/C++ on Linux, macOS, and Windows.