[{"data":1,"prerenderedAt":451},["ShallowReactive",2],{"navigation":3,"\u002Fguides\u002Fcontributing":129,"\u002Fguides\u002Fcontributing-surround":446},[4,27,65,107,125],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":26},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18,22],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":23,"path":24,"stem":25},"MSRV","\u002Fgetting-started\u002Fmsrv","1.getting-started\u002F9.msrv",false,{"title":28,"icon":29,"path":30,"stem":31,"children":32,"page":26},"Client","i-lucide-plug-zap","\u002Fclient","2.client",[33,37,41,45,49,53,57,61],{"title":34,"path":35,"stem":36},"Configuration","\u002Fclient\u002Fconfiguration","2.client\u002F1.configuration",{"title":38,"path":39,"stem":40},"Events and acks","\u002Fclient\u002Fevents-and-acks","2.client\u002F2.events-and-acks",{"title":42,"path":43,"stem":44},"Connection state","\u002Fclient\u002Fconnection-state","2.client\u002F3.connection-state",{"title":46,"path":47,"stem":48},"Transports and proxies","\u002Fclient\u002Ftransports-and-proxies","2.client\u002F4.transports-and-proxies",{"title":50,"path":51,"stem":52},"TLS","\u002Fclient\u002Ftls","2.client\u002F5.tls",{"title":54,"path":55,"stem":56},"Errors","\u002Fclient\u002Ferrors","2.client\u002F6.errors",{"title":58,"path":59,"stem":60},"Debugging","\u002Fclient\u002Fdebugging","2.client\u002F7.debugging",{"title":62,"path":63,"stem":64},"Blocking client","\u002Fclient\u002Fblocking","2.client\u002F8.blocking",{"title":66,"icon":67,"path":68,"stem":69,"children":70,"page":26},"Tauri plugin","i-simple-icons-tauri","\u002Ftauri","3.tauri",[71,75,79,83,87,91,95,99,103],{"title":72,"path":73,"stem":74},"Setup","\u002Ftauri\u002Fsetup","3.tauri\u002F1.setup",{"title":76,"path":77,"stem":78},"JavaScript API","\u002Ftauri\u002Fjavascript-api","3.tauri\u002F2.javascript-api",{"title":80,"path":81,"stem":82},"Rust API","\u002Ftauri\u002Frust-api","3.tauri\u002F3.rust-api",{"title":84,"path":85,"stem":86},"Permissions","\u002Ftauri\u002Fpermissions","3.tauri\u002F4.permissions",{"title":88,"path":89,"stem":90},"Security","\u002Ftauri\u002Fsecurity","3.tauri\u002F5.security",{"title":92,"path":93,"stem":94},"Messages and errors","\u002Ftauri\u002Fmessages-and-errors","3.tauri\u002F6.messages-and-errors",{"title":96,"path":97,"stem":98},"Troubleshooting","\u002Ftauri\u002Ftroubleshooting","3.tauri\u002F7.troubleshooting",{"title":100,"path":101,"stem":102},"Example app","\u002Ftauri\u002Fexample","3.tauri\u002F8.example",{"title":104,"path":105,"stem":106},"Plugin changelog","\u002Ftauri\u002Fchangelog","3.tauri\u002F9.changelog",{"title":108,"icon":109,"path":110,"stem":111,"children":112,"page":26},"Guides","i-lucide-book-open","\u002Fguides","4.guides",[113,117,121],{"title":114,"path":115,"stem":116},"Migration from rust_socketio","\u002Fguides\u002Fmigration","4.guides\u002F1.migration",{"title":118,"path":119,"stem":120},"Comparison","\u002Fguides\u002Fcomparison","4.guides\u002F2.comparison",{"title":122,"path":123,"stem":124},"Contributing","\u002Fguides\u002Fcontributing","4.guides\u002F3.contributing",{"title":126,"path":127,"stem":128},"Changelog","\u002Fchangelog","9.changelog",{"id":130,"title":122,"body":131,"description":439,"extension":440,"links":441,"meta":442,"navigation":443,"path":123,"seo":444,"stem":124,"__hash__":445},"docs\u002F4.guides\u002F3.contributing.md",{"type":132,"value":133,"toc":434},"minimark",[134,152,237,344,349,364,368,379,383,398,423,430],[135,136,137,138,148,149,151],"p",{},"Every task is a ",[139,140,144],"a",{"href":141,"rel":142},"https:\u002F\u002Fgithub.com\u002Fcasey\u002Fjust",[143],"nofollow",[145,146,147],"code",{},"just"," recipe; ",[145,150,147],{}," lists them. CI runs the same recipes.",[153,154,159],"pre",{"className":155,"code":156,"language":157,"meta":158,"style":158},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","cargo install just cargo-hack cargo-nextest cargo-deny cargo-shear cargo-semver-checks cargo-sweep\njust servers-setup   # npm packages of the Node test servers, test certificates\njust servers         # start them (ports 4200-4206, 4210-4213; no Docker)\njust ci              # fmt, cargo-shear + clippy per feature set, tests, docs, cargo-deny, package, plugin\njust servers-stop\n","sh","",[145,160,161,195,207,218,229],{"__ignoreMap":158},[162,163,166,170,174,177,180,183,186,189,192],"span",{"class":164,"line":165},"line",1,[162,167,169],{"class":168},"sBMFI","cargo",[162,171,173],{"class":172},"sfazB"," install",[162,175,176],{"class":172}," just",[162,178,179],{"class":172}," cargo-hack",[162,181,182],{"class":172}," cargo-nextest",[162,184,185],{"class":172}," cargo-deny",[162,187,188],{"class":172}," cargo-shear",[162,190,191],{"class":172}," cargo-semver-checks",[162,193,194],{"class":172}," cargo-sweep\n",[162,196,198,200,203],{"class":164,"line":197},2,[162,199,147],{"class":168},[162,201,202],{"class":172}," servers-setup",[162,204,206],{"class":205},"sHwdD","   # npm packages of the Node test servers, test certificates\n",[162,208,210,212,215],{"class":164,"line":209},3,[162,211,147],{"class":168},[162,213,214],{"class":172}," servers",[162,216,217],{"class":205},"         # start them (ports 4200-4206, 4210-4213; no Docker)\n",[162,219,221,223,226],{"class":164,"line":220},4,[162,222,147],{"class":168},[162,224,225],{"class":172}," ci",[162,227,228],{"class":205},"              # fmt, cargo-shear + clippy per feature set, tests, docs, cargo-deny, package, plugin\n",[162,230,232,234],{"class":164,"line":231},5,[162,233,147],{"class":168},[162,235,236],{"class":172}," servers-stop\n",[238,239,240,253],"table",{},[241,242,243],"thead",{},[244,245,246,250],"tr",{},[247,248,249],"th",{},"Recipe",[247,251,252],{},"What",[254,255,256,267,277,287,297,307,317,330],"tbody",{},[244,257,258,264],{},[259,260,261],"td",{},[145,262,263],{},"just test",[259,265,266],{},"all tests (cargo nextest) and doctests, then the crate per feature",[244,268,269,274],{},[259,270,271],{},[145,272,273],{},"just test-offline",[259,275,276],{},"the codec models and the unit tests that need no server",[244,278,279,284],{},[259,280,281],{},[145,282,283],{},"just load [clients] [events] [transport]",[259,285,286],{},"many clients and events against a plain socket.io 4.8 server, then the in-process fake; every reply checked",[244,288,289,294],{},[259,290,291],{},[145,292,293],{},"just plugin",[259,295,296],{},"the Tauri plugin: Rust tests and guest-js (typecheck, vitest, build); needs pnpm",[244,298,299,304],{},[259,300,301],{},[145,302,303],{},"just plugin-example",[259,305,306],{},"builds the example Tauri app",[244,308,309,314],{},[259,310,311],{},[145,312,313],{},"just msrv",[259,315,316],{},"the crate and the plugin on Rust 1.85 with a lockfile resolved for it",[244,318,319,324],{},[259,320,321],{},[145,322,323],{},"just example \u003Cname>",[259,325,326,327],{},"runs an example from ",[145,328,329],{},"examples\u002Fsrc\u002Fbin",[244,331,332,341],{},[259,333,334,337,338],{},[145,335,336],{},"just docs-dev"," \u002F ",[145,339,340],{},"just docs-build",[259,342,343],{},"this documentation site",[345,346,348],"h2",{"id":347},"tests","Tests",[135,350,351,352,355,356,359,360,363],{},"Models (proptest), stories and the differential corpus, one test binary per crate (",[145,353,354],{},"tests\u002Fit\u002F","); ",[145,357,358],{},"TESTING.md"," in the repository has the layout and the rules. Most stories run against the in-process fake servers of ",[145,361,362],{},"socketio-next-testing","; the Node servers are needed for the differential tests, recovery, cookies and TLS.",[345,365,367],{"id":366},"ci","CI",[135,369,370,371,374,375,378],{},"Every push to ",[145,372,373],{},"main"," and every pull request runs the tests on Linux, macOS and Windows, plus fmt, docs, cargo-deny, the package check and MSRV. A manual run (Actions → CI → Run workflow) with an empty version runs the extended checks; with a version it releases (",[145,376,377],{},"PUBLISHING.md",").",[345,380,382],{"id":381},"documentation-site","Documentation site",[135,384,385,386,389,390,393,394,397],{},"The site lives in ",[145,387,388],{},"docs\u002F"," (Nuxt, Nuxt Content, Nuxt UI) and is not part of the Cargo workspace or the published packages. Pages are Markdown under ",[145,391,392],{},"docs\u002Fcontent\u002F","; the changelogs and MSRV page are copied from the repository root by ",[145,395,396],{},"docs\u002Fscripts\u002Fsync.mjs",".",[153,399,401],{"className":155,"code":400,"language":157,"meta":158,"style":158},"just docs-dev     # http:\u002F\u002Flocalhost:3000\njust docs-build   # static site in docs\u002F.output\u002Fpublic\n",[145,402,403,413],{"__ignoreMap":158},[162,404,405,407,410],{"class":164,"line":165},[162,406,147],{"class":168},[162,408,409],{"class":172}," docs-dev",[162,411,412],{"class":205},"     # http:\u002F\u002Flocalhost:3000\n",[162,414,415,417,420],{"class":164,"line":197},[162,416,147],{"class":168},[162,418,419],{"class":172}," docs-build",[162,421,422],{"class":205},"   # static site in docs\u002F.output\u002Fpublic\n",[135,424,425,426,429],{},"It is deployed to GitHub Pages by the ",[145,427,428],{},"docs"," workflow, which only runs by hand (Actions → docs → Run workflow).",[431,432,433],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":158,"searchDepth":197,"depth":209,"links":435},[436,437,438],{"id":347,"depth":197,"text":348},{"id":366,"depth":197,"text":367},{"id":381,"depth":197,"text":382},"The justfile, the Node test servers, CI and the docs site.","md",null,{},true,{"title":122,"description":439},"OGMmzGqteR2TIpBaPvtTkZbdw_NM-vJxxEZIk7n81I8",[447,449],{"title":118,"path":119,"stem":120,"description":448,"children":-1},"Parity with socket.io-client 4.8, what is not implemented, and other Rust clients.",{"title":126,"path":127,"stem":128,"description":450,"children":-1},"All notable changes to socketio-next.",1795285664283]