2019-02-09 22:00:07 +00:00
|
|
|
[package]
|
2020-12-19 20:30:51 +00:00
|
|
|
name = "egui_demo"
|
2019-02-09 22:00:07 +00:00
|
|
|
version = "0.1.0"
|
2020-05-30 09:04:40 +00:00
|
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
2020-05-26 13:07:31 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-02-09 22:00:07 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2020-12-19 19:50:00 +00:00
|
|
|
egui = { path = "../egui", features = ["serde", "serde_json"] }
|
2020-12-19 20:30:51 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
|
|
|
# For compiling natively:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
egui_glium = { path = "../egui_glium" }
|
|
|
|
|
|
|
|
# For compiling to web:
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2020-07-30 10:14:51 +00:00
|
|
|
egui_web = { path = "../egui_web" }
|
2020-07-18 16:00:05 +00:00
|
|
|
js-sys = "0.3"
|
2019-02-09 22:00:07 +00:00
|
|
|
wasm-bindgen = "0.2"
|