rust-dominator/Cargo.toml

80 lines
1.6 KiB
TOML

[package]
name = "dominator"
version = "0.5.24"
authors = ["Pauan <pauanyu+github@pm.me>"]
description = "Zero-cost ultra-high-performance declarative DOM library using FRP signals"
repository = "https://github.com/Pauan/rust-dominator"
homepage = "https://github.com/Pauan/rust-dominator"
readme = "README.md"
license = "MIT"
keywords = ["javascript", "dom", "reactive", "signal", "frp"]
categories = ["gui", "web-programming", "wasm"]
edition = "2018"
[features]
# TODO should this enable interning ?
default = ["wasm-bindgen/enable-interning"]
nightly = []
[dependencies]
once_cell = "1.7.2"
discard = "1.0.3"
pin-project = "1.0.1"
futures-channel = "0.3.0"
futures-util = "0.3.0"
futures-signals = "0.3.5"
wasm-bindgen = "0.2.48"
js-sys = "0.3.22"
wasm-bindgen-futures = "0.4.9"
[dependencies.web-sys]
version = "0.3.22"
features = [
"CharacterData",
"Comment",
"CssRule",
"CssRuleList",
"CssStyleDeclaration",
"CssStyleRule",
"CssStyleSheet",
"DataTransfer",
"Document",
"DomTokenList",
"DragEvent",
"Element",
"Event",
"EventTarget",
"FocusEvent",
"History",
"InputEvent",
"HtmlElement",
"HtmlHeadElement",
"HtmlInputElement",
"HtmlStyleElement",
"HtmlTextAreaElement",
"KeyboardEvent",
"Location",
"MouseEvent",
"AnimationEvent",
"WheelEvent",
"Node",
"PointerEvent",
"ShadowRoot",
"ShadowRootInit",
"ShadowRootMode",
"StyleSheet",
"SvgElement",
"Text",
"Touch",
"TouchEvent",
"TouchList",
"UiEvent",
"Window",
]
[profile.release]
debug-assertions = true
[profile.bench]
debug-assertions = true