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
- Host: GitHub
- URL: https://github.com/talon1024/glaive
- Owner: Talon1024
- License: apache-2.0
- Created: 2023-01-23T23:01:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T15:37:25.000Z (over 3 years ago)
- Last Synced: 2025-04-04T11:38:52.489Z (over 1 year ago)
- Language: Rust
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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