Adds WebTransport networking for both native and web using xwt. Also gets the web build working, had to disable scripting but that should hopefully be a solved problem soon.
This only adds the bare minimum of opening a WebTransport connection with the server, not the actual game logic that will use it. Web support has not actually been tested as I'm not sure how to get the browser's WebTransport to accept the local self signed https certs as valid (or if its possible), but everything compiles to wasm and the rest of the app seems to run fine in browser.
Also also did some refactoring with the crate structure - I split up the server into multiple crates, and removed the unavi-native crate (we now just use the unavi-app bin as the native build).
Adds WebTransport networking for both native and web using xwt. Also gets the web build working, had to disable scripting but that should hopefully be a solved problem soon.
This only adds the bare minimum of opening a WebTransport connection with the server, not the actual game logic that will use it. Web support has not actually been tested as I'm not sure how to get the browser's WebTransport to accept the local self signed https certs as valid (or if its possible), but everything compiles to wasm and the rest of the app seems to run fine in browser.
Also also did some refactoring with the crate structure - I split up the server into multiple crates, and removed the
unavi-native
crate (we now just use theunavi-app
bin as the native build).