mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 22:20:19 +00:00
519ec9d294
* add a default head method through eval * remove the old document trait * implement document for each platform * pull out document into a dedicated crate to cut down on shared dependencies --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
62 lines
1.9 KiB
TOML
62 lines
1.9 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-core-macro = { workspace = true }
|
|
dioxus-core-types = { workspace = true }
|
|
dioxus-rsx = { workspace = true, optional = true }
|
|
dioxus-html-internal-macro = { workspace = true }
|
|
dioxus-hooks = { workspace = true }
|
|
generational-box = { workspace = true }
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
serde_repr = { version = "0.1", optional = true }
|
|
js-sys = { version = "0.3.56", optional = true }
|
|
euclid = "0.22.7"
|
|
enumset = "1.1.2"
|
|
keyboard-types = { version = "0.7", default-features = false }
|
|
async-trait = { version = "0.1.58", optional = true }
|
|
tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
|
|
futures-channel = { workspace = true }
|
|
serde_json = { version = "1", optional = true }
|
|
tracing.workspace = true
|
|
rustversion = "1.0.17"
|
|
|
|
[build-dependencies]
|
|
lazy-js-bundle = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1"
|
|
dioxus = { workspace = true }
|
|
dioxus-web = { workspace = true }
|
|
tokio = { workspace = true, features = ["time"] }
|
|
manganis = { workspace = true }
|
|
|
|
[features]
|
|
default = ["serialize", "mounted", "file_engine"]
|
|
serialize = [
|
|
"dep:serde",
|
|
"dep:serde_json",
|
|
"dep:serde_repr",
|
|
"euclid/serde",
|
|
"keyboard-types/serde",
|
|
"dioxus-core/serialize"
|
|
]
|
|
mounted = []
|
|
file_engine = [
|
|
"dep:async-trait",
|
|
]
|
|
hot-reload-context = ["dep: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"]
|