2019-10-06 22:47:17 +03:00
|
|
|
[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" }
|
2019-10-07 21:33:09 +03:00
|
|
|
nalgebra = { version = "0.18.1" }
|
2019-10-06 22:47:17 +03:00
|
|
|
|
|
|
|
# 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"
|