# Mr Boxington (mbx)

> A shared cache for Cargo builds

Source: https://talira.ai/catalog/mr-boxington-mbx-5hc8kes0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / caching](https://talira.ai/categories/developer-tools/build/caching), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: macos, linux, windows, cli[^3]
- Licence: MIT[^2]
- Pricing: Free and open source[^2][^3]
- Free tier: yes[^2][^3]
- Self-hostable: yes[^3]
- Creator: Jeff Dickey (jdx), creator of mise
- Sponsors: Entire, Omacom Foundation (Omarchy), CodeRabbit

mbx is a build cache for Rust projects by Jeff Dickey, the author of [mise](https://talira.ai/catalog/mise-0axr08xw.md). Cargo still resolves and plans the build; mbx restores matching compiler outputs from one shared store (reflinked or hard-linked into place) and compiles the rest. Each command starts its own cache agent, so there is no daemon. It manages target directories with disk budgets and garbage collection, shares CPU and memory permits between parallel Cargo commands, and in CI reads from the [GitHub Actions](https://talira.ai/catalog/github-actions-jgz14cgk.md) cache, a cache server or an S3 bucket while writing only from protected branches.

## Links

- Website: https://mr-boxington.jdx.dev
- GitHub: https://github.com/jdx/mr-boxington
- Docs: https://mr-boxington.jdx.dev/guide

## Ways to install

### Package managers

- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/mr-boxington>[^1]

## Problems it solves

- every git worktree of my Rust project rebuilds the whole dependency tree
- old target directories pile up and I only notice when the disk is full
- two cargo commands at once fight over the build directory lock
- I want cargo build to reuse work from my other checkouts without changing how I run cargo
- AI agents running cargo test in parallel max out my CPU and RAM
- garbage collect build output for branches and checkouts I've deleted
- speed up Rust CI with a cache that pull requests can read but not poison
- see how many crates were cache hits and how much compile time I saved
- explain why the last build recompiled things it shouldn't have
- cap how much disk my Rust builds are allowed to use
- share compiled crates between CI runners via an S3 bucket

## Features

- 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)
- mbx explain / stats / tui
- no daemon
- managed linkers (mold, Wild, LLD)
- standalone C/C++ caching for make and CMake

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.67 out of 1.
Signals: maintenance 1.00, adoption 0.58, momentum 0.72, community 0.49, backing 0.45, extensibility 0.20.

- last commit 9 days ago
- 789 commits in the last 90 days
- latest release v1.30.0 14 days ago
- 770 GitHub stars
- fast-growing: 770 stars in 3 months
- 16 contributors
- accepts sponsorship (Github, Custom)
- created by Jeff Dickey (jdx), creator of mise
- sponsored by Entire, Omacom Foundation (Omarchy), CodeRabbit
- recommended in 1 public post (sanmai-NL)

Warnings:

- young project (first commit 3 months ago)

## Recommended by

- “Is it useful to study the design of the external tool mr boxington to inform your solution design around caching” sanmai-NL, github, 2026-11-13: https://github.com/rust-lang/cargo/issues/12516#issuecomment-6850133066

## Alternatives

- [Kache](https://talira.ai/catalog/kache-j5q2h9jj.md): Build once. Reuse the work.
- [Swatinem/rust-cache](https://talira.ai/catalog/swatinem-rust-cache-y6eve8ad.md): A GitHub Action that implements smart caching for rust/cargo projects with sensible defaults.
- [cargo-sweep](https://talira.ai/catalog/cargo-sweep-4ba8ja0v.md): A cargo subcommand for cleaning up unused build files generated by Cargo
- [sccache](https://talira.ai/catalog/sccache-3e1w9xr3.md): Shared compilation cache for C, C++, Rust and CUDA, stored locally or in the cloud
- [cargo-chef](https://talira.ai/catalog/cargo-chef-77antavs.md): Cache the dependencies of your Rust project and speed up your Docker builds.

## Sources

[^1]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^2]: https://github.com/jdx/mr-boxington/blob/main/LICENSE (checked 17 Nov 2026)
[^3]: https://github.com/jdx/mr-boxington (checked 17 Nov 2026)
[^4]: https://mr-boxington.jdx.dev (checked 17 Nov 2026)
