egui/egui_web/Cargo.toml

53 lines
1.1 KiB
TOML
Raw Normal View History

2018-12-30 20:08:29 +00:00
[package]
2020-07-17 09:05:57 +00:00
name = "egui_web"
2020-11-07 13:47:22 +00:00
version = "0.3.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for compiling Egui code to WASM for a web page"
license = "MIT OR Apache-2.0"
2018-12-30 20:08:29 +00:00
edition = "2018"
homepage = "https://github.com/emilk/egui"
2020-08-09 15:30:12 +00:00
readme = "README.md"
repository = "https://github.com/emilk/egui"
2020-08-09 15:30:12 +00:00
categories = ["gui", "graphics"]
keywords = ["wasm", "web", "egui", "gui", "gamedev"]
include = [ "**/*.rs", "Cargo.toml"]
2018-12-30 20:08:29 +00:00
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
2020-11-07 13:47:22 +00:00
egui = { version = "0.3.0", path = "../egui", features = ["serde"] }
2019-01-04 13:14:32 +00:00
js-sys = "0.3"
parking_lot = "0.11"
2018-12-30 20:08:29 +00:00
serde = "1"
serde_json = "1"
wasm-bindgen = "0.2"
2019-01-04 13:14:32 +00:00
[dependencies.web-sys]
version = "0.3"
features = [
'console',
2020-07-18 08:54:31 +00:00
'CssStyleDeclaration',
2019-01-04 13:14:32 +00:00
'Document',
'DomRect',
2019-01-04 13:14:32 +00:00
'Element',
'HtmlCanvasElement',
2020-07-18 08:54:31 +00:00
'HtmlElement',
'KeyboardEvent',
2020-07-18 08:54:31 +00:00
'Location',
'MouseEvent',
2019-01-06 15:34:01 +00:00
'Performance',
'Storage',
'Touch',
'TouchEvent',
'TouchList',
2019-01-04 13:14:32 +00:00
'WebGlBuffer',
'WebGlProgram',
'WebGlRenderingContext',
'WebGlShader',
2019-01-05 14:28:07 +00:00
'WebGlTexture',
2019-01-04 13:14:32 +00:00
'WebGlUniformLocation',
'WheelEvent',
2019-01-04 13:14:32 +00:00
'Window',
]