Tool Open source
rust-anything is an open-source Rust migration tool by Erkam Yaman that rewrites applications incrementally while checking the Rust implementation against the original application's recorded behavior. It records generated edge cases and user inputs, generates a bridge that preserves the original API, and replays the cases against the Rust port; its `diff` and `gate` commands prevent a port from being considered complete until the recorded cases match. The workflow can profile an application to identify hot paths, port individual units or whole CLIs and HTTP servers, and eventually lift an application to a pure Rust implementation. It supports TypeScript and JavaScript, Python, C, Go, Ruby, and Java, with bridges based on mechanisms including napi-rs or wasm-bindgen, PyO3, C ABI, cgo, Magnus, and JNI. It is distributed as a Rust CLI through crates.io, with npm and prebuilt binary installation options, and includes MCP and workflow integrations for several coding agents. The project is MIT-licensed and states that it does not translate code itself; the Rust is written by the user or a coding agent.
2 uses taken from transcripts — each links to the moment in the video.
Helps you move an existing app to Rust one piece at a time: it profiles slow code to find loops worth moving, builds a bridge so the rest of the app calls it the same way, replays recorded cases to check results, and benchmarks both versions.
An open-source migration tool for rewriting existing applications in Rust piece by piece, recording the original code's behavior on generated test cases and replaying them against the Rust version to prove behavior stays the same before each port ships.
2 in the library.