Sébastien Rigaux

rust-anything: rewrite an app in Rust while checking its behavior

RepositoryRust
View resource

github.com

rust-anything supports incremental rewrites of applications in Rust by comparing each step with the original’s recorded behavior. It does not translate code: a coding agent produces the port, then the tool checks it against the captured cases.

The repository lists support for CLIs, HTTP servers, and libraries written in TypeScript, Python, C, Go, Ruby, or Java. For C ports, commit notes also describe fuzzing the original and the port, with an option to add detected mismatches to the reference recordings.

A dark illustration shows a black-and-white mechanical crab beside the rust-anything name, a 2.0 badge, and the slogan “Rewrite your app in Rust. Prove it behaves the same.”