Mr Boxington
Properties
- logseq-entity
- Logseq/Entity/Software/Project
- created-by
- Person/Jeff Dickey
- date-created
- 2026/08
- alias
- mbx, mr-boxington
Mr Boxington
- Repository: jdx/mr-boxington (Person/Jeff Dickey/GitHub/mr-boxington). GitHub/Star: 652 (checked 2026-11-01 Sun).
- A shared cache for cargo builds, run as the
mbxcommand. Cargo still resolves dependencies, plans builds, and runs tools;mbxrestores matching compiler outputs from one shared store and compiles the rest. No daemon or cache server is needed for local use. [1] - Equivalent compilations share cache keys when checkout paths differ, so building one git worktree warms the next.
- The store has a disk budget. Managed
target/directories are collected when their checkout disappears, goes unused, or exceeds its budget.mbx gc --dry-runpreviews a collection. - Independent Cargo commands share CPU and memory permits and deduplicate identical compilations in flight.
- CI can reuse the cache through the GitHub/Action cache, a compatible cache server, or an S3-compatible bucket. jdx/mr-boxington-action sets it up. Pull request builds only read from a cache server or bucket; writes come from pushes to protected branches.
- Install with mise (
mise use --global --tool-option mr_boxington=true rust mr-boxington), or withcargo install mbx --lockedfollowed bymbx setup. - Builds on ideas from sccache and kache; kache directly inspired its design.
- Licensed under MIT.
- Written in Rust.
Setup with mise
- Set the
mr_boxingtonoption on therusttool and addmr-boxingtonas its own tool. Cargo then runs throughmbxundermise exec, mise tasks, activated shells and mise's shims, with nombx setupstep. [2] - Calling a toolchain's
cargodirectly, such as~/.cargo/bin/cargo, skipsmbx. Check withcommand -v cargo. [2] - My global mise config turns it on: dotfiles#181.
- Set the
Typical commands
Footnotes