rust-java-migration - Migrate Java projects to behavior-preserving Rust workspaces
Plans, executes, audits, and verifies behavior-preserving migrations from Java Maven or Gradle projects to Rust Cargo workspaces.
Tags
Updated: 2026-12-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Derive Rust crate boundaries
- Map Java packages to Rust paths
- Build source and test inventories
- Preserve source-test case coverage
- Copy test assets byte-identically
- Implement Rust-native APIs
- Audit workspace layout
- Verify differential behavior parity
- Freeze migration baselines
- Repair workspace drift
Inputs
- Java repository path
- Java baseline commit or tag
- Java build tool
- JDK version
- Java module scope
- Java package root
- Rust repository path
- Rust baseline commit
- Rust toolchain and MSRV
- Cargo workspace
- Target platforms
- Compatibility goal
- Dependency policy
- Component candidates
- Migration exceptions
- Host applications
- Scripts and test data
- Concurrency model
- Load profile
- Rollback mechanism
Outputs
- Rust Cargo workspace
- Migration documents
- Source and dependency inventories
- Test case manifest
- Asset manifest
- Rust source files
- Byte-identical test assets
- Layout audit results
- Differential verification results
- Migration status
Requirements
- Java Maven or Gradle environment
- JDK
- Rust toolchain meeting workspace MSRV
- Cargo workspace
- Supported target platforms
