rust-anything is a command-line harness for rewriting an existing app in Rust one piece at a time, with every piece checked against a recording of what the original program did. It is for developers who already run a working app in TypeScript, Python, C, Go, Ruby or Java and want a native binary's speed without betting the product on a big-bang rewrite. It is MIT licensed, mostly Rust, and very new: created in mid-November 2026, already past 6,000 stars.
What it does
The pitch is narrow: rust-anything does not translate your code. It records the behavior of the program you already have, then uses that recording as the contract every Rust replacement must satisfy before the migration moves on. The rewrite stays incremental, so the app keeps working while the Rust side grows.
It covers three shapes of project: command-line tools, HTTP servers and libraries. The source languages named are TypeScript, Python, C, Go, Ruby and Java, and the README advertises native binaries for macOS, Linux and Windows.
The headline numbers are the authors' own, from the README and the project's benchmarks, not independent measurements:
- Prettier's Rust port is claimed to run 19 times faster, with byte-for-byte identical output.
- Their own benchmark puts json-server's Rust port at 3.5 MB of memory at idle instead of 74 MB.
Both are claims about two specific example ports, not a guarantee about your codebase.
How it works
The loop has three steps: rust-anything records what the original does, your coding agent writes the Rust for one piece, and rust-anything checks that piece against the recording before the migration moves on. Your original source is left alone; the project's framing is that once a piece is lifted into Rust, the old code is never touched again.
Two details matter. The check is a behavioral comparison against recorded runs, not a type check and not a test suite you have to write yourself, which is what makes this attractive for apps with thin tests. And the Rust has to be written by something: the repository's topics name claude-code, codex, agent-skills and mcp, the tell that this is built to sit beside a coding agent rather than to port code on its own. The topics also name pyo3, napi and ffi, the usual ways to call Rust from Python and Node, which is presumably how a rewritten piece plugs back into the program it came from.
Getting started
The repository is at github.com/erkamyaman/rust-anything. The README's badges point to published packages on crates.io and on npm, both named rust-anything, so you can pull it from whichever ecosystem you already use instead of building from source. The README is also translated into a long list of languages.
The project does not list hardware requirements: no GPU, no memory floor, no particular chip. What it does need is a coding agent, and that is the part that costs money. rust-anything itself is free under MIT, but writing each Rust piece is the agent's job, which in practice means a paid API key or a coding-agent subscription. The materials do not say whether a local model is enough for the work, so plan on a cloud agent unless you can confirm otherwise.
When to use it / when not
The catch comes from the project itself and it is the right one to lead with: it only proves what the recording covers. A path you never exercised while recording is a path nobody proved, and that is where rewrites break. The quality of the migration is the quality of the recording.
Use it instead of just asking a coding agent to translate the file when you need evidence the port behaves identically and cannot afford a silent behavior change. Don't use it if your project is not a CLI, an HTTP server or a library, if you have no realistic way to drive the original through its important paths while recording, or if you need something settled: this repository is days old, and the star count signals attention, not maturity.
Anyone running a slow Node or Python service who has been quietly eyeing Rust should take this seriously, because it attacks the part that blocks the rewrite: not writing Rust, which agents now do passably, but knowing the new version still behaves like the old one. The README's figures are the project's own, and the proof reaches only as far as your recording, so go in with a thorough recording run and modest expectations. As an idea, recorded behavior as the spec for an agent-written incremental port, it is unusually honest about what it can and cannot promise.