enso/lib/rust/ensogl/core/Cargo.toml

91 lines
2.4 KiB
TOML
Raw Normal View History

[package]
name = "ensogl-core"
version = "0.1.0"
authors = ["Enso Team <contact@enso.org>"]
2021-12-01 18:06:57 +03:00
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" }
2022-05-23 05:16:04 +03:00
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" }
2022-08-27 01:25:34 +03:00
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" }
2022-05-23 05:16:04 +03:00
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.
Profiling workflows (#3475) Define some workflows for batch-mode profiling. Implemented: - collapse nodes - create node - enter collapsed node - new project - open visualization They can currently be built and run with a command like: `./run.sh ide build --profiling-level=debug && dist/ide/linux-unpacked/enso --entry-point profile --workflow create_node --save-profile out.json` And the data can be displayed with: `dist/ide/linux-unpacked/enso --entry-point profiling_run_graph --load-profile out.json` Demo of recording and viewing a profile with a command-line one-liner: https://user-images.githubusercontent.com/1047859/169954795-2d9520ca-84f9-45d2-b83a-5063ebe6f718.mp4 See: https://www.pivotaltracker.com/story/show/182195399. # Important Notes - When defining workflows, two helpers are enough to allow us to tell when the action is really done: `Fixture::compile_new_shaders`, and `Fixture::backend_execution`. Often, it is appropriate to await both, but it depends on the task. - The shader compiler is now driven by a `Controller`; while the `Compiler` is reset if context is lost, the `Controller`'s state survives context loss. - A new `--load-profile` option supports specifying a profile by path when running `profiling_run_graph`. - Drop the `with_same_start` profiler interface; we ended up preferring a child profiler convention, and this interface was not implemented compatibly with the stricter data model we've had since the introduction of `profiler::data`. - Fix the noisy `rustfmt` output.
2022-06-01 21:01:16 +03:00
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" }