rust-dominator/examples/animation/Cargo.toml

38 lines
736 B
TOML
Raw Permalink Normal View History

[package]
name = "animation"
version = "0.1.0"
description = "Animation demo using dominator"
2020-03-11 09:23:41 -04:00
authors = ["Pauan <pauanyu+github@pm.me>"]
categories = ["wasm"]
readme = "README.md"
license = "MIT"
edition = "2018"
[profile.release]
lto = true
2021-07-30 16:27:19 -04:00
codegen-units = 1
opt-level = 3 # 3 => fast, s/z => small
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-O4"] # O4 => fast, Oz/Os => small
[lib]
crate-type = ["cdylib"]
2021-05-28 07:14:35 -04:00
[workspace]
[dependencies]
2021-05-28 07:14:35 -04:00
console_error_panic_hook = "0.1.6"
dominator = "0.5.18"
wasm-bindgen = "0.2.74"
futures = "0.3.15"
futures-signals = "0.3.20"
gloo-timers = { version = "0.2.1", features = ["futures"] }
once_cell = "1.7.2"
[dependencies.web-sys]
2021-05-28 07:14:35 -04:00
version = "0.3.51"
2019-08-28 23:17:47 -04:00
features = [
"console",
]