2021-06-17 22:00:32 +00:00
|
|
|
[package]
|
2021-07-07 22:17:00 +00:00
|
|
|
name = "dioxus-html"
|
2023-08-01 01:49:54 +00:00
|
|
|
version = { workspace = true }
|
2021-09-25 00:54:50 +00:00
|
|
|
authors = ["Jonathan Kelley"]
|
2024-01-19 03:27:55 +00:00
|
|
|
edition = "2021"
|
2021-09-25 00:54:50 +00:00
|
|
|
description = "HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
|
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/"
|
|
|
|
homepage = "https://dioxuslabs.com"
|
2023-01-10 16:16:11 +00:00
|
|
|
keywords = ["dom", "ui", "gui", "react"]
|
2021-06-17 22:00:32 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-core = { workspace = true }
|
2024-07-18 01:54:03 +00:00
|
|
|
dioxus-core-macro = { workspace = true }
|
2024-07-02 03:50:36 +00:00
|
|
|
dioxus-rsx = { workspace = true, optional = true }
|
2023-08-11 02:59:52 +00:00
|
|
|
dioxus-html-internal-macro = { workspace = true }
|
2024-07-18 01:54:03 +00:00
|
|
|
dioxus-hooks = { workspace = true }
|
2024-02-02 20:47:59 +00:00
|
|
|
generational-box = { workspace = true }
|
2021-11-07 03:11:17 +00:00
|
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
2021-12-29 18:30:07 +00:00
|
|
|
serde_repr = { version = "0.1", optional = true }
|
2023-06-19 19:29:11 +00:00
|
|
|
wasm-bindgen = { workspace = true, optional = true }
|
2024-07-18 01:54:03 +00:00
|
|
|
wasm-bindgen-futures = { workspace = true, optional = true }
|
2024-07-02 03:50:36 +00:00
|
|
|
js-sys = { version = "0.3.56", optional = true }
|
2022-05-06 20:54:07 +00:00
|
|
|
euclid = "0.22.7"
|
2023-08-28 17:35:43 +00:00
|
|
|
enumset = "1.1.2"
|
2024-07-02 03:50:36 +00:00
|
|
|
keyboard-types = { version = "0.7", default-features = false }
|
|
|
|
async-trait = { version = "0.1.58", optional = true }
|
2023-06-19 19:29:11 +00:00
|
|
|
tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
|
2024-01-15 17:46:00 +00:00
|
|
|
futures-channel = { workspace = true }
|
2023-07-21 22:36:25 +00:00
|
|
|
serde_json = { version = "1", optional = true }
|
2024-04-04 18:46:22 +00:00
|
|
|
tracing.workspace = true
|
2024-06-07 01:15:17 +00:00
|
|
|
rustversion = "1.0.17"
|
2022-02-12 12:57:13 +00:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
|
|
|
optional = true
|
|
|
|
version = "0.3.56"
|
|
|
|
features = [
|
2023-09-12 22:28:55 +00:00
|
|
|
"Touch",
|
|
|
|
"TouchList",
|
2023-08-28 17:35:43 +00:00
|
|
|
"TouchEvent",
|
|
|
|
"MouseEvent",
|
2024-01-08 20:16:09 +00:00
|
|
|
"DragEvent",
|
2023-08-28 17:35:43 +00:00
|
|
|
"InputEvent",
|
2024-07-02 03:50:36 +00:00
|
|
|
"HtmlInputElement",
|
2023-08-28 17:35:43 +00:00
|
|
|
"ClipboardEvent",
|
|
|
|
"KeyboardEvent",
|
|
|
|
"WheelEvent",
|
|
|
|
"AnimationEvent",
|
|
|
|
"TransitionEvent",
|
|
|
|
"PointerEvent",
|
|
|
|
"FocusEvent",
|
|
|
|
"CompositionEvent",
|
2022-02-12 12:57:13 +00:00
|
|
|
]
|
2021-11-07 03:11:17 +00:00
|
|
|
|
2024-07-18 01:54:03 +00:00
|
|
|
[build-dependencies]
|
|
|
|
lazy-js-bundle = { workspace = true }
|
|
|
|
|
2022-12-21 02:48:28 +00:00
|
|
|
[dev-dependencies]
|
2023-01-04 19:31:07 +00:00
|
|
|
serde_json = "1"
|
2024-06-07 01:15:17 +00:00
|
|
|
dioxus = { workspace = true }
|
|
|
|
dioxus-web = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = ["time"] }
|
2024-07-18 01:54:03 +00:00
|
|
|
manganis = { workspace = true }
|
2022-12-21 02:48:28 +00:00
|
|
|
|
2021-11-07 03:11:17 +00:00
|
|
|
[features]
|
2024-07-18 01:54:03 +00:00
|
|
|
default = ["serialize", "mounted", "document", "file-engine"]
|
2023-06-30 20:59:59 +00:00
|
|
|
serialize = [
|
2024-06-18 23:39:15 +00:00
|
|
|
"dep:serde",
|
|
|
|
"dep:serde_json",
|
|
|
|
"dep:serde_repr",
|
2023-06-30 20:59:59 +00:00
|
|
|
"euclid/serde",
|
|
|
|
"keyboard-types/serde",
|
2024-07-22 17:20:15 +00:00
|
|
|
"dioxus-core/serialize"
|
2023-06-30 20:59:59 +00:00
|
|
|
]
|
2023-07-28 22:38:07 +00:00
|
|
|
mounted = [
|
2023-11-21 20:46:47 +00:00
|
|
|
"web-sys?/Element",
|
|
|
|
"web-sys?/DomRect",
|
|
|
|
"web-sys?/ScrollIntoViewOptions",
|
|
|
|
"web-sys?/ScrollLogicalPosition",
|
|
|
|
"web-sys?/ScrollBehavior",
|
|
|
|
"web-sys?/HtmlElement",
|
2023-07-28 22:38:07 +00:00
|
|
|
]
|
2024-07-18 01:54:03 +00:00
|
|
|
document = [
|
2024-06-18 23:39:15 +00:00
|
|
|
"dep:serde",
|
|
|
|
"dep:serde_json"
|
2023-08-26 02:28:44 +00:00
|
|
|
]
|
2024-07-02 03:50:36 +00:00
|
|
|
file-engine = [
|
|
|
|
"dep:async-trait",
|
|
|
|
"dep:js-sys",
|
|
|
|
"web-sys?/File",
|
|
|
|
"web-sys?/FileList",
|
|
|
|
"web-sys?/FileReader"
|
|
|
|
]
|
2024-07-18 01:54:03 +00:00
|
|
|
wasm-bind = ["dep:web-sys", "dep:wasm-bindgen", "dep:wasm-bindgen-futures"]
|
2024-07-02 03:50:36 +00:00
|
|
|
native-bind = ["dep:tokio", "file-engine"]
|
|
|
|
hot-reload-context = ["dep:dioxus-rsx", "dioxus-rsx/hot_reload_traits"]
|
2024-01-03 21:18:27 +00:00
|
|
|
html-to-rsx = []
|
2024-05-28 20:05:55 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
|
|
|
feature = ["html-to-rsx", "hot-reload-context", "html-to-rsx", "native-bind", "wasm-bind"]
|