* Update to newer version of blitz_dom::Document trait Signed-off-by: Nico Burns <nico@nicoburns.com> * Native: use DocumentConfig parameter Signed-off-by: Nico Burns <nico@nicoburns.com> * Native: set event converter less often Signed-off-by: Nico Burns <nico@nicoburns.com> * Native: count event handlers and skip events if none Signed-off-by: Nico Burns <nico@nicoburns.com> * Upgrade to Blitz 0.1.0-rc.1 * Fix typo Signed-off-by: Nico Burns <nico@nicoburns.com> * Fix native-headless example Signed-off-by: Nico Burns <nico@nicoburns.com> * Use workspace deps for native-headless-in-bevy example Signed-off-by: Nico Burns <nico@nicoburns.com> * Fix native-headless-in-bevy example (for blitz 0.1.0-rc.1) * Fix native-dom-document doc tests --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
57 lines
1.9 KiB
TOML
57 lines
1.9 KiB
TOML
[package]
|
|
name = "dioxus-native"
|
|
version = { workspace = true }
|
|
authors = ["Jonathan Kelley", "Nico Burns"]
|
|
edition = "2021"
|
|
description = "Native renderer for Dioxus based on blitz"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com/learn/0.6/getting_started"
|
|
keywords = ["dom", "ui", "gui", "react"]
|
|
|
|
[features]
|
|
default = ["accessibility", "hot-reload", "tracing", "net", "svg", "system-fonts"]
|
|
svg = ["blitz-dom/svg", "blitz-paint/svg"]
|
|
net = ["dep:tokio", "dep:blitz-net"]
|
|
accessibility = ["blitz-shell/accessibility", "blitz-dom/accessibility"]
|
|
tracing = ["dep:tracing", "blitz-shell/tracing", "blitz-dom/tracing"]
|
|
hot-reload = ["dep:dioxus-cli-config", "dep:dioxus-devtools"]
|
|
system-fonts = ["blitz-dom/system_fonts"]
|
|
autofocus = []
|
|
|
|
[dependencies]
|
|
# Blitz dependencies
|
|
anyrender = { workspace = true }
|
|
anyrender_vello = { workspace = true }
|
|
blitz-dom = { workspace = true }
|
|
blitz-net = { workspace = true, optional = true }
|
|
blitz-paint = { workspace = true, optional = true }
|
|
blitz-traits = { workspace = true }
|
|
blitz-shell = { workspace = true }
|
|
|
|
# DioxusLabs dependencies
|
|
dioxus-core = { workspace = true }
|
|
dioxus-html = { workspace = true }
|
|
dioxus-native-dom = { workspace = true }
|
|
dioxus-asset-resolver = { workspace = true }
|
|
dioxus-cli-config = { workspace = true, optional = true }
|
|
dioxus-devtools = { workspace = true, optional = true }
|
|
dioxus-history = { workspace = true }
|
|
dioxus-document = { workspace = true }
|
|
|
|
# Windowing & Input
|
|
winit = { workspace = true }
|
|
keyboard-types = { workspace = true }
|
|
|
|
# IO & Networking
|
|
tokio = { workspace = true, features = ["rt-multi-thread"], optional = true }
|
|
|
|
# Other dependencies
|
|
tracing = { workspace = true, optional = true }
|
|
rustc-hash = { workspace = true }
|
|
futures-util = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|