mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 00:11:45 +03:00
36 lines
740 B
TOML
36 lines
740 B
TOML
|
[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"
|