Drop-in cargo replacement for offloading Rust compilation to a remote server

62 points Ferr3t 9 comments

As much as I adore working with large Rust codebases, one daily annoyance I have is the local computational load from executing cargo commands. It slows down dev cycles and keep me tethered to the wall.

About 6 months ago, inspired by cargo-remote, I built crunch.

My goal for the tool is to have dead-simple devex, as similar as cargo as possible. Just replace cargo with crunch, everything happens as you expect, except the computation happens on a remote server.

e.g.

crunch check
crunch clippy --workspace
crunch t -p sys-internals

A couple of close devs and I have been using it with a shared Hetzner AX102, and are really enjoying the experience!

I know this is a common issue for Rust devs, so figured I'd share.

Feedback welcome. Cheers!

Repo: https://github.com/liamaharon/crunch-cli