1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Add example_web app

This commit is contained in:
Emil Ernerfeldt
2020-11-17 23:24:14 +01:00
parent 7e9b5de250
commit 0cb3bb791b
14 changed files with 272 additions and 64 deletions

17
example_web/Cargo.toml Normal file
View File

@@ -0,0 +1,17 @@
[package]
name = "example_web"
version = "0.1.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
license = "MIT OR Apache-2.0"
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
egui = { path = "../egui", features = ["serde"] }
egui_web = { path = "../egui_web" }
js-sys = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
wasm-bindgen = "0.2"