mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
0127501dbf
Improve inline docs * improve incorrect event handler return error message * Improve event handler docs * document the eval functions * document spawn and common spawn errors * fix event handler docs * add notes about how you use attributes and elements in rsx * add doc aliases for attributes and events we rename * add some more aliases for common search terms * don't doc ignore any public examples in core * don't ignore public doc examples in ssr * don't ignore examples in the dioxus package readme * add a warning when you launch without a renderer enabled * fix some outdated element docs * add a bunch of examples to resource * add notes about desktop events * add more docs for use_resource * add on_unimplemented hint to Dependency * fix some unresolved links * add examples to each of the router traits * add not implemented errors for router traits * add an example to the routable trait * expand rsx macro docs * improve memo docs * update the dioxus readme * mention dioxus crate features in the docs * fix a bunch of doc tests * fix html doc tests * fix router doc tests * fix dioxus signals doc tests * fix dioxus ssr doc tests * fix use_future example in the hooks cheat sheet * add a javascript alias for eval * fix hook explanation values * remove unused embed-doc-image dependency
88 lines
2.4 KiB
TOML
88 lines
2.4 KiB
TOML
[package]
|
|
name = "dioxus-html"
|
|
version = { workspace = true }
|
|
authors = ["Jonathan Kelley"]
|
|
edition = "2021"
|
|
description = "HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com"
|
|
keywords = ["dom", "ui", "gui", "react"]
|
|
|
|
[dependencies]
|
|
dioxus-core = { workspace = true }
|
|
dioxus-rsx = { workspace = true, features = ["hot_reload"], optional = true }
|
|
dioxus-html-internal-macro = { workspace = true }
|
|
generational-box = { workspace = true }
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
serde_repr = { version = "0.1", optional = true }
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
euclid = "0.22.7"
|
|
enumset = "1.1.2"
|
|
keyboard-types = "0.7"
|
|
async-trait = "0.1.58"
|
|
serde-value = { version = "0.7.0", optional = true }
|
|
tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
|
|
rfd = { version = "0.14", optional = true }
|
|
futures-channel = { workspace = true }
|
|
serde_json = { version = "1", optional = true }
|
|
tracing.workspace = true
|
|
rustversion = "1.0.17"
|
|
|
|
[dependencies.web-sys]
|
|
optional = true
|
|
version = "0.3.56"
|
|
features = [
|
|
"Touch",
|
|
"TouchList",
|
|
"TouchEvent",
|
|
"MouseEvent",
|
|
"DragEvent",
|
|
"InputEvent",
|
|
"ClipboardEvent",
|
|
"KeyboardEvent",
|
|
"WheelEvent",
|
|
"AnimationEvent",
|
|
"TransitionEvent",
|
|
"PointerEvent",
|
|
"FocusEvent",
|
|
"CompositionEvent",
|
|
]
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1"
|
|
dioxus = { workspace = true }
|
|
dioxus-web = { workspace = true }
|
|
tokio = { workspace = true, features = ["time"] }
|
|
|
|
[features]
|
|
default = ["serialize", "mounted", "eval"]
|
|
serialize = [
|
|
"serde",
|
|
"serde_json",
|
|
"serde_repr",
|
|
"euclid/serde",
|
|
"keyboard-types/serde",
|
|
"dioxus-core/serialize",
|
|
"serde-value",
|
|
]
|
|
mounted = [
|
|
"web-sys?/Element",
|
|
"web-sys?/DomRect",
|
|
"web-sys?/ScrollIntoViewOptions",
|
|
"web-sys?/ScrollLogicalPosition",
|
|
"web-sys?/ScrollBehavior",
|
|
"web-sys?/HtmlElement",
|
|
]
|
|
eval = [
|
|
"serde",
|
|
"serde_json"
|
|
]
|
|
wasm-bind = ["web-sys", "wasm-bindgen"]
|
|
native-bind = ["tokio"]
|
|
hot-reload-context = ["dioxus-rsx"]
|
|
html-to-rsx = []
|
|
|
|
[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"]
|