| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| rust-anything-v5.0.2-aarch64-apple-darwin.tar.gz | 2026-11-28 | 6.4 MB | |
| rust-anything-v5.0.2-aarch64-unknown-linux-gnu.tar.gz | 2026-11-28 | 6.6 MB | |
| rust-anything-v5.0.2-x86_64-apple-darwin.tar.gz | 2026-11-28 | 6.6 MB | |
| rust-anything-v5.0.2-x86_64-pc-windows-msvc.zip | 2026-11-28 | 6.1 MB | |
| rust-anything-v5.0.2-x86_64-unknown-linux-gnu.tar.gz | 2026-11-28 | 6.8 MB | |
| SHA256SUMS | 2026-11-28 | 582 Bytes | |
| README.md | 2026-11-28 | 16.8 kB | |
| v5.0.2 source code.tar.gz | 2026-11-28 | 8.7 MB | |
| v5.0.2 source code.zip | 2026-11-28 | 10.6 MB | |
| Totals: 9 Items | 51.7 MB | 0 | |
profileon Java keeps the samples of every JVM the workload starts. Each one now writes its own recording (profile-<pid>.jfr) andprofilereads them all, where they used to share oneprofile.jfrand the last JVM to exit replaced the others, so work done in a child JVM (a Gradle test worker, say) was lost (#743).bridge --end-state replace|bindings|scaffoldrecords what the unit's bindings are for once the port is done:replace(the original is deleted after cut-over),bindings(callers keep importing it, so the bindings are public API) orscaffold(the bindings are deleted at cut-over). It is kept asend_stateinrust-anything.json(the MCPbridgetool takes it too), and crates bridged before it keep working without one.- The skill reads a short guide for the unit's language before porting (
languages/next toSKILL.md, one file per language): how errors, null, numbers, strings, collections and classes map to Rust, and the traps that made recorded cases differ in this repository.setupinstalls them with the skill, the plugins ship them, and the MCPport_unitprompt takes alanguageargument that adds the file. The skill now asks the end state beforebridge, and says a port keeps behavior, bugs included: a fix lands in its own change aftergatepasses. evals/measures what the skill and tool add over an agent without them, withclaude plugin evaland a no-plugin baseline: a TypeScript, a Python and a Go module whose callers must keep working while the functions run in Rust.evals/score.pychecks the callers are unchanged, replays held-out inputs the agent never saw, and proves each call enters Rust. No results are published until a full run on stated hardware (docs/evals.md).- The MCP server serves the workflow skill over MCP's skills extension
(
io.modelcontextprotocol/skills, SEP-2640):skills/list,skills/getandresources/readatskill://rust-anything/, with each file's SHA-256 digest and size. A client that supports the extension gets the skill fromrust-anything mcpalone, without a plugin. gateno longer panics on a Go unit whose source file got shorter afterbridge(the manifest's line pointed past the end of the file, as when the package is rewritten to call the Rust binding).- The README says how the tool decides a port is done, what reports and what migrates, how long a run takes, how to plan with no model and port with a strong one, and which agents it supports, plus a line about consulting for Rust migrations.
docs/install.mdlists every way to give an agent the skill:setup, the Claude Code and Codex plugins,npx skills add erkamyaman/rust-anything, a copy by hand (with each agent's skills folder), and the MCP server by hand.reportwrites what a reviewer needs intoREPORT.md: the end state, everyknown-diffs.jsonlentry with its reason ("Intended differences"), and the exports kept in the original language with theirs.-
gate's behavior line counts theknown-diffs.jsonlentries added since the last passing gate, so a behavior change that lands in the same change as the port is visible. -
analyzealso flags Python bitwise augmented assignments (&=,|=,^=,>>=) asNumber semantics, alongside&,|,^and>>(and as//=,%=,**=and<<=already are for division and integer semantics) (#768 by @brixtonpham). analyzeunit notes say "1 parse error", "1 npm dependency not in the crate table: check it by hand" and "1 import uses aliases or virtual modules and was not followed" when the count is one, instead of the plural (#767 by @brixtonpham).record,diffandbenchon a Java unit use theCLASSPATHvariable for classes from outside the source tree (a Gradle or Maven module's libraries).javacalready read it, but the driver ran with its own-cp, so every case recordedNoClassDefFoundErrorinstead of a result. Whenjavacfails on missing packages or symbols, the error now says to setCLASSPATH(#744, [#765] by @Layfate).recordon Windows reports how much of a TS/JS original the cases ran, as it does elsewhere. V8 names filesfile:///C:/...and the unit's files were compared as\\?\C:\..., so no file matched and the coverage line was missing (#763 by @Layfate).- The repository checks text files out with
\nline endings on every OS (.gitattributes). Git for Windows turns oncore.autocrlfby default, which gavedocs/tools.mdandskills/rust-anything/SKILL.md\r\nendings, sotests/tools.rsandtests/skill.rsfailed on a fresh Windows clone (#761 by @Layfate). mapnames a crate folder whoserust-anything.jsondoes not parse with/between folders on Windows too (rust/util-rs), as it names every readable port, instead ofrust\util-rs(#760 by @Layfate).profileon a Java workload keeps JFR's "Started recording" banner off stdout (-Xlog:jfr+startup=error). Every JVM the workload starts inherits the JFR options, so a build tool that runsjavato read a JDK's version, as Gradle does for its toolchains, failed on the banner withUnable to determine version for JDKbefore the build began (#742, [#759] by @Layfate).profileon a Java workload reads all ofjfr print's output. It kept only the last MiB, so a recording of more than a second or two failed withjfr output: expected value(#759).gosays "captured 1 real call" / "N real calls", "recorded N cases (N threw in the original)", and "gate: 1 check fails" / "N checks fail" instead of "(s)" and "throw" (#732, [#757] by @Papito084).goretry prompt says "1 distinct difference" for one difference and "N distinct differences" for more, instead of "N distinct difference(s)", and "1 case" instead of "1 case(s)" (#731, [#756] by @Papito084).record --from-testssays "Captured 1 call from the tests" for one call and "Captured N calls from the tests" for more, instead of "Captured N call(s)" (#733, [#755] by @Papito084).recordsays "Left out 1 input the original ran too long on" for one timed-out input and "Left out N inputs ..." for more, instead of "Left out N input(s)" (#734, [#754] by @Papito084).fuzz --keepsays "Kept 1 case in ..." for one kept case and "Kept N cases in ..." for more, instead of "Kept N case(s)" (#735, [#753] by @Papito084).enable --onlysays "unknown export in ..." for one unknown name and "unknown exports in ..." for more, instead of "unknown export(s)", and "requested function does not match" for one failing function and "requested functions do not match" for more (#736, [#752] by @Papito084).app record --no-freshkeeps thefiles/snapshot when a case that stays reads it through a folder above it (fs.base = "."), not only through one inside it (#739, [#749] by @XiaoBinGan).analyze's empty-plan warnings say "1 TypeScript/JavaScript file under ... is excluded" and "only 1 compiled or packaged file" for one file, instead of "1 ... files ... are" (#738, [#746] by @brixtonpham).npx rust-anything@latest setupnow leaves agents that keep working: a copy run from npx's cache sets each agent to startnpx -y rust-anything@<version> mcp(cmd /c npx ...on Windows) instead of the cached binary, which npm may delete.doctorreads that entry as current.- A GitHub Action runs
rust-anything gatein CI on every push:uses: erkamyaman/rust-anything@mainwithcrates:listing the crate folders. It installs rust-anything from npm and fails the job when any crate fails the gate. analyzealso countsNumber.parseIntandNumber.parseFloatcalls asNumber semantics, alongside globalparseIntandparseFloat(#730 by @brixtonpham).--db-dumpoutput is recorded with\nline endings: on Windows, Python'sprintandsqlite3end lines with\r\n, so.effectsmixed both and a recording made there failed replay on Linux and macOS. Recordings made on Windows with--db-dumpbefore need a freshapp record(#729 by @Layfate).- The Android 16 KB page-size check says "1 LOAD segment is not 16 KB aligned" for one misaligned segment and "2 LOAD segments are not 16 KB aligned" for more, instead of "LOAD segment(s) are" (#718, [#728] by @MannXo).
app record --freshwrites the files a case removed (<case>.removed) with/between folders on Windows too, so a recording made on Windows replays on Linux and macOS instead of failing onstale\old.txt. Recordings made on Windows before need a freshapp record(#727 by @Layfate).gatestarts a failed check's extra detail lines and itsfix:line in the same column as the first line of its detail, instead of a fixed 12 spaces that no longer lined up after [#707] (#713, [#725] by @Layfate).gate'sportedcheck says "1 place in port.rs" for one stub and "N places" for more, instead of "1 place(s)" (#712, [#724] by @Layfate).analyzealso countstoLocaleString,toLocaleDateStringandtoLocaleTimeStringcalls asIntl and locale-aware strings: they format numbers and dates with the same ICU data aslocaleCompare(#714, [#722] by @chuenchen309).analyzeno longer flagsnew Date(-1)(a negative number literal) asDate parsing(#715, [#721] by @brixtonpham).app recordno longer keeps a separator that two runs' random values happen to share: request idsk2Pq_x9Lm4andZt7w_bR3nVnow record as[..]instead of[..]_[..], so a replay whose id has no_passes. A separator next to a part both runs agree on stays, soid=[..]keeps its=. Recordings made before keep their wildcards until the nextapp record(#680, [#692] by @XiaoBinGan).analyzeflags three more TS/JS risks:Intl and locale-aware strings(high:Intl.*,localeCompare,toLocaleLowerCase,normalize("NFC")),Date parsing(high:Date.parse,new Date(string)) andURL and encoding APIs(medium:new URL,URLSearchParams,TextEncoder/TextDecoder,atob/btoa), each with guidance on the traps a port must match (#678, [#711] by @antont).- On Windows, a debug build of the CLI (
cargo run, and every test that runs the binary) no longer overflows the 1 MB main-thread stack before it parses its arguments: the CLI runs on a thread with an 8 MB stack on every OS. Release builds were not affected (#710 by @Layfate). packagerefuses--binand--originalon a napi, wasm or PyO3 crate, and--fallbackon a wasm or PyO3 crate, naming the flag and what it is for, before anything is written (also with--dry-run). They used to be dropped silently (#701, [#708] by @Papito084).gatestarts every check's detail in the same column, padding names to the longest one, soerror casesandknown diffsline up with the rest (#700, [#707] by @Papito084).gatesays "the 1 function that fails in the original has a recorded failing case" instead of "each of the 1 functions that fail" in theerror casescheck (#698, [#706] by @Papito084).app driftprints "1 case; build: ..." instead of "1 cases" for a one-case recording (#699, [#705] by @Papito084).- A napi export called without an optional structured argument, such as an array, now gets
Noneon the JSON path that async calls always take, instead of failing withinvalid type: map, expected a sequencebefore the port runs. Aserde_json::Valueparameter still receives theundefinedmarker (#681, reported by @antont). - The MCP
app_replaytool refuses abuildorcase, andapp_driftabuild, that is not a string with`case` must be a string, not 5, instead of dropping it and replaying every case or the original. A missing ornullvalue still means not given (#682, [#691] by @susheelg1197). - The MCP
packagetool refuses aname,version,fallbackororiginalthat is not a string with`version` must be a string, not 2, instead of dropping it and packaging with the crate's own value. A missing ornullvalue still means not given (#683, [#690] by @susheelg1197). - The MCP tools refuse an optional path (
out,inputs,module,resolve_from,ndk,jni_libs) that is not a string with`out` must be a string, not 5, instead of dropping it and using the default. A missing ornullpath still means not given (#686, [#689] by @susheelg1197). - Every MCP tool's required path (
root,repoorcrate) that is there but not a string is refused with`root` must be a string, not 5instead ofmissing `root`. An absent ornullpath still saysmissing `root`(#685, [#688] by @susheelg1197). - The MCP
bridgeandapp_wiretools refuse aunitthat is not a string with`unit` must be a string, not 5instead ofmissing `unit`, andbridgerefuses anamethat is not a string instead of writing the bridge under the default name. A missing ornullunitstill saysmissing `unit`. A wrong-type argument to any MCP tool now gets theinvalid_argumentscode, not retryable, instead offailed(#684, [#687] by @susheelg1197). docs/whole-apps.mdsays six of the sevenappcommands are MCP tools and thatapp shadowis CLI only, instead of "All six are MCP tools too" (#672, [#674] by @XiaoBinGan).- The MCP
app_recordtool refuses aready,name,db_resetordb_dumpthat is neither a string nornull, with`ready` must be a string, not 42, instead of recording as if it had not been given. Anullstill means not given (#671, [#673] by @XiaoBinGan). app record --http --inputsrecords every input, including one that repeats an earlier request. Cases run in name order against one server, so a read after a write is a case of its own; it used to be dropped as a duplicate, and the read the recording was made for was never recorded. Examples and generated traps are still deduplicated.app replay, and the replaysapp wireandapp liftrun, send HTTP cases in that same case-name order: sorting file names putadd-againbeforeadd, so a server with state answered differently than when recorded (#677 by @antont).- The generated
src/utf16.rshasslice_units, JSsliceon code units with a cut surrogate pair kept, andbridge's string-offsets note says to return such a substring throughjs::utf16_string(utf16::slice_units(..)).utf16::slice, which the note pointed to before, turns a lone surrogate into U+FFFD, so a port that followed it faileddiffon the cases the helpers exist for (head("😀")→{"$utf16":[55357]}in JS) (#676 by @antont). - A napi port function returning
Option<T>answersNoneasnullwhen its TS export declaresT | null, also through a type alias andPromise<T | null>. A call the binary wire refuses (such asnullfor an optional array), and every async call, used to getundefined, sodifffailed withexpected {"ok":null}, got {"ok":{"$undefined":true}}; the wire already answerednull. A declaredundefinedstill answersundefined(#675 by @antont). - The table of saved settings in
docs/whole-apps.mdnames the flag that clearshttp(--no-http),http.port(--port 0),http.args(--no-args) andhttp.fresh/fresh(--no-fresh) instead of saying they cannot be cleared (#665, [#668] by @alvaroalonsoparrondo-a11y). - The MCP
app_recordtool called withhttp: falseand areadyrequest says--no-http cannot be combined with --http, --port, --arg, --pace, --ready-timeout or --ready; the message used to leave out--ready, the one setting the caller had passed (#666, [#667] by @alvaroalonsoparrondo-a11y). app record --readyrefuses a value that is not/pathorMETHOD /pathwith an uppercase method, such ashealth,get /healthorGET /health extra, before the server starts, instead of failing after the whole--ready-timeout. The MCPapp_recordtool checks it the same way (#657, [#659] by @susheelg1197).app record --ready "GET /health"waits, after the server's port opens, until that request answers 2xx, so a framework that opens its port before its routes work is not recorded answering- The request is saved with the cases and used by
app replay,app shadowand the front door's own start of the original, within--ready-timeout; the MCPapp_recordtool takes it asready(#332, [#656] by @XiaoBinGan). gate's literals check no longer counts recorded error text. A port has to reproduce the original's error messages, and the runtime often writes them (ZeroDivisionError: division by zero), so they were wrongly flagged as copied answers and failed the demo gate on macOS.