rust-anything 1.4.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  <p align="center">by <a href="https://github.com/erkamyaman">erKam Yaman</a></p>
8
8
 
9
+ <p align="center">English · <a href="docs/README_TR.md">Türkçe</a> · <a href="docs/README_ZH.md">简体中文</a> · <a href="docs/README_ZH-TW.md">繁體中文</a> · <a href="docs/README_DE.md">Deutsch</a> · <a href="docs/README_FR.md">Français</a> · <a href="docs/README_RU.md">Русский</a> · <a href="docs/README_UK.md">Українська</a> · <a href="docs/README_JA.md">日本語</a> · <a href="docs/README_KO.md">한국어</a> · <a href="docs/README_AZ.md">Azərbaycanca</a> · <a href="docs/README_UZ.md">Oʻzbekcha</a> · <a href="docs/README_KK.md">Қазақша</a> · <a href="docs/README_KY.md">Кыргызча</a> · <a href="docs/README_TK.md">Türkmençe</a> · <a href="docs/README_TT.md">Татарча</a> · <a href="docs/README_UG.md">ئۇيغۇرچە</a></p>
10
+
9
11
  <p align="center"><em>Rewrite your whole app in Rust. Keep it working the whole way.</em></p>
10
12
 
11
13
  <p align="center"><em>CLIs, servers and libraries, piece by piece, checked against the original at every step.</em></p>
@@ -446,10 +448,35 @@ cargo install --path .
446
448
 
447
449
  `record`, `diff` and `bench` run the original in its own runtime: Node 22.6+ for TS (it runs `.ts`
448
450
  sources directly), Python 3.9+ for Python and C (ctypes), Go 1.21+, Ruby 3+, JDK 17+
449
- (`javac` and `java`). C also needs a C compiler. wasm bridges also need `rustup target add wasm32-unknown-unknown` and
451
+ (`javac` and `java`). `profile` on Node needs Node 24+, which allows `--cpu-prof` in `NODE_OPTIONS`. C also needs a C compiler. wasm bridges also need `rustup target add wasm32-unknown-unknown` and
450
452
  `cargo install wasm-bindgen-cli --version <the crate's wasm-bindgen version> --locked`; `build` names
451
453
  the exact version.
452
454
 
455
+ ### Windows
456
+
457
+ Native Windows CI uses the `x86_64-pc-windows-msvc` Rust target. Install the stable MSVC
458
+ toolchain and Visual Studio Build Tools with the **Desktop development with C++** workload; the
459
+ C compiler and linker are required for C bridges and native Rust extensions. Install the runtime
460
+ for the source language you are migrating. Python may be available as either `python3` or
461
+ `python`; rust-anything detects both. The GNU Windows target is not exercised by CI.
462
+
463
+ Run the native bridge integration suite from a Developer PowerShell prompt:
464
+
465
+ ```powershell
466
+ rustup default stable-x86_64-pc-windows-msvc
467
+ cargo test --locked --test native -- --nocapture
468
+ ```
469
+
470
+ The suite builds and loads real DLL-backed Node and Python extensions and the supported native
471
+ bridges for each runtime present on `PATH`. Missing optional runtimes are reported as skipped;
472
+ Cargo, the active Rust standard library, and the MSVC linker are required. If Cargo reports that
473
+ it cannot find `std`, reinstall the active target with
474
+ `rustup target remove x86_64-pc-windows-msvc` followed by
475
+ `rustup target add x86_64-pc-windows-msvc`. If linking fails, run from a Visual Studio Developer
476
+ PowerShell and verify that `where.exe link` finds the MSVC linker. Tests use temporary folders,
477
+ including a path with spaces and Unicode characters, and remove generated artifacts after a
478
+ successful run.
479
+
453
480
  For agents, `rust-anything setup` registers everything (see Quick start). To add the MCP server to
454
481
  one project by hand instead (`.mcp.json`):
455
482
 
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-anything",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Rewrite your app in Rust, one piece at a time, checked against the original's recorded behavior at every step. TypeScript, Python, C, Go, Ruby, Java.",
5
5
  "keywords": [
6
6
  "rust",