ps-blitz-shell 0.3.0-beta.6

Blitz application shell
Documentation
[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"]
# Overlay scrollbars: the thumb painting in `blitz-paint` plus the drag and
# hover tracking in `blitz-dom`. Off by default because a shell that draws no
# scrollbars costs nothing, but an embedder whose CSS sets `scrollbar-width` or
# `scrollbar-color` gets neither the styling nor a thumb without it.
scrollbars = ["blitz-paint/scrollbars", "blitz-dom/scrollbars"]
# Shadow DOM attachment and slot distribution. Needed by any embedder whose
# page uses custom elements with a shadow root.
shadow-dom = ["blitz-dom/shadow-dom"]
# CSS `float`. Off in taffy by default, so a floated element lays out as a
# block without it, silently.
floats = ["blitz-dom/floats"]
# Dictionary-based line breaking, which is what Thai, Khmer, Lao and Burmese
# need: they put no spaces between words, so finding a break point takes a
# dictionary rather than a space scan. Without it that text does not wrap, or
# wraps mid-word.
complex-scripts = ["blitz-dom/complex-scripts"]
# Synthetic bold for faces with no bold cut. `apple-font-embolden` matches
# CoreText's own weighting and is the one to use on macOS.
font-embolden = ["blitz-paint/font-embolden"]
apple-font-embolden = ["blitz-paint/apple-font-embolden"]
file-dialog = ["dep:rfd"]
# Enables a data-uri-only NetProvider. Only needed if you aren't using the regular NetProvider
data-uri = ["dep:data-url"]
custom-widget = ["blitz-dom/custom-widget"]

[lib]
name = "blitz_shell"

[dependencies]
# Blitz dependencies
blitz-traits = { workspace = true }
blitz-dom = { workspace = true }
blitz-paint = { workspace = true }
blitz-script = { workspace = true, optional = true }
anyrender = { workspace = true }

# Windowing & Input
winit = { workspace = true }
keyboard-types = { workspace = true }
accesskit = { workspace = true, optional = true }
accesskit_xplat = { workspace = true, optional = true }

# Other dependencies
atomic_refcell = { workspace = true }
tracing = { workspace = true, optional = true }
futures-util = { workspace = true }
data-url = { workspace = true, optional = true }

# WASM
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"]