dioxus/packages/web/Cargo.toml

87 lines
2.3 KiB
TOML
Raw Normal View History

2021-01-14 20:56:28 -05:00
[package]
name = "dioxus-web"
version = "0.2.1"
2021-12-15 16:04:27 -05:00
authors = ["Jonathan Kelley"]
2021-01-14 20:56:28 -05:00
edition = "2018"
2021-02-28 17:22:23 -05:00
description = "Dioxus VirtualDOM renderer for the web browser using websys"
license = "MIT/Apache-2.0"
2021-12-15 16:04:27 -05:00
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
2021-12-15 16:06:13 -05:00
keywords = ["dom", "ui", "gui", "react", "wasm"]
2021-01-14 20:56:28 -05:00
[dependencies]
dioxus-core = { path = "../core", version = "^0.2.1", features = ["serialize"] }
dioxus-html = { path = "../html", version = "^0.2.1", features = ["wasm-bind"] }
dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.1", features = [
2022-05-05 16:50:33 -04:00
"web"
] }
2022-06-25 08:27:10 -05:00
dioxus-rsx-interpreter = { path = "../rsx_interpreter", version = "^0.1.0", optional = true }
2022-02-04 01:56:54 -05:00
js-sys = "0.3.56"
wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] }
wasm-bindgen-futures = "0.4.29"
log = { version = "0.4.14" }
fxhash = "0.2.1"
2022-01-24 02:57:56 -05:00
console_error_panic_hook = { version = "0.1.7", optional = true }
2022-02-04 01:56:54 -05:00
once_cell = "1.9.0"
anyhow = "1.0.53"
gloo-timers = { version = "0.2.3", features = ["futures"] }
futures-util = "0.3.19"
2021-11-19 00:49:04 -05:00
smallstr = "0.2.0"
serde-wasm-bindgen = "0.4.2"
futures-channel = "0.3.21"
2022-06-06 13:30:32 -05:00
serde_json = { version = "1.0", optional = true }
[dependencies.web-sys]
2022-02-04 01:56:54 -05:00
version = "0.3.56"
features = [
"Comment",
2021-07-05 01:11:49 -04:00
"Attr",
"Document",
"Element",
2021-08-05 22:23:41 -04:00
"CssStyleDeclaration",
"HtmlElement",
2021-02-26 12:58:03 -05:00
"HtmlInputElement",
2021-06-16 23:37:55 -04:00
"HtmlSelectElement",
"HtmlTextAreaElement",
"HtmlFormElement",
"EventTarget",
"HtmlCollection",
"Node",
"NodeList",
"Text",
"Window",
"Event",
"MouseEvent",
"InputEvent",
2021-04-01 21:44:18 -04:00
"ClipboardEvent",
2021-07-05 01:11:49 -04:00
"NamedNodeMap",
2021-04-01 21:44:18 -04:00
"KeyboardEvent",
"TouchEvent",
"WheelEvent",
"AnimationEvent",
"TransitionEvent",
"PointerEvent",
"FocusEvent",
"CompositionEvent",
2021-07-30 22:14:06 -04:00
"ClipboardEvent",
"DocumentType",
2021-02-17 10:53:55 -05:00
"CharacterData",
2021-07-21 17:05:48 -04:00
"SvgElement",
"SvgAnimatedString",
2021-02-26 12:58:03 -05:00
"HtmlOptionElement",
"IdleDeadline",
2021-05-16 02:55:16 -04:00
]
2021-02-15 14:14:28 -05:00
2022-01-24 02:57:56 -05:00
[features]
default = ["panic_hook"]
panic_hook = ["console_error_panic_hook"]
2022-06-26 14:23:19 +08:00
hot-reload = ["dioxus-rsx-interpreter", "web-sys/WebSocket", "web-sys/Location", "web-sys/MessageEvent", "web-sys/console", "serde_json"]
2021-11-19 00:49:04 -05:00
2022-01-07 00:33:09 -05:00
[dev-dependencies]
2022-06-25 08:27:10 -05:00
dioxus = { path = "../rsx-prelude", version = "^0.1.0", package = "rsx-prelude" }
2022-02-04 01:56:54 -05:00
wasm-bindgen-test = "0.3.29"
2022-01-07 00:33:09 -05:00
dioxus-ssr = { path = "../ssr" }
2022-02-16 14:40:45 -05:00
wasm-logger = "0.2.0"