Radar
← All projectsWednesday, November 18, 2026
rust-anything
Rewrite hot paths (or a whole app) into Rust one unit at a time — your coding agent writes the Rust, rust-anything records the original behavior and refuses to ship until every case matches.
Why it matters
rust-anything is an MIT CLI plus MCP server and agent skill for Claude Code, Codex, Cursor, and Gemini CLI. It does not auto-translate code. It profiles real workloads, plans port order, scaffolds a Rust crate and language bridge (napi/wasm, PyO3, cgo, JNI, and more), records what the original returns or throws on edge cases, replays those cases against Rust, benches both sides, can shadow in production, and only passes gate when behavior, API, and quality checks line up. Supports TypeScript/JavaScript, Python, C, Go, Ruby, Java, with PHP and C# in preview. Batch modes keep work in Rust across many inputs.
Most “port to Rust” work dies in silent behavior drift. Founders sitting on slow Node, Python, Go, Ruby, or Java code need a gate that proves the port is identical before callers switch. rust-anything turns migration into a profile → bridge → record → diff → bench → gate loop your agent can run, not a weekend rewrite gamble.
How it works
Install with cargo install rust-anything or npm install -g rust-anything, then rust-anything setup so your agent gets the MCP tools and skill. Profile a workload, analyze the repo for units and risks, bridge a hot function or module, record cases from the original, let the agent fill port.rs, then diff, bench, optional shadow, and gate. For a full app, app record and a Rust front door keep the original as reference while units lift one by one.
Coding agents can spit Rust. They cannot reliably invent the behavior contract. rust-anything is the missing contract and ship gate: recorded cases, bridges that keep the original API, and a done signal that is replay-proof — not another harness or generic refactor prompt.
Capabilities
- Public demo available
- MCP server / client support