mirror of
https://github.com/enso-org/enso.git
synced 2025-01-09 04:30:59 +03:00
45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
|
[package]
|
||
|
name = "basegl"
|
||
|
version = "0.1.0"
|
||
|
authors = ["Wojciech Danilo <wojciech.danilo@gmail.com>"]
|
||
|
edition = "2018"
|
||
|
|
||
|
[lib]
|
||
|
crate-type = ["cdylib"]
|
||
|
|
||
|
[features]
|
||
|
default = ["console_error_panic_hook"]
|
||
|
|
||
|
[dependencies]
|
||
|
basegl-prelude = { version = "0.1.0" , path = "../prelude" }
|
||
|
basegl-system-web = { version = "0.1.0" , path = "../system/web" }
|
||
|
basegl-backend-webgl = { version = "0.1.0" , path = "../backend/webgl" }
|
||
|
wasm-bindgen = { version = "^0.2" , features = ["nightly"] }
|
||
|
js-sys = { version = "0.3.28" }
|
||
|
failure = { version = "0.1.5" }
|
||
|
derive_more = { version = "0.15.0" }
|
||
|
shrinkwraprs = { version = "0.2.1" }
|
||
|
itertools = { version = "0.8" }
|
||
|
|
||
|
# TODO: disable for release
|
||
|
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"
|
||
|
|
||
|
[profile.release]
|
||
|
opt-level = 3
|