[package]
name = "zng-app"
version = "0.14.3"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
readme = "README.md"
description = "Part of the zng project."
documentation = "https://zng-ui.github.io/doc/zng_app"
repository = "https://github.com/zng-ui/zng"
categories = ["gui"]
keywords = ["gui", "ui", "user-interface", "zng"]
[features]
default = ["ipc", "debug_default"]
debug_default = ["zng-var/debug_default", "zng-app-context/dyn_closure"]
dyn_node = []
inspector = []
dyn_app_extension = []
dyn_closure = ["zng-var/dyn_closure", "zng-app-context/dyn_closure"]
test_util = ["multi_app", "deadlock_detection"]
multi_app = ["zng-app-context/multi_app"]
trace_widget = []
trace_wgt_item = []
crash_handler = [
"dep:serde_json",
"dep:minidumper",
"dep:crash-handler",
"dep:minidump",
"dep:linkme",
"dep:uuid",
]
ipc = ["zng-view-api/ipc", "zng-task/ipc"]
deadlock_detection = ["zng-task/deadlock_detection"]
[dependencies]
zng-app-proc-macros = { path = "../zng-app-proc-macros", version = "0.3.10" }
zng-unique-id = { path = "../zng-unique-id", version = "0.4.8" }
zng-env = { path = "../zng-env", version = "0.3.8" }
zng-handle = { path = "../zng-handle", version = "0.2.5" }
zng-tp-licenses = { path = "../zng-tp-licenses", version = "0.2.9" }
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-app-context = { path = "../zng-app-context", version = "0.5.13" }
zng-time = { path = "../zng-time", version = "0.2.25" }
zng-var = { path = "../zng-var", version = "0.5.12" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-task = { path = "../zng-task", version = "0.4.14" }
zng-view-api = { path = "../zng-view-api", version = "0.11.2", features = [
"var",
] }
zng-state-map = { path = "../zng-state-map", version = "0.3.8" }
zng-layout = { path = "../zng-layout", version = "0.2.33" }
zng-color = { path = "../zng-color", version = "0.4.2" }
tracing = "0.1"
tracing-subscriber = "0.3"
pretty-type-name = "1.0"
parking_lot = "0.12"
serde = { version = "1.0", features = ["derive"] }
bytemuck = { version = "1.15", features = ["derive"] }
flume = "0.11"
atomic = "0.6"
bitflags = { version = "2.5", features = ["serde", "bytemuck"] }
paste = "1.0"
once_cell = "1.19"
unic-langid = { version = "0.9", features = ["serde"] }
unicase = "2.7"
hashbrown = { version = "0.15", features = ["rayon"] }
rustc-hash = "2.0"
dunce = "1.0"
[target.'cfg(not(any(target_arch = "wasm32", target_os = "android", target_os = "ios")))'.dependencies]
serde_json = { version = "1.0", optional = true }
minidumper = { version = "0.8", optional = true }
crash-handler = { version = "0.6", optional = true }
minidump = { version = "0.22", optional = true }
linkme = { version = "=0.3.31", optional = true }
uuid = { version = "1.1", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
tracing-web = "0.1"
[target.'cfg(target_os = "android")'.dependencies]
tracing-android = "0.2"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--html-in-header", "doc/html-in-header.html"]