[package]
name = "ps-blitz-shell"
description = "Blitz application shell"
documentation = "https://docs.rs/ps-blitz-shell"
version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
categories.workspace = true
edition.workspace = true
rust-version.workspace = true
[features]
default = ["accessibility", "clipboard", "file-dialog"]
accessibility = [
"dep:accesskit",
"dep:accesskit_xplat",
"blitz-dom/accessibility",
]
clipboard = ["dep:arboard"]
tracing = ["dep:tracing", "blitz-dom/tracing"]
debug-control = ["dep:blitz-script", "blitz-script/debug-control"]
svg = ["blitz-paint/svg"]
scrollbars = ["blitz-paint/scrollbars", "blitz-dom/scrollbars"]
shadow-dom = ["blitz-dom/shadow-dom"]
floats = ["blitz-dom/floats"]
complex-scripts = ["blitz-dom/complex-scripts"]
font-embolden = ["blitz-paint/font-embolden"]
apple-font-embolden = ["blitz-paint/apple-font-embolden"]
file-dialog = ["dep:rfd"]
data-uri = ["dep:data-url"]
custom-widget = ["blitz-dom/custom-widget"]
[lib]
name = "blitz_shell"
[dependencies]
blitz-traits = { workspace = true }
blitz-dom = { workspace = true }
blitz-paint = { workspace = true }
blitz-script = { workspace = true, optional = true }
anyrender = { workspace = true }
winit = { workspace = true }
keyboard-types = { workspace = true }
accesskit = { workspace = true, optional = true }
accesskit_xplat = { workspace = true, optional = true }
atomic_refcell = { workspace = true }
tracing = { workspace = true, optional = true }
futures-util = { workspace = true }
data-url = { workspace = true, optional = true }
web-time = { workspace = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { workspace = true, features = ["HtmlCanvasElement", "Window"] }
wasm-bindgen = { workspace = true }
[target.'cfg(target_os = "android")'.dependencies]
android-activity = { version = "0.6.0" }
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
arboard = { workspace = true, optional = true }
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
rfd = { workspace = true, optional = true, features = ["xdg-portal"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]