2021-01-15 01:56:28 +00:00
|
|
|
[package]
|
|
|
|
name = "dioxus-web"
|
2023-08-01 01:49:54 +00:00
|
|
|
version = { workspace = true }
|
2021-12-15 21:04:27 +00:00
|
|
|
authors = ["Jonathan Kelley"]
|
2021-01-15 01:56:28 +00:00
|
|
|
edition = "2018"
|
2023-07-08 16:04:27 +00:00
|
|
|
description = "Web renderer for Dioxus using websys"
|
2023-07-20 17:00:07 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-15 21:04:27 +00:00
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
2023-09-16 17:03:27 +00:00
|
|
|
homepage = "https://dioxuslabs.com/learn/0.4/getting_started/wasm"
|
2021-12-15 21:06:13 +00:00
|
|
|
keywords = ["dom", "ui", "gui", "react", "wasm"]
|
2021-01-15 01:56:28 +00:00
|
|
|
|
2021-01-16 06:30:48 +00:00
|
|
|
[dependencies]
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
2023-08-04 17:51:17 +00:00
|
|
|
dioxus-html = { workspace = true, features = ["wasm-bind"] }
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-interpreter-js = { workspace = true, features = [
|
2023-06-04 16:29:34 +00:00
|
|
|
"sledgehammer",
|
|
|
|
"minimal_bindings",
|
2022-03-17 14:51:23 +00:00
|
|
|
] }
|
2022-03-09 19:24:05 +00:00
|
|
|
|
2022-02-04 06:56:54 +00:00
|
|
|
js-sys = "0.3.56"
|
2023-06-19 19:29:11 +00:00
|
|
|
wasm-bindgen = { workspace = true, features = ["enable-interning"] }
|
2022-02-04 06:56:54 +00:00
|
|
|
wasm-bindgen-futures = "0.4.29"
|
2023-09-06 22:47:33 +00:00
|
|
|
tracing = { workspace = true }
|
2023-06-19 19:29:11 +00:00
|
|
|
rustc-hash = { workspace = true }
|
2022-01-24 07:57:56 +00:00
|
|
|
console_error_panic_hook = { version = "0.1.7", optional = true }
|
2023-06-19 19:57:58 +00:00
|
|
|
futures-util = { workspace = true, features = ["std", "async-await", "async-await-macro"] }
|
2023-06-19 19:29:11 +00:00
|
|
|
futures-channel = { workspace = true }
|
2022-09-30 19:03:06 +00:00
|
|
|
serde_json = { version = "1.0" }
|
2022-12-08 16:44:56 +00:00
|
|
|
serde = { version = "1.0" }
|
2023-07-21 22:36:25 +00:00
|
|
|
serde-wasm-bindgen = "0.5.0"
|
2023-04-18 14:24:34 +00:00
|
|
|
async-trait = "0.1.58"
|
2023-07-21 22:36:25 +00:00
|
|
|
async-channel = "1.8.0"
|
2022-02-01 20:44:08 +00:00
|
|
|
|
2021-01-16 06:30:48 +00:00
|
|
|
[dependencies.web-sys]
|
2022-02-04 06:56:54 +00:00
|
|
|
version = "0.3.56"
|
2021-01-16 06:30:48 +00:00
|
|
|
features = [
|
|
|
|
"Document",
|
|
|
|
"HtmlElement",
|
2021-02-26 17:58:03 +00:00
|
|
|
"HtmlInputElement",
|
2021-06-17 03:37:55 +00:00
|
|
|
"HtmlSelectElement",
|
|
|
|
"HtmlTextAreaElement",
|
2022-01-22 19:53:59 +00:00
|
|
|
"HtmlFormElement",
|
2021-01-16 06:30:48 +00:00
|
|
|
"Text",
|
|
|
|
"Window",
|
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]
|
2023-07-28 22:38:07 +00:00
|
|
|
default = ["panic_hook", "mounted", "file_engine", "hot_reload", "eval"]
|
2022-01-24 07:57:56 +00:00
|
|
|
panic_hook = ["console_error_panic_hook"]
|
2023-07-28 22:38:07 +00:00
|
|
|
hydrate = [
|
|
|
|
"web-sys/Comment",
|
|
|
|
"web-sys/console",
|
|
|
|
]
|
|
|
|
mounted = [
|
|
|
|
"web-sys/Element",
|
|
|
|
"dioxus-html/mounted"
|
|
|
|
]
|
|
|
|
file_engine = [
|
|
|
|
"web-sys/File",
|
|
|
|
"web-sys/FileList",
|
|
|
|
"web-sys/FileReader",
|
|
|
|
]
|
|
|
|
hot_reload = [
|
|
|
|
"web-sys/MessageEvent",
|
|
|
|
"web-sys/WebSocket",
|
|
|
|
"web-sys/Location",
|
|
|
|
]
|
|
|
|
eval = []
|
2021-11-19 05:49:04 +00:00
|
|
|
|
2022-01-07 05:33:09 +00:00
|
|
|
[dev-dependencies]
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus = { workspace = true }
|
2022-02-04 06:56:54 +00:00
|
|
|
wasm-bindgen-test = "0.3.29"
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-ssr = { workspace = true}
|
2022-02-16 19:40:45 +00:00
|
|
|
wasm-logger = "0.2.0"
|
2023-04-09 14:54:18 +00:00
|
|
|
gloo-timers = "0.2.3"
|
|
|
|
gloo-dialogs = "0.1.1"
|
2023-08-01 01:49:54 +00:00
|
|
|
dioxus-web = { path = ".", features = ["hydrate"] }
|
2023-09-12 14:07:57 +00:00
|
|
|
tracing-wasm = "0.2.1"
|