# rust-anything

> Rewrite your app in Rust, and prove it still behaves the same.

Source: https://talira.ai/catalog/rust-anything-1cjpndn0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, MCP server, Agent skill
- Categories: [developer tools / code migration / language ports](https://talira.ai/categories/developer-tools/code-migration/language-ports), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: macos, linux, windows, cli[^1]
- Licence: MIT[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^1]
- MCP server: yes[^1]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^1], [Agent Skills](https://talira.ai/standards/agent-skills.md)[^1]
- Backed by: [erKam Yaman](https://talira.ai/orgs/erkamyaman.md)
- Sponsors: CodeRabbit

rust-anything helps you or your coding agent rewrite an app in Rust one piece at a time, and checks every piece against what the original actually does. It records the original (Node.js/TypeScript, Python, C, Go, Ruby, Java or Kotlin) on generated edge cases, traps and your own inputs, generates a Rust crate with a bridge (napi-rs, PyO3, cgo and others) so callers keep the original API, replays every recorded case against the port, and only when everything passes its gate lifts the app to pure Rust. It doesn't translate code itself: it profiles what to port first, supplies the behaviour to match and says when a port is done, through a CLI, an MCP server and a skill that `rust-anything setup` installs into Claude Code, Codex, Cursor, Gemini CLI and OpenCode. Its showcase is a port of [Prettier](https://talira.ai/catalog/prettier-wqw3mymz.md) whose output matches byte for byte. PHP and C# whole apps can be recorded and replayed, with unit ports still to come.

## Links

- GitHub: https://github.com/erkamyaman/rust-anything
- Docs: https://github.com/erkamyaman/rust-anything/blob/HEAD/docs/how-it-works.md

## Problems it solves

- we want to rewrite our Node service in Rust but can't prove the new one behaves the same
- port our slow Python module to Rust without changing the API the rest of the code calls
- find which hot loop in my TypeScript app is worth moving to Rust first
- my coding agent's Rust rewrite looks right but I have no way to check it against the original
- record what a CLI outputs on lots of edge cases and replay them against a rewrite
- migrate a whole app to Rust gradually, one module at a time, and ship along the way
- make sure a rewrite doesn't send emails or webhooks twice even though its output matches
- catch differences in float formatting and Unicode regex behaviour between JS and Rust ports
- replace a Node HTTP server with a single small Rust binary that answers the same
- a gate in CI that says a language port is done only when every recorded case matches

## Features

- Records the original's results and errors on generated edge cases, semantic traps, its test suite and your inputs
- Generates the Rust crate and a bridge so callers keep the original API
- diff replays every recorded case; gate decides when a port is done
- app record / app replay for whole CLIs and HTTP servers, with side effects (HTTP, SMTP, database state)
- app lift turns a fully ported app into a pure Rust binary
- profile and bench to find what to port and whether it got faster
- Bridges: napi-rs or wasm-bindgen (JS/TS), PyO3 (Python), extern C, cgo (Go), magnus (Ruby)
- MCP server and workflow skill; `rust-anything setup` registers them with Claude Code, Codex, Cursor, Gemini CLI and OpenCode
- Claude Code plugin; listed in the MCP Registry
- Prebuilt binaries for macOS, Linux and Windows

## Limitations

- Doesn't translate code to Rust: your coding agent or you write the Rust; it records, bridges and checks[^1]
- Can't catch what the recording doesn't cover: unrecorded inputs, timing, memory and concurrency under load aren't compared[^2]
- No unit ports for PHP or C# yet: whole PHP and C# apps can be recorded and replayed, with FFI ports coming next[^1]

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.44 out of 1.
Signals: backing 0.45, extensibility 0.40.

- backed by erKam Yaman
- sponsored by CodeRabbit
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://github.com/erkamyaman/rust-anything/blob/HEAD/README.md (checked 21 Nov 2026)
[^2]: https://github.com/erkamyaman/rust-anything/blob/HEAD/docs/how-it-works.md (checked 21 Nov 2026)
[^3]: https://github.com/erkamyaman/rust-anything/blob/HEAD/LICENSE (checked 21 Nov 2026)
