dioxus/packages/html/Cargo.toml

60 lines
1.6 KiB
TOML
Raw Normal View History

2021-06-17 22:00:32 +00:00
[package]
name = "dioxus-html"
2023-02-22 21:06:33 +00:00
version = "0.3.1"
2021-09-25 00:54:50 +00:00
authors = ["Jonathan Kelley"]
2021-06-17 22:00:32 +00:00
edition = "2018"
2021-09-25 00:54:50 +00:00
description = "HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
2021-12-15 21:04:27 +00:00
license = "MIT/Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
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 }
dioxus-rsx = { workspace = true, optional = 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 }
2022-05-06 20:54:07 +00:00
euclid = "0.22.7"
enumset = "1.0.11"
keyboard-types = "0.6.2"
2022-11-16 00:05:22 +00:00
async-trait = "0.1.58"
2022-12-21 02:48:28 +00:00
serde-value = "0.7.0"
2023-06-19 19:29:11 +00:00
tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
rfd = { version = "0.11.3", optional = true }
[dependencies.web-sys]
optional = true
version = "0.3.56"
features = [
"TouchEvent",
"MouseEvent",
"InputEvent",
"ClipboardEvent",
"KeyboardEvent",
"TouchEvent",
"WheelEvent",
"AnimationEvent",
"TransitionEvent",
"PointerEvent",
"FocusEvent",
"CompositionEvent",
"ClipboardEvent",
2023-03-19 21:34:57 +00:00
"Element",
"DomRect",
"ScrollIntoViewOptions",
"ScrollLogicalPosition",
"ScrollBehavior",
]
2021-11-07 03:11:17 +00:00
2022-12-21 02:48:28 +00:00
[dev-dependencies]
serde_json = "1"
2022-12-21 02:48:28 +00:00
2021-11-07 03:11:17 +00:00
[features]
2022-12-21 02:48:28 +00:00
default = ["serialize"]
serialize = ["serde", "serde_repr", "euclid/serde", "keyboard-types/serde", "dioxus-core/serialize"]
wasm-bind = ["web-sys", "wasm-bindgen"]
native-bind = ["tokio", "rfd"]
hot-reload-context = ["dioxus-rsx"]