enso/gui/lib/system/web/Cargo.toml

36 lines
740 B
TOML
Raw Normal View History

[package]
name = "basegl-system-web"
version = "0.1.0"
authors = ["Wojciech Danilo <wojciech.danilo@gmail.com>"]
edition = "2018"
[lib]
[features]
default = ["console_error_panic_hook"]
[dependencies]
basegl-prelude = { version = "0.1.0" , path = "../../prelude" }
js-sys = { version = "0.3.28" }
wasm-bindgen = { version = "^0.2" , features = ["nightly"] }
failure = { version = "0.1.5" }
console_error_panic_hook = { version = "0.1.1", optional = true }
[dependencies.web-sys]
version = "0.3.4"
features = [
'Document',
'Element',
'HtmlCanvasElement',
'WebGlBuffer',
'WebGlRenderingContext',
'WebGlProgram',
'WebGlShader',
'Window',
'console'
]
[dev-dependencies]
wasm-bindgen-test = "0.2"