dioxus/packages/web/Cargo.toml

97 lines
2.3 KiB
TOML
Raw Normal View History

2021-01-15 01:56:28 +00:00
[package]
name = "dioxus-web"
2023-05-18 11:42:15 +00:00
version = "0.3.2"
2021-12-15 21:04:27 +00:00
authors = ["Jonathan Kelley"]
2021-01-15 01:56:28 +00:00
edition = "2018"
2021-02-28 22:22:23 +00:00
description = "Dioxus VirtualDOM renderer for the web browser using websys"
license = "MIT/Apache-2.0"
2021-12-15 21:04:27 +00:00
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
2021-12-15 21:06:13 +00:00
keywords = ["dom", "ui", "gui", "react", "wasm"]
2021-01-15 01:56:28 +00:00
[dependencies]
dioxus-core = { path = "../core", version = "^0.3.0", features = ["serialize"] }
dioxus-html = { path = "../html", version = "^0.3.0", features = ["wasm-bind"] }
dioxus-interpreter-js = { path = "../interpreter", version = "^0.3.0", features = [
"sledgehammer",
"minimal_bindings",
] }
2022-02-04 06:56:54 +00:00
js-sys = "0.3.56"
wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] }
wasm-bindgen-futures = "0.4.29"
log = "0.4.14"
rustc-hash = "1.1.0"
2022-01-24 07:57:56 +00:00
console_error_panic_hook = { version = "0.1.7", optional = true }
2022-02-04 06:56:54 +00: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 05:49:04 +00:00
smallstr = "0.2.0"
futures-channel = "0.3.21"
serde_json = { version = "1.0" }
2022-12-08 16:44:56 +00:00
serde = { version = "1.0" }
serde-wasm-bindgen = "0.4.5"
2023-04-18 14:24:34 +00:00
async-trait = "0.1.58"
[dependencies.web-sys]
2022-02-04 06:56:54 +00:00
version = "0.3.56"
features = [
"Comment",
2021-07-05 05:11:49 +00:00
"Attr",
"Document",
"Element",
2021-08-06 02:23:41 +00:00
"CssStyleDeclaration",
"HtmlElement",
2021-02-26 17:58:03 +00:00
"HtmlInputElement",
2021-06-17 03:37:55 +00:00
"HtmlSelectElement",
"HtmlTextAreaElement",
"HtmlFormElement",
"EventTarget",
"HtmlCollection",
"Node",
"NodeList",
"Text",
"Window",
"Event",
"MouseEvent",
"InputEvent",
2021-04-02 01:44:18 +00:00
"ClipboardEvent",
2021-07-05 05:11:49 +00:00
"NamedNodeMap",
2021-04-02 01:44:18 +00:00
"KeyboardEvent",
"TouchEvent",
"WheelEvent",
"AnimationEvent",
"TransitionEvent",
"PointerEvent",
"FocusEvent",
"CompositionEvent",
2021-07-31 02:14:06 +00:00
"ClipboardEvent",
"DocumentType",
2021-02-17 15:53:55 +00:00
"CharacterData",
2021-07-21 21:05:48 +00:00
"SvgElement",
"SvgAnimatedString",
2021-02-26 17:58:03 +00:00
"HtmlOptionElement",
"IdleDeadline",
"WebSocket",
"Location",
"MessageEvent",
"console",
2023-04-18 14:24:34 +00:00
"FileList",
"File",
"FileReader"
2021-05-16 06:55:16 +00:00
]
2021-02-15 19:14:28 +00:00
2022-01-24 07:57:56 +00:00
[features]
2022-11-30 22:21:10 +00:00
default = ["panic_hook"]
2022-01-24 07:57:56 +00:00
panic_hook = ["console_error_panic_hook"]
hydrate = []
2021-11-19 05:49:04 +00:00
2022-01-07 05:33:09 +00:00
[dev-dependencies]
dioxus = { path = "../dioxus", version = "0.3.0" }
2022-02-04 06:56:54 +00:00
wasm-bindgen-test = "0.3.29"
dioxus-ssr = { path = "../ssr", version = "0.3.0"}
2022-02-16 19:40:45 +00:00
wasm-logger = "0.2.0"
dioxus-web = { path = ".", features = ["hydrate"] }