rust-anything supports Node.js, Python, C, Go, Ruby, Java, and Kotlin applications: record first runs the original program with generated boundary cases and your inputs, saving the results; bridge generates a Rust crate that preserves the original interface, which you or a coding agent writes in Rust; diff replays and compares each case one by one; and once all pass, lift generates a pure Rust program, leaving the original code untouched. This period's new content is 2.1.0 on 11 20: support for Kotlin/JVM modules in Gradle, the ability to build Android JNI libraries using NDK and record/compare on connected devices, and recording and comparison no longer leave files in the calling directory.
Why it matters Compared to the last version included in this list, today's release adds Kotlin/JVM and Android support, allows floating-point output files to be compared with tolerance, and moves recording to a temporary directory.
Stars 5092 (+52 / 24h)
Reasons
- 52 new stars in 24 hours, total stars 5092 (indicating attention only); MIT license
- The author claims the Rust port of Prettier formats 2360 JS/TS files 19 times faster, with all 17224 recordings matching byte-for-byte
Usage
- Run
cargo install rust-anything, thenrust-anything setupto install the MCP service and skills into Claude Code, Codex, Cursor, etc., then tell the agent: "Use rust-anything to rewrite this command-line tool in Rust and prove behavioral equivalence"
Risks
recordanddiffactually run the original code for each test case; operations like writing files, connecting to databases, and making network calls are executed for every case; the README requires running on a project copy, using test databases, and without production credentials- Only differences covered by the recordings can be detected; Python functions with numpy array parameters currently require recording the entire application