This project demonstrates how to setup a rust project that uses wgpu to render a spinning triangle, supporting both webgl and webgpu wasm as well as native.
# native
cargo run -r
# webgpu
trunk serve --features webgpu --open
# webgl
trunk serve --features webgl --open