mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-16 21:58:25 +00:00
* clean up logging to avoid random extra trace * fix race condition with updates * properly wire up verbose * fix bundling (macos) and logging * Add structured output * clean up clap names * extract out wire format * switch structured key to json * fix random println, fallback to `dioxus/platform` * clean up logging for run/build * clean up logging around project * remove manual exits * fix tokio runtime for mobile * rework dog app * rip out ssg * Switch dioxus/axum to dioxus/server * add android template inline * pre restructure for bundle prep * add the whole res directory * Better theme for the app * remove mobile demo now that most apps work natively * self-referential android * only use deep linking for assets * fix imports for android * clippy, fixup ios and android * I'm not boxing compiler message you can't make me * fix clippy on unix
90 lines
3.5 KiB
TOML
90 lines
3.5 KiB
TOML
[package]
|
|
name = "dioxus"
|
|
version = { workspace = true }
|
|
authors = ["Jonathan Kelley", "Dioxus Labs", "ealmloff"]
|
|
edition = "2021"
|
|
description = "Portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com/learn/0.5/"
|
|
keywords = ["dom", "ui", "gui", "react", "wasm"]
|
|
rust-version = "1.79.0"
|
|
|
|
[dependencies]
|
|
dioxus-core = { workspace = true }
|
|
dioxus-html = { workspace = true, default-features = false, optional = true }
|
|
dioxus-document = { workspace = true, optional = true }
|
|
dioxus-history = { workspace = true, optional = true }
|
|
dioxus-core-macro = { workspace = true, optional = true }
|
|
dioxus-config-macro = { workspace = true, optional = true }
|
|
dioxus-hooks = { workspace = true, optional = true }
|
|
dioxus-signals = { workspace = true, optional = true }
|
|
dioxus-router = { workspace = true, optional = true }
|
|
dioxus-web = { workspace = true, default-features = false, optional = true }
|
|
dioxus-mobile = { workspace = true, optional = true }
|
|
dioxus-desktop = { workspace = true, default-features = true, optional = true }
|
|
dioxus-fullstack = { workspace = true, default-features = true, optional = true }
|
|
dioxus-liveview = { workspace = true, optional = true }
|
|
dioxus-ssr = { workspace = true, optional = true }
|
|
manganis = { workspace = true, optional = true }
|
|
|
|
serde = { version = "1.0.136", optional = true }
|
|
|
|
[target.'cfg(not(any(target_arch = "wasm32", target_os = "ios", target_os = "android")))'.dependencies]
|
|
dioxus-devtools = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
default = ["macro", "html", "devtools", "signals", "hooks", "launch", "mounted", "file_engine", "document", "asset"]
|
|
minimal = ["macro", "html", "signals", "hooks", "launch"]
|
|
signals = ["dep:dioxus-signals"]
|
|
macro = ["dep:dioxus-core-macro"]
|
|
html = ["dep:dioxus-html"]
|
|
hooks = ["dep:dioxus-hooks"]
|
|
devtools = ["dep:dioxus-devtools", "dioxus-web?/devtools", "dioxus-fullstack?/devtools"]
|
|
mounted = ["dioxus-web?/mounted", "dioxus-html?/mounted"]
|
|
file_engine = ["dioxus-web?/file_engine"]
|
|
asset = ["dep:manganis"]
|
|
document = ["dioxus-web?/document", "dep:dioxus-document", "dep:dioxus-history"]
|
|
|
|
launch = ["dep:dioxus-config-macro"]
|
|
router = ["dep:dioxus-router"]
|
|
|
|
# Platforms
|
|
fullstack = ["dep:dioxus-fullstack", "dioxus-config-macro/fullstack", "dep:serde"]
|
|
desktop = ["dep:dioxus-desktop", "dioxus-fullstack?/desktop", "dioxus-config-macro/desktop"]
|
|
mobile = ["dep:dioxus-mobile", "dioxus-fullstack?/mobile", "dioxus-config-macro/mobile"]
|
|
web = ["dep:dioxus-web", "dioxus-fullstack?/web", "dioxus-config-macro/web"]
|
|
ssr = ["dep:dioxus-ssr", "dioxus-config-macro/ssr"]
|
|
liveview = ["dep:dioxus-liveview", "dioxus-config-macro/liveview"]
|
|
server = ["dioxus-fullstack?/axum", "dioxus-fullstack?/server", "ssr", "dioxus-liveview?/axum"]
|
|
|
|
# This feature just disables the no-renderer-enabled warning
|
|
third-party-renderer = []
|
|
|
|
[dev-dependencies]
|
|
futures-util = { workspace = true }
|
|
tracing = { workspace = true }
|
|
rand = { version = "0.8.4", features = ["small_rng"] }
|
|
criterion = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
env_logger = "0.10.0"
|
|
tokio = { workspace = true, features = ["full"] }
|
|
dioxus = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "jsframework"
|
|
harness = false
|
|
|
|
[package.metadata.docs.rs]
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
|
features = [
|
|
"router",
|
|
"ssr",
|
|
"web",
|
|
"fullstack",
|
|
"signals",
|
|
"hooks",
|
|
"html",
|
|
"liveview",
|
|
"server"
|
|
]
|