René's URL Explorer Experiment


Title: feat(fmt): prototype SWC Next 0.2.0 via crate and decoder by SoonIter · Pull Request #465 · rstackjs/rstack-cli · GitHub

Open Graph Title: feat(fmt): prototype SWC Next 0.2.0 via crate and decoder by SoonIter · Pull Request #465 · rstackjs/rstack-cli

X Title: feat(fmt): prototype SWC Next 0.2.0 via crate and decoder by SoonIter · Pull Request #465 · rstackjs/rstack-cli

Description: Summary This draft evaluates replacing Yuku in rs fmt by compiling swc_next_bridge = "=0.2.0" into rstack's existing native binding and decoding its Buffer with @swc-next/decoder@0.2.0. The thin NAPI adapter delegates parsing and serialization to the upstream crate, uses the lazy generated loader, and requires no parser npm package or separate SWC Next native binary. It shares the Prettier adapter and compatibility tests with #464, retains explicit Prettier parsers and project plugin precedence, and isolates its formatting cache. Both routes record the same upstream gap: function implementations in declaration files are accepted rather than diagnosed; explicit experimental aliases become swc-next and swc-next-ts. On macOS arm64, debug/release native builds, Rust formatting/Clippy/tests, pnpm check, spelling, and the complete JS suite pass (380 passed, one existing skipped test). packages/rstack/SWC_NEXT_POC.md includes reproduction and limits; serializer and decoder upgrades must stay synchronized, and cross-platform parity and throughput are not established. Related Links Alternative npm integration: #464 SWC Next v0.2.0

Open Graph Description: Summary This draft evaluates replacing Yuku in rs fmt by compiling swc_next_bridge = "=0.2.0" into rstack's existing native binding and decoding its Buffer with @swc-next/decoder@0.2....

X Description: Summary This draft evaluates replacing Yuku in rs fmt by compiling swc_next_bridge = "=0.2.0" into rstack's existing native binding and decoding its Buffer with @swc-next/...

Opengraph URL: https://github.com/rstackjs/rstack-cli/pull/465

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:493c8357-5faa-a842-8bf3-052f26f99d05
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA2FE:33397F:63440E:848C62:6AEC2E36
html-safe-nonce9b7b1b091cdf5400402e99acbd14c1137a392f0ce9d4e33c08aa76a1a756cf23
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkZFOjMzMzk3Rjo2MzQ0MEU6ODQ4QzYyOjZBRUMyRTM2IiwidmlzaXRvcl9pZCI6Ijc1MjQyNzY4MTMwNzI5NjkyNzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacef7283cdf4266f7e6e35daa0fa716656f8e46210c3b317c4858b62f4de2c1c08
hovercard-subject-tagpull_request:4461842911
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/rstackjs/rstack-cli/pull/465/files
twitter:imagehttps://avatars.githubusercontent.com/u/79413249?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/79413249?s=400&v=4
og:image:altSummary This draft evaluates replacing Yuku in rs fmt by compiling swc_next_bridge = "=0.2.0" into rstack's existing native binding and decoding its Buffer with @swc-next/decoder@0.2....
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef290b7f408d9675a032f84ceb13aaf80220f947c681b4c5d9a7560a59ee32f02
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/rstackjs/rstack-cli git https://github.com/rstackjs/rstack-cli.git
octolytics-dimension-user_id129049372
octolytics-dimension-user_loginrstackjs
octolytics-dimension-repository_id1138027854
octolytics-dimension-repository_nworstackjs/rstack-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1138027854
octolytics-dimension-repository_network_root_nworstackjs/rstack-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasead9a37a663eb727a42b8bacc5e035cc3a24dd058
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/rstackjs/rstack-cli/pull/465/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-cli%2Fpull%2F465%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-cli%2Fpull%2F465%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=rstackjs%2Frstack-cli
Reloadhttps://github.com/rstackjs/rstack-cli/pull/465/files
Reloadhttps://github.com/rstackjs/rstack-cli/pull/465/files
Reloadhttps://github.com/rstackjs/rstack-cli/pull/465/files
rstackjshttps://github.com/rstackjs
rstack-clihttps://github.com/rstackjs/rstack-cli
Codehttps://github.com/rstackjs/rstack-cli
Issues3 (3)https://github.com/rstackjs/rstack-cli/issues
Pull requests1 (1)https://github.com/rstackjs/rstack-cli/pulls
Discussionshttps://github.com/rstackjs/rstack-cli/discussions
Actionshttps://github.com/rstackjs/rstack-cli/actions
Projectshttps://github.com/rstackjs/rstack-cli/projects
Security and qualityhttps://github.com/rstackjs/rstack-cli/security
Insightshttps://github.com/rstackjs/rstack-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Frstackjs%2Frstack-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Frstackjs%2Frstack-cli%2Fissues%2Fnew%2Fchoose
SoonIterhttps://github.com/SoonIter
mainhttps://github.com/rstackjs/rstack-cli/tree/main
codex/poc-fmt-swc-next-nativehttps://github.com/rstackjs/rstack-cli/tree/codex/poc-fmt-swc-next-native
Conversation 2 https://github.com/rstackjs/rstack-cli/pull/465
Commits 1 https://github.com/rstackjs/rstack-cli/pull/465/commits
Checks 5 https://github.com/rstackjs/rstack-cli/pull/465/checks
Files changed https://github.com/rstackjs/rstack-cli/pull/465/files
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/465/files
feat(fmt): prototype SWC Next 0.2.0 via crate and decoder https://github.com/rstackjs/rstack-cli/pull/465/files#top
Show all changes 1 commit https://github.com/rstackjs/rstack-cli/pull/465/files
61def22 feat(fmt): prototype SWC Next 0.2.0 crate integration SoonIter Sep 7, 2026 https://github.com/rstackjs/rstack-cli/pull/465/commits/61def22a30cef493cf198d58d53bc8d08d56fa1c
Clear filters https://github.com/rstackjs/rstack-cli/pull/465/files
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/465/files
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/465/files
Cargo.lock https://github.com/rstackjs/rstack-cli/pull/465/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
Cargo.toml https://github.com/rstackjs/rstack-cli/pull/465/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
Cargo.toml https://github.com/rstackjs/rstack-cli/pull/465/files#diff-9ddf3a38291ec55095a56f7c12da720ae2eaf0076a0af2134840ad4c25b2409e
lib.rs https://github.com/rstackjs/rstack-cli/pull/465/files#diff-f5921325c98ea1bc1f3f5d4009deab65c40bffc463bce861dd118b3b5f5cd7fb
parser.rs https://github.com/rstackjs/rstack-cli/pull/465/files#diff-8739701b2dc0098990a8a614d8efae0aa57554b2f3c19932bed1aa7c8b52309e
SWC_NEXT_POC.md https://github.com/rstackjs/rstack-cli/pull/465/files#diff-a5a3916be58bd262e3696dcc878c23e1ccc0aee35245ecb4089f7b8e3cf209d3
THIRD_PARTY_NOTICES.md https://github.com/rstackjs/rstack-cli/pull/465/files#diff-06222e5674741c4fd17a04156cac4a6c6d3109dc0bd79a051a6ff1ff5877b7cd
binding.cjs https://github.com/rstackjs/rstack-cli/pull/465/files#diff-933a3494c82c8ea7313f82ba95f3f99e5514043083622472347bceb29ec24264
binding.d.cts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-e40292389d98fa2c6660a5ff37431f76d5ad48646235bafc56e8587c3030f129
package.json https://github.com/rstackjs/rstack-cli/pull/465/files#diff-1fe036681c178c1ba9c0bb15f97ea1ef0a4d480032a2d2e114492aea7ead532e
cacheIdentity.ts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-9b40f7fe66d767d8525596fb8752c9b963811d50621dd6082720088dfc01bb52
prettierPlugins.ts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-93accc24a402114bcfd701a67d7000f004f392f90910b3243d72c6136ada885a
swcNextParser.ts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-90d32a0059668d8afad7e30e28a20bc8ad78c9489ce7e6c7cb9c03f3fcf80882
swcNextPlugin.ts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-dcaf167001f67e11ecff6875baa5513cd36df4d920d00fc6bc4439525abea754
cacheIdentity.test.ts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-d61e5508768d301ea4ec094cfb4368c037d26ac781df854c543b81efb9bda6b2
swcNextNative.test.ts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-8fe72686efd38e55cf5e7441de87cc3adecf95e96c12c102044153b1026c125d
swcNextPlugin.test.ts https://github.com/rstackjs/rstack-cli/pull/465/files#diff-977e2cdeaac4b71de42628a821acf82010429aed75014c68ea7c1e922b836ce3
pnpm-lock.yaml https://github.com/rstackjs/rstack-cli/pull/465/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bb
pnpm-workspace.yaml https://github.com/rstackjs/rstack-cli/pull/465/files#diff-18ae0a0fab29a7db7aded913fd05f30a2c8f6c104fadae86c9d217091709794c
formatting.mdx https://github.com/rstackjs/rstack-cli/pull/465/files#diff-c16e925383ebfbdcf67e382c6018fb527745aa0e12040bb2c1061e9e18164d5e
formatting.mdx https://github.com/rstackjs/rstack-cli/pull/465/files#diff-65b8eb91f963abf9bdb395157a6da668b59bf3a38217dab5ec241be5690f24a7
Cargo.lockhttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/Cargo.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/465/files
Cargo.tomlhttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/465/{{ revealButtonHref }}
https://github.com/rstackjs/rstack-cli/pull/465/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/rstackjs/rstack-cli/pull/465/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
crates/rstack-binding/Cargo.tomlhttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-9ddf3a38291ec55095a56f7c12da720ae2eaf0076a0af2134840ad4c25b2409e
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/crates/rstack-binding/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/465/{{ revealButtonHref }}
https://github.com/rstackjs/rstack-cli/pull/465/files#diff-9ddf3a38291ec55095a56f7c12da720ae2eaf0076a0af2134840ad4c25b2409e
crates/rstack-binding/src/lib.rshttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-f5921325c98ea1bc1f3f5d4009deab65c40bffc463bce861dd118b3b5f5cd7fb
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/crates/rstack-binding/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/465/{{ revealButtonHref }}
https://github.com/rstackjs/rstack-cli/pull/465/files#diff-f5921325c98ea1bc1f3f5d4009deab65c40bffc463bce861dd118b3b5f5cd7fb
crates/rstack-binding/src/parser.rshttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-8739701b2dc0098990a8a614d8efae0aa57554b2f3c19932bed1aa7c8b52309e
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/crates/rstack-binding/src/parser.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/465/{{ revealButtonHref }}
packages/rstack/SWC_NEXT_POC.mdhttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-a5a3916be58bd262e3696dcc878c23e1ccc0aee35245ecb4089f7b8e3cf209d3
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/packages/rstack/SWC_NEXT_POC.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/465/{{ revealButtonHref }}
packages/rstack/THIRD_PARTY_NOTICES.mdhttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-06222e5674741c4fd17a04156cac4a6c6d3109dc0bd79a051a6ff1ff5877b7cd
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/packages/rstack/THIRD_PARTY_NOTICES.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/465/{{ revealButtonHref }}
https://github.com/rstackjs/rstack-cli/pull/465/files#diff-06222e5674741c4fd17a04156cac4a6c6d3109dc0bd79a051a6ff1ff5877b7cd
https://github.com/rstackjs/rstack-cli/pull/465/files#diff-06222e5674741c4fd17a04156cac4a6c6d3109dc0bd79a051a6ff1ff5877b7cd
packages/rstack/binding.cjshttps://github.com/rstackjs/rstack-cli/pull/465/files#diff-933a3494c82c8ea7313f82ba95f3f99e5514043083622472347bceb29ec24264
View file https://github.com/rstackjs/rstack-cli/blob/61def22a30cef493cf198d58d53bc8d08d56fa1c/packages/rstack/binding.cjs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/465/{{ revealButtonHref }}
https://github.com/rstackjs/rstack-cli/pull/465/files#diff-933a3494c82c8ea7313f82ba95f3f99e5514043083622472347bceb29ec24264
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/465/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.