{"_id":"@bobfrankston/rust-builder","_rev":"6-f5e6b1802152fee7badd28b2fc4b625f","name":"@bobfrankston/rust-builder","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.1":{"name":"@bobfrankston/rust-builder","version":"0.1.1","keywords":["rust","wry","webview","builder","cross-compile","wsl"],"author":{"name":"Bob Frankston"},"license":"ISC","_id":"@bobfrankston/rust-builder@0.1.1","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/rust-builder#readme","bugs":{"url":"https://github.com/BobFrankston/rust-builder/issues"},"dist":{"shasum":"5385981363d2284f4a9eee9b522aab6d9a04143c","tarball":"https://registry.npmjs.org/@bobfrankston/rust-builder/-/rust-builder-0.1.1.tgz","fileCount":5,"integrity":"sha512-hMKlrkf4na09ZpGiqnDO7pd1FQYg1dLZg89zCF1HS1SZ98vo8UTw1yRNAvy9lnSX3ONbcJ5MxIJTipe+DgSWIQ==","signatures":[{"sig":"MEUCIQDhHhi0e+2eAj1ejeLmjcRKlGGI2KMnGGD323aLRstZNgIgNyEj82qCZ8dTG+px2mD7ORqMn148CgOyDSmBqW9IJns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15982},"main":"index.js","type":"module","_from":"file:bobfrankston-rust-builder-0.1.1.tgz","types":"index.d.ts","exports":{".":"./index.js","./postinstall":"./postinstall.js"},"scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\rust-builder\\bobfrankston-rust-builder-0.1.1.tgz","_integrity":"sha512-hMKlrkf4na09ZpGiqnDO7pd1FQYg1dLZg89zCF1HS1SZ98vo8UTw1yRNAvy9lnSX3ONbcJ5MxIJTipe+DgSWIQ==","repository":{"url":"git+https://github.com/BobFrankston/rust-builder.git","type":"git"},"_npmVersion":"11.11.1","description":"Shared build tooling for Rust/wry WebView projects (msger, mailx, etc.)","directories":{},"_nodeVersion":"25.8.2","_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rust-builder_0.1.1_1774977661913_0.010192730378692394","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bobfrankston/rust-builder","version":"0.1.2","keywords":["rust","wry","webview","builder","cross-compile","wsl"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/rust-builder@0.1.2","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/rust-builder#readme","bugs":{"url":"https://github.com/BobFrankston/rust-builder/issues"},"dist":{"shasum":"f6ca3ba37499d6c4084ecd3bfe5bc5beb0d5222c","tarball":"https://registry.npmjs.org/@bobfrankston/rust-builder/-/rust-builder-0.1.2.tgz","fileCount":6,"integrity":"sha512-n17KRSb05taNJD/CHNKuyQ9CAPRdRfRgNOAsEJevpcwVmTrC6Wsf95otDhax3NbFlcy16OS1y/zBNPVgNEhQhA==","signatures":[{"sig":"MEQCIHyzO/Cxz7bZ1Da7Gxw932G+JgkBDJ0+/dPSFI5ajCcoAiBxasKdApVz1FDCdFdk3iTTxn4fs3v686xAhjnaI+ZJtw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17525},"main":"index.js","type":"module","_from":"file:bobfrankston-rust-builder-0.1.2.tgz","types":"index.d.ts","exports":{".":"./index.js","./postinstall":"./postinstall.js"},"scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\rust-builder\\bobfrankston-rust-builder-0.1.2.tgz","_integrity":"sha512-n17KRSb05taNJD/CHNKuyQ9CAPRdRfRgNOAsEJevpcwVmTrC6Wsf95otDhax3NbFlcy16OS1y/zBNPVgNEhQhA==","repository":{"url":"git+https://github.com/BobFrankston/rust-builder.git","type":"git"},"_npmVersion":"11.11.1","description":"Shared build tooling for Rust/wry WebView projects (msger, mailx, etc.)","directories":{},"_nodeVersion":"25.8.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rust-builder_0.1.2_1775002584575_0.5033037759564507","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bobfrankston/rust-builder","version":"0.1.3","keywords":["rust","wry","webview","builder","cross-compile","wsl"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/rust-builder@0.1.3","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/rust-builder#readme","bugs":{"url":"https://github.com/BobFrankston/rust-builder/issues"},"dist":{"shasum":"712b84bc8f315462c09eb58e71fb380adab481ef","tarball":"https://registry.npmjs.org/@bobfrankston/rust-builder/-/rust-builder-0.1.3.tgz","fileCount":6,"integrity":"sha512-XG9f4nic9mpHxiBfTfvkDEWqW2LHA/mwPdtdJMpW5wTHQG26qV0MUQW6Sl6mm1ebD1vNzo2uvm/NL6dzOdUd4A==","signatures":[{"sig":"MEUCIGEP83bHc1Q37jB2vInMmYtkKiUYtY7gqpZRsDS04c3SAiEAsqbvG9aAzYj43AMsjEs4Ug0If8Xx6ika9btPmKwf2ZM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17525},"main":"index.js","type":"module","_from":"file:bobfrankston-rust-builder-0.1.3.tgz","types":"index.d.ts","exports":{".":"./index.js","./postinstall":"./postinstall.js"},"scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\rust-builder\\bobfrankston-rust-builder-0.1.3.tgz","_integrity":"sha512-XG9f4nic9mpHxiBfTfvkDEWqW2LHA/mwPdtdJMpW5wTHQG26qV0MUQW6Sl6mm1ebD1vNzo2uvm/NL6dzOdUd4A==","repository":{"url":"git+https://github.com/BobFrankston/rust-builder.git","type":"git"},"_npmVersion":"11.11.1","description":"Shared build tooling for Rust/wry WebView projects (msger, mailx, etc.)","directories":{},"_nodeVersion":"25.8.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rust-builder_0.1.3_1775221435504_0.3611507339515563","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bobfrankston/rust-builder","version":"0.1.4","keywords":["rust","wry","webview","builder","cross-compile","wsl"],"author":{"name":"Bob Frankston"},"license":"MIT","_id":"@bobfrankston/rust-builder@0.1.4","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/rust-builder#readme","bugs":{"url":"https://github.com/BobFrankston/rust-builder/issues"},"dist":{"shasum":"4d0eb510c22e3bdebf26a8a65aa6f244c41c86fd","tarball":"https://registry.npmjs.org/@bobfrankston/rust-builder/-/rust-builder-0.1.4.tgz","fileCount":6,"integrity":"sha512-pz9SozpoesgKSPH2hoEcsLByYN4rR4rgJMLgZG9CRU/7IHJAlpozqvCU3Tucikl7Qy5EwgZe1UuBDNC7uxVh5w==","signatures":[{"sig":"MEQCIB2RI6XFHkElEc7E51aTtwtcrpGYg2Y5ISOYQOki9N5wAiBPbJ8nY1r5Ujk6lvCFuu1aomr9W6k7ym5vlrUjQOE+VQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21078},"main":"index.js","type":"module","_from":"file:bobfrankston-rust-builder-0.1.4.tgz","types":"index.d.ts","exports":{".":"./index.js","./postinstall":"./postinstall.js"},"scripts":{"build":"tsc"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\utils\\rust-builder\\bobfrankston-rust-builder-0.1.4.tgz","_integrity":"sha512-pz9SozpoesgKSPH2hoEcsLByYN4rR4rgJMLgZG9CRU/7IHJAlpozqvCU3Tucikl7Qy5EwgZe1UuBDNC7uxVh5w==","repository":{"url":"git+https://github.com/BobFrankston/rust-builder.git","type":"git"},"_npmVersion":"11.13.0","description":"Shared build tooling for Rust/wry WebView projects (msger, mailx, etc.)","directories":{},"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rust-builder_0.1.4_1777817604646_0.5884120563418587","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bobfrankston/rust-builder","version":"0.1.5","description":"Shared build tooling for Rust/wry WebView projects (msger, mailx, etc.)","type":"module","main":"index.js","types":"index.d.ts","exports":{".":"./index.js","./postinstall":"./postinstall.js"},"scripts":{"build":"tsc"},"keywords":["rust","wry","webview","builder","cross-compile","wsl"],"author":{"name":"Bob Frankston"},"license":"MIT","devDependencies":{"@types/node":"^22.0.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/BobFrankston/rust-builder.git"},"_id":"@bobfrankston/rust-builder@0.1.5","bugs":{"url":"https://github.com/BobFrankston/rust-builder/issues"},"homepage":"https://github.com/BobFrankston/rust-builder#readme","_integrity":"sha512-f203aWq9H/ofcUAqwGtXuVfxXTF4FF14VXnfgz5eX31o2SxKJu1AlxuBddBTY1fTPh+kd/4WCZUCdn4vV027xw==","_resolved":"Y:\\dev\\utils\\rust-builder\\bobfrankston-rust-builder-0.1.5.tgz","_from":"file:bobfrankston-rust-builder-0.1.5.tgz","_nodeVersion":"26.1.0","_npmVersion":"11.14.1","dist":{"integrity":"sha512-f203aWq9H/ofcUAqwGtXuVfxXTF4FF14VXnfgz5eX31o2SxKJu1AlxuBddBTY1fTPh+kd/4WCZUCdn4vV027xw==","shasum":"5c99346b7b7b535381c0575737cd5b5dbbc24533","tarball":"https://registry.npmjs.org/@bobfrankston/rust-builder/-/rust-builder-0.1.5.tgz","fileCount":6,"unpackedSize":21078,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCTRPXmy70WRZiDyjIZ+sW2LeraXTwoouqoFEZlYcH6cwIhANu/T/6WlfkWElcs8DsGsm7pvgHDuYxTyb5MgVR3vQmZ"}]},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"directories":{},"maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rust-builder_0.1.5_1781014838786_0.2741135750640433"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-31T17:21:01.912Z","modified":"2026-06-09T14:20:39.144Z","0.1.1":"2026-03-31T17:21:02.044Z","0.1.2":"2026-04-01T00:16:24.740Z","0.1.3":"2026-04-03T13:03:55.652Z","0.1.4":"2026-05-03T14:13:24.780Z","0.1.5":"2026-06-09T14:20:38.935Z"},"bugs":{"url":"https://github.com/BobFrankston/rust-builder/issues"},"author":{"name":"Bob Frankston"},"license":"MIT","homepage":"https://github.com/BobFrankston/rust-builder#readme","keywords":["rust","wry","webview","builder","cross-compile","wsl"],"repository":{"type":"git","url":"git+https://github.com/BobFrankston/rust-builder.git"},"description":"Shared build tooling for Rust/wry WebView projects (msger, mailx, etc.)","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"readme":"# @bobfrankston/rust-builder\n\nShared build tooling for Rust/wry WebView projects. Handles cross-platform builds via native compilation, WSL, and remote Pi.\n\n> **Disclaimer:** This is a personal project written for my own use. I provide it as-is with no promises of support, stability, or fitness for any particular purpose. Use at your own risk.\n\n## Usage\n\n```typescript\nimport { build, loadConfig } from \"@bobfrankston/rust-builder\";\n\nconst config = loadConfig(\"./build-config.json\", \"myapp\", \"./native\", \"./native/bin\");\nbuild(config);\n```\n\n### Postinstall (for npm packages shipping binaries)\n\n```javascript\nimport { runPostinstall } from \"@bobfrankston/rust-builder/postinstall\";\n\nrunPostinstall({\n    binaryName: \"myapp\",\n    binDir: \"./bin\",\n    binaries: {\n        win32: \"myapp.exe\",\n        darwin: \"myapp\",\n        darwinArm64: \"myapp-arm64\",\n        linux: \"myapp-linux\",\n        linuxArm64: \"myapp-linux-aarch64\",\n    },\n});\n```\n\n## Build Platforms\n\n| Platform | Method | Requirements |\n|----------|--------|--------------|\n| Windows x64 | Native cargo | Visual Studio Build Tools |\n| Linux x64 | WSL cargo | WSL + Rust + webkit2gtk-dev |\n| Pi ARM64 | Remote SSH build | SSH access to Pi with Rust |\n| ARM64 cross | WSL cross-compile | WSL + aarch64 toolchain |\n\n## build-config.json\n\n```json\n{\n    \"platforms\": { \"windows\": true, \"wsl\": true, \"pi\": false, \"arm64\": false },\n    \"options\": { \"release\": true, \"verbose\": true }\n}\n```\n\nMIT License -- Copyright (c) 2026 Bob Frankston\n","readmeFilename":"README.md"}