web-sys-main-loop 0.1.8

Provides a main loop (or game loop) for web_sys windows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[package]
name = "web-sys-main-loop"
authors = ["arongeo"]
description = "Provides a main loop (or game loop) for web_sys windows"
repository = "https://github.com/arongeo/web-sys-main-loop"
version = "0.1.8"
edition = "2021"
license = "Apache-2.0"
keywords = ["gamedev", "web_sys", "gameloop", "wasm", "input"]
categories = ["game-development", "development-tools", "wasm", "web-programming"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
wasm-bindgen = "0.2.90"
web-sys = { version = "0.3.67", features = ["Document", "Window", "HtmlCanvasElement", "WebGl2RenderingContext", "KeyboardEvent", "MouseEvent"]}