An open API service indexing awesome lists of open source software.

https://github.com/talon1024/glaive

A winit project template for desktops and web
https://github.com/talon1024/glaive

Last synced: about 1 year ago
JSON representation

A winit project template for desktops and web

Awesome Lists containing this project

README

          

# Glaive

A small template project for [winit](https://github.com/rust-windowing/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][shs]) in the project root directory, and open `http://localhost:8000` in your browser.

[shs]: https://crates.io/crates/simple-http-server