mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 02:01:47 +03:00
9361cfe3ff
Implements [#83453449](https://www.pivotaltracker.com/story/show/183453449). https://user-images.githubusercontent.com/1428930/197791213-f2e0ec69-5fe0-4482-aaaa-673ca5fcacc9.mp4 # Important Notes * refactors some part of the visualization API to allow integration of EnsoGL UI components that require access to an `Applciation` struct (instead of just a `Scene` which was available before) * extends the JS API mock library
91 lines
2.4 KiB
TOML
91 lines
2.4 KiB
TOML
[package]
|
|
name = "ensogl-core"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["rlib", "cdylib"]
|
|
|
|
[features]
|
|
default = ["statistics", "no_unboxed_callbacks"]
|
|
statistics = []
|
|
no_unboxed_callbacks = []
|
|
|
|
[dependencies]
|
|
code-builder = { path = "../../code-builder" }
|
|
enso-callback = { path = "../../callback" }
|
|
enso-data-structures = { path = "../../data-structures" }
|
|
enso-debug-api = { path = "../../debug-api" }
|
|
enso-frp = { path = "../../frp" }
|
|
enso-generics = { path = "../../generics" }
|
|
enso-logger = { path = "../../logger" }
|
|
enso-prelude = { path = "../../prelude" }
|
|
enso-profiler = { path = "../../profiler" }
|
|
enso-shapely = { path = "../../shapely" }
|
|
enso-shortcuts = { path = "../../shortcuts" }
|
|
enso-types = { path = "../../types" }
|
|
enso-web = { path = "../../web" }
|
|
ensogl-text-embedded-fonts = { path = "../component/text/src/font/embedded" }
|
|
bit_field = { version = "0.10.0" }
|
|
console_error_panic_hook = { version = "0.1.6" }
|
|
enum_dispatch = { version = "0.3.6" }
|
|
failure = { version = "0.1.5" }
|
|
Inflector = { version = "0.11.4" }
|
|
itertools = { version = "0.10.0" }
|
|
js-sys = { version = "0.3.28" }
|
|
nalgebra = { version = "0.26.1" }
|
|
num_enum = { version = "0.5.1" }
|
|
num-traits = { version = "0.2" }
|
|
rustc-hash = { version = "1.0.1" }
|
|
semver = { version = "1.0.9" }
|
|
serde = { version = "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.78", features = ["nightly"] }
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3.4"
|
|
features = [
|
|
'CanvasRenderingContext2d',
|
|
'CssStyleDeclaration',
|
|
'Document',
|
|
'Element',
|
|
'EventTarget',
|
|
'KeyboardEvent',
|
|
'HtmlCanvasElement',
|
|
'HtmlCollection',
|
|
'HtmlDivElement',
|
|
'HtmlElement',
|
|
'HtmlImageElement',
|
|
'Location',
|
|
'Node',
|
|
'Url',
|
|
'WebGlBuffer',
|
|
'WebGlFramebuffer',
|
|
'WebGlProgram',
|
|
'WebGlRenderingContext',
|
|
'WebGlShader',
|
|
'WebGlSync',
|
|
'WebGlTexture',
|
|
'WebGlUniformLocation',
|
|
'WebGlUniformLocation',
|
|
'WebGlVertexArrayObject',
|
|
'Window',
|
|
'console',
|
|
'EventTarget',
|
|
'Event',
|
|
'MouseEvent',
|
|
'WheelEvent',
|
|
'DomRect',
|
|
'AddEventListenerOptions',
|
|
'HtmlHeadElement',
|
|
"TextMetrics",
|
|
]
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = { version = "0.3.8" }
|