repowiserepowise

Library

erkamyaman / rust-anything

Rewrite your whole app in Rust, one piece at a time, checked against the original's recorded behavior at every step. CLIs, HTTP servers and libraries in TypeScript, Python, C, Go, Ruby and Java.

★ 7,711stars on GitHubRustMIT

This connects Repowise to erkamyaman/rust-anything's code. It does not install rust-anything.

Repowise maps public repos from their source. Not affiliated with erkamyaman. What is Repowise?

github.com/erkamyaman/rust-anythingIndexed at 8ac2c1c

What is rust-anything?

rust-anything is a tool for rewriting an existing app in Rust one piece at a time, while proving the rewrite still behaves the same. It records what the original app does and checks each Rust piece against those recorded cases before moving on, until the app is pure Rust. It works on Node.js, Python, C, Go, Ruby, Java and Kotlin apps, and the tool itself is written in Rust. To install it, run rust-anything setup # registers it with Claude Code, Codex, Cursor, Gemini CLI and OpenCode. Its code health is 6.4 out of 10 (Fair), ranked #193 of 4,000+ indexed repos. The last commit to rust-anything was on Nov 21, 2026, and 21 people have contributed.

As of commit 8ac2c1c, indexed Nov 22, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsrust-anything.md

Repo facts: type, license, health, rank, contributors
rust-anything facts
TypeLibrary
LicenseMIT
Code health6.4 / 10 (Fair)
Health rank#193 of 4,000+ indexed repos
Last commitNov 21, 2026
Contributors21
Bus factor1
Size2,192 files, 174,752 lines

Install rust-anything

Commands copied from the README

  1. 1Register rust-anything with your coding agents.
    rust-anything setup # registers it with Claude Code, Codex, Cursor, Gemini CLI and OpenCode

Releases on GitHub (latest v3.2.0, Nov 22, 2026)

Full install notes on GitHub

Explore rust-anything

Ask about this code in your agent

This connects Repowise to rust-anything's code. It does not install rust-anything. To install rust-anything, use the install steps.

Useful if you want to change or fork rust-anything: your agent can ask how it is put together and get answers that cite its files.

Ask about rust-anything

Answers come from rust-anything's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

rust-anything is a tool for rewriting an existing app in Rust piece by piece while checking that each Rust piece still behaves like the original. It records the original app's behavior on generated edge cases, semantic traps and your own inputs, and the bridge step generates a Rust crate and wrapper so callers keep the original API while the Rust code is written. The diff step replays every recorded case against the Rust code, and a piece moves on only when all of them match. The Application layer, with 103 files, centers on the src directory, where the analyzer reads a project and generates the connecting Rust code through commands such as rust-anything analyze and rust-anything diff, and src/lang extends that analysis to languages other than TypeScript. The Config layer has 13 files and the Docs & Tooling layer has 2034 files, and demo/real-world holds Rust crates that reimplement small pieces of C and Go standard-library behavior, each with a bridge back to its language. To start reading, open src for the analyzer and demo/real-world for worked examples.

Files per layer in rust-anything3 layers.

Basis: Inferred · knowledge graph· as of 8ac2c1c

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of erkamyaman/rust-anything from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

erkamyaman/rust-anything FAQ

What is rust-anything?

rust-anything is a tool for rewriting an existing app in Rust one piece at a time while checking that the behavior stays the same. It records what the original Node.js, Python, C, Go, Ruby, Java or Kotlin app does and checks each Rust piece against those recordings.

How does rust-anything work?

rust-anything records the original app's behavior, generates a Rust crate and wrapper that keep the original API, and replays every recorded case against the Rust code. A piece moves on only when all of its recorded cases match.

How do I install rust-anything?

rust-anything is installed with cargo install rust-anything, and then rust-anything setup registers it with coding agents. Prebuilt binaries for macOS, Linux and Windows are attached to each GitHub release. See the install steps

What language is rust-anything written in?

rust-anything is written in Rust. Its repository also contains TypeScript, JavaScript, C, C++ and Java files.

How is the rust-anything code organized?

The src directory holds the analyzer that reads a project, groups its code into units and generates the Rust code that connects to each unit. The demo directory holds sample and real-world ports, and the scripts directory holds upkeep tasks.

Who is rust-anything for?

rust-anything is for developers and their coding agents who want to rewrite CLIs, HTTP servers and libraries in Rust. Its checks compare the Rust code with the behavior recorded from the original app.

What license does rust-anything use?

rust-anything uses the MIT license, with the SPDX id MIT.

Code health

6.4out of 10Fair

Hotspots average 4.9, the place fixes pay off most.

On the leaderboards:#12 of 24 Rust repos

Key features of rust-anything

  • It records what an original app does by running it on generated edge cases, semantic traps and the user's own inputs.
  • It generates a Rust crate and wrapper so that callers keep the original API while the Rust code is written one piece at a time.
  • It replays every recorded case against the Rust code and does not ship a piece until all of them match.
  • It can port only the slow part of a command by profiling a run and choosing the outermost function worth moving to Rust.
  • When every replay passes with no fallback, it can lift the app into a pure Rust app without touching the original.

How erkamyaman/rust-anything works

The record step runs the original app on generated edge cases, semantic traps and your own inputs, and saves what it returns or throws. The port step uses bridge to generate a Rust crate and a wrapper, so callers keep the original API, while a developer or coding agent writes the Rust code. The diff step replays every recorded case against the Rust code, and a piece moves on only when all of them match. The src directory holds the analyzer that reads an existing project, groups its code into units and generates the Rust code that connects to each unit, reached through commands such as rust-anything analyze and rust-anything diff. The src/lang directory extends that analysis to projects written in languages other than TypeScript. The demo/real-world directory holds Rust crates that reimplement small pieces of C and Go standard-library behavior, each with a bridge that exposes it to the original language.

The codebase has 2,192 files and 12,759 symbols in 6 modules, led by Rust, TypeScript and JavaScript. Code health is 6.4 out of 10, rated fair.