2019-10-06 22:47:17 +03:00
|
|
|
[package]
|
|
|
|
name = "basegl"
|
|
|
|
version = "0.1.0"
|
2019-11-27 20:04:33 +03:00
|
|
|
authors = ["Enso Team <contact@luna-lang.org>"]
|
2019-10-06 22:47:17 +03:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
2019-11-22 04:40:30 +03:00
|
|
|
crate-type = ["rlib", "cdylib"]
|
2019-10-06 22:47:17 +03:00
|
|
|
|
|
|
|
[features]
|
2020-01-15 17:47:44 +03:00
|
|
|
default = ["statistics", "no_unboxed_callbacks"]
|
|
|
|
statistics = []
|
2019-11-27 20:04:33 +03:00
|
|
|
no_unboxed_callbacks = []
|
2019-10-06 22:47:17 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2020-01-15 17:47:44 +03:00
|
|
|
basegl-core-embedded-fonts = { version = "0.1.0" , path = "embedded-fonts" }
|
|
|
|
basegl-core-msdf-sys = { version = "0.1.0" , path = "msdf-sys" }
|
2020-01-29 23:30:09 +03:00
|
|
|
enso-prelude = { version = "0.1.0" , path = "../prelude" }
|
2020-01-15 17:47:44 +03:00
|
|
|
basegl-system-web = { version = "0.1.0" , path = "../system/web" }
|
|
|
|
code-builder = { version = "0.1.0" , path = "../code-builder" }
|
|
|
|
data = { version = "0.1.0" , path = "../data" }
|
2020-02-26 22:12:38 +03:00
|
|
|
enso-frp = { version = "0.1.0" , path = "../frp" }
|
2019-12-04 00:46:38 +03:00
|
|
|
eval-tt = { version = "0.1.0" , path = "../eval-tt" }
|
2020-01-15 17:47:44 +03:00
|
|
|
logger = { version = "0.1.0" , path = "../logger" }
|
2019-12-04 00:46:38 +03:00
|
|
|
optics = { version = "0.1.0" , path = "../optics" }
|
|
|
|
shapely = { version = "0.1.0" , path = "../shapely/impl" }
|
2020-01-15 17:47:44 +03:00
|
|
|
|
2020-03-05 08:25:00 +03:00
|
|
|
bit_field = { version = "0.10.0" }
|
|
|
|
console_error_panic_hook = { version = "0.1.6" }
|
|
|
|
enum_dispatch = { version = "0.2.0" }
|
|
|
|
failure = { version = "0.1.5" }
|
|
|
|
Inflector = { version = "0.11.4" }
|
|
|
|
itertools = { version = "0.8" }
|
|
|
|
js-sys = { version = "0.3.28" }
|
|
|
|
nalgebra = { version = "0.19.0" }
|
|
|
|
num_enum = { version = "0.4.2" }
|
|
|
|
paste = { version = "0.1.6" }
|
|
|
|
palette = { version = "0.5.0" }
|
|
|
|
rustc-hash = { version = "1.0.1" }
|
|
|
|
shrinkwraprs = { version = "0.3.0" }
|
|
|
|
smallvec = { version = "1.0.0" }
|
|
|
|
typenum = { version = "1.11.2" }
|
|
|
|
# We require exact version of wasm-bindgen because we do patching final js in our build process, and this is vulnerable
|
|
|
|
# to any wasm-bindgen version change.
|
|
|
|
wasm-bindgen = { version = "=0.2.58" , features = ["nightly"] }
|
2019-10-06 22:47:17 +03:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3.4"
|
|
|
|
features = [
|
2020-01-03 16:29:57 +03:00
|
|
|
'CanvasRenderingContext2d',
|
2019-11-22 04:40:30 +03:00
|
|
|
'CssStyleDeclaration',
|
2020-01-08 17:26:36 +03:00
|
|
|
'Document',
|
|
|
|
'Element',
|
|
|
|
'EventTarget',
|
|
|
|
'KeyboardEvent',
|
2019-10-06 22:47:17 +03:00
|
|
|
'HtmlCanvasElement',
|
2020-01-08 17:26:36 +03:00
|
|
|
'HtmlCollection',
|
2020-02-11 02:47:03 +03:00
|
|
|
'HtmlDivElement',
|
2020-01-08 17:26:36 +03:00
|
|
|
'HtmlElement',
|
2020-01-15 17:47:44 +03:00
|
|
|
'HtmlImageElement',
|
|
|
|
'Location',
|
2020-01-08 17:26:36 +03:00
|
|
|
'Node',
|
2020-01-15 17:47:44 +03:00
|
|
|
'Url',
|
2019-10-06 22:47:17 +03:00
|
|
|
'WebGlBuffer',
|
2020-01-22 17:38:24 +03:00
|
|
|
'WebGlFramebuffer',
|
2019-10-06 22:47:17 +03:00
|
|
|
'WebGlProgram',
|
2020-01-08 17:26:36 +03:00
|
|
|
'WebGlRenderingContext',
|
2019-10-06 22:47:17 +03:00
|
|
|
'WebGlShader',
|
2020-01-22 17:38:24 +03:00
|
|
|
'WebGlSync',
|
2020-01-08 17:26:36 +03:00
|
|
|
'WebGlTexture',
|
|
|
|
'WebGlUniformLocation',
|
2019-12-04 00:46:38 +03:00
|
|
|
'WebGlUniformLocation',
|
2019-12-22 02:46:13 +03:00
|
|
|
'WebGlVertexArrayObject',
|
2019-10-06 22:47:17 +03:00
|
|
|
'Window',
|
2020-01-09 09:17:39 +03:00
|
|
|
'console',
|
|
|
|
'EventTarget',
|
|
|
|
'Event',
|
|
|
|
'MouseEvent',
|
|
|
|
'WheelEvent',
|
|
|
|
'DomRect',
|
|
|
|
'AddEventListenerOptions'
|
2019-10-06 22:47:17 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-03-05 08:25:00 +03:00
|
|
|
wasm-bindgen-test = { version = "0.3.8" }
|
|
|
|
web-test = { version = "0.1.0", path = "../web-test" }
|