Port From Java

Port Java into Rust — class hierarchies onto enums and composition, exceptions onto Result, collections and streams onto Rust equivalents, and the traps (UTF-16 strings, silent integer wraparound, null, equals/hashCode contracts). Use when porting, rewriting, or migrating Java, a JVM service, a Spring or Jakarta application, or a Java library into Rust, when replacing a JVM component with a Rust one behind the same interface, or when the user asks how a Java construct translates to Rust.

rewrite-rs Updated 18 repo stars

File contents

rewrite-rs/skills commit e476d9dff7

Frequently asked questions

npx get-skill add rewrite-rs/port-from-java