2021-01-14 20:56:28 -05:00
|
|
|
[package]
|
|
|
|
name = "dioxus-web"
|
2023-07-31 18:49:54 -07:00
|
|
|
version = { workspace = true }
|
2021-12-15 16:04:27 -05:00
|
|
|
authors = ["Jonathan Kelley"]
|
2024-01-18 19:27:55 -08:00
|
|
|
edition = "2021"
|
2023-07-08 18:04:27 +02:00
|
|
|
description = "Web renderer for Dioxus using websys"
|
2023-07-20 18:00:07 +01:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-15 16:04:27 -05:00
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
2024-03-27 20:42:07 -05:00
|
|
|
homepage = "https://dioxuslabs.com/learn/0.5/getting_started"
|
2021-12-15 16:06:13 -05:00
|
|
|
keywords = ["dom", "ui", "gui", "react", "wasm"]
|
2021-01-14 20:56:28 -05:00
|
|
|
|
2021-01-16 01:30:48 -05:00
|
|
|
[dependencies]
|
2024-07-02 05:50:36 +02:00
|
|
|
dioxus-core = { workspace = true }
|
2023-08-04 10:51:17 -07:00
|
|
|
dioxus-html = { workspace = true, features = ["wasm-bind"] }
|
2023-06-19 14:29:11 -05:00
|
|
|
dioxus-interpreter-js = { workspace = true, features = [
|
2023-06-04 12:29:34 -04:00
|
|
|
"minimal_bindings",
|
2024-01-18 19:27:55 -08:00
|
|
|
"webonly",
|
2022-03-17 10:51:23 -04:00
|
|
|
] }
|
2024-02-02 14:47:59 -06:00
|
|
|
generational-box = { workspace = true }
|
2022-03-09 14:24:05 -05:00
|
|
|
|
2022-02-04 01:56:54 -05:00
|
|
|
js-sys = "0.3.56"
|
2024-01-06 16:56:07 -06:00
|
|
|
wasm-bindgen = { workspace = true }
|
2022-02-04 01:56:54 -05:00
|
|
|
wasm-bindgen-futures = "0.4.29"
|
2023-09-06 17:47:33 -05:00
|
|
|
tracing = { workspace = true }
|
2023-06-19 14:29:11 -05:00
|
|
|
rustc-hash = { workspace = true }
|
2022-01-24 02:57:56 -05:00
|
|
|
console_error_panic_hook = { version = "0.1.7", optional = true }
|
2024-03-13 02:13:37 -07:00
|
|
|
futures-util = { workspace = true, features = [
|
|
|
|
"std",
|
|
|
|
"async-await",
|
|
|
|
"async-await-macro",
|
|
|
|
] }
|
2023-06-19 14:29:11 -05:00
|
|
|
futures-channel = { workspace = true }
|
2024-07-02 05:50:36 +02:00
|
|
|
serde_json = { version = "1.0", optional = true }
|
|
|
|
serde = { version = "1.0", optional = true }
|
2024-01-15 11:46:00 -06:00
|
|
|
serde-wasm-bindgen = { version = "0.5.0", optional = true }
|
2024-07-02 05:50:36 +02:00
|
|
|
|
|
|
|
ciborium = { workspace = true, optional = true }
|
2022-02-01 15:44:08 -05:00
|
|
|
|
2021-01-16 01:30:48 -05:00
|
|
|
[dependencies.web-sys]
|
2022-02-04 01:56:54 -05:00
|
|
|
version = "0.3.56"
|
2021-01-16 01:30:48 -05:00
|
|
|
features = [
|
|
|
|
"Document",
|
|
|
|
"HtmlElement",
|
2021-02-26 12:58:03 -05:00
|
|
|
"HtmlInputElement",
|
2021-06-16 23:37:55 -04:00
|
|
|
"HtmlSelectElement",
|
|
|
|
"HtmlTextAreaElement",
|
2022-01-22 14:53:59 -05:00
|
|
|
"HtmlFormElement",
|
2021-01-16 01:30:48 -05:00
|
|
|
"Text",
|
2024-07-03 00:31:18 +02:00
|
|
|
"Comment",
|
2021-01-16 01:30:48 -05:00
|
|
|
"Window",
|
2023-09-17 18:56:59 -05:00
|
|
|
"DataTransfer",
|
2024-03-13 02:13:37 -07:00
|
|
|
"console",
|
|
|
|
"NodeList",
|
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]
|
2023-07-28 15:38:07 -07:00
|
|
|
default = ["panic_hook", "mounted", "file_engine", "hot_reload", "eval"]
|
2024-06-19 01:39:15 +02:00
|
|
|
panic_hook = ["dep:console_error_panic_hook"]
|
2024-07-02 05:50:36 +02:00
|
|
|
hydrate = ["web-sys/Comment", "ciborium"]
|
2024-03-13 02:13:37 -07:00
|
|
|
mounted = ["web-sys/Element", "dioxus-html/mounted"]
|
2023-07-28 15:38:07 -07:00
|
|
|
file_engine = [
|
2024-07-02 05:50:36 +02:00
|
|
|
"dioxus-html/file-engine",
|
2023-08-25 21:28:44 -05:00
|
|
|
]
|
2024-07-02 05:50:36 +02:00
|
|
|
hot_reload = ["web-sys/MessageEvent", "web-sys/WebSocket", "web-sys/Location", "dep:serde_json", "dep:serde", "dioxus-core/serialize"]
|
|
|
|
eval = ["dioxus-html/eval", "dioxus-interpreter-js/eval", "dep:serde-wasm-bindgen", "dep:serde_json"]
|
2021-11-19 00:49:04 -05:00
|
|
|
|
2022-01-07 00:33:09 -05:00
|
|
|
[dev-dependencies]
|
2024-07-02 05:50:36 +02:00
|
|
|
dioxus = { workspace = true, default-features = true }
|
2022-02-04 01:56:54 -05:00
|
|
|
wasm-bindgen-test = "0.3.29"
|
2024-01-15 13:23:35 -06:00
|
|
|
dioxus-ssr = { workspace = true, default-features = false }
|
2023-04-09 22:54:18 +08:00
|
|
|
gloo-timers = "0.2.3"
|
|
|
|
gloo-dialogs = "0.1.1"
|
2023-07-31 18:49:54 -07:00
|
|
|
dioxus-web = { path = ".", features = ["hydrate"] }
|
2023-09-12 09:07:57 -05:00
|
|
|
tracing-wasm = "0.2.1"
|
2024-05-28 22:05:55 +02:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|