A winit project template for desktops and web
https://github.com/Talon1024/Glaive.git
A small template project for winit, which provides a setup compatible with native applications and WebAssembly.
To build your native app:
cargo build
To build the WebAssembly version:
wasm-pack build --target web
To test the WebAssembly version in a browser, run simple-http-server (get it here) in the project root directory, and open http://localhost:8000 in your browser.