# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92.0"
name = "blitz-shell"
version = "0.3.0-alpha.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blitz application shell"
homepage = "https://github.com/dioxuslabs/blitz"
documentation = "https://docs.rs/blitz-shell"
readme = false
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dioxuslabs/blitz"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
accessibility = [
    "dep:accesskit",
    "dep:accesskit_xplat",
    "blitz-dom/accessibility",
]
clipboard = ["dep:arboard"]
data-uri = ["dep:data-url"]
default = [
    "accessibility",
    "clipboard",
    "file_dialog",
]
file_dialog = ["dep:rfd"]
tracing = [
    "dep:tracing",
    "blitz-dom/tracing",
]

[lib]
name = "blitz_shell"
path = "src/lib.rs"

[dependencies.accesskit]
version = "0.24"
optional = true

[dependencies.accesskit_xplat]
version = "0.1"
optional = true
default-features = false

[dependencies.anyrender]
version = "0.8"

[dependencies.blitz-dom]
version = "0.3.0-alpha.1"
default-features = false

[dependencies.blitz-paint]
version = "0.3.0-alpha.1"
default-features = false

[dependencies.blitz-traits]
version = "0.3.0-alpha.1"
default-features = false

[dependencies.data-url]
version = "0.3.1"
optional = true

[dependencies.futures-util]
version = "0.3.30"

[dependencies.keyboard-types]
version = "0.7"

[dependencies.tracing]
version = "0.1.40"
optional = true

[dependencies.winit]
version = "=0.31.0-beta.2"

[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]
version = "3.4.1"
optional = true
default-features = false

[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]
version = "0.17.1"
features = ["xdg-portal"]
optional = true
default-features = false

[target.'cfg(target_os = "android")'.dependencies.android-activity]
version = "0.6.0"
