enso/lib/rust/ensogl/example/grid-view/Cargo.toml
Michał Wawrzyniec Urbańczyk 6a56ceb147
Disable wasm-opt for all the entry point crates (#3734)
This PR disables the wasm-opt optimization in the crates that can be used as WASM entry points. Unfortunately, wasm-pack does not allow for disabling wasm-opt through a command line flag, so we have to disable it by setting an appropriate flag in each Cargo.toml.
2022-09-23 22:01:06 +02:00

23 lines
738 B
TOML

[package]
name = "ensogl-example-grid-view"
version = "0.1.0"
authors = ["Enso Team <contact@enso.org>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
enso-frp = { path = "../../../frp" }
ensogl-core = { path = "../../core" }
ensogl-hardcoded-theme = { path = "../../app/theme/hardcoded" }
ensogl-grid-view = { path = "../../component/grid-view" }
ensogl-text-msdf = { path = "../../component/text/src/font/msdf" }
enso-text = { path = "../../../text" }
wasm-bindgen = { version = "0.2.78", features = ["nightly"] }
itertools = "0.10.3"
# Stop wasm-pack from running wasm-opt, because we run it from our build scripts in order to customize options.
[package.metadata.wasm-pack.profile.release]
wasm-opt = false