# 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 = "2021"
rust-version = "1.76.0"
name = "dioxus-desktop"
version = "0.7.2"
authors = ["Jonathan Kelley"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebView renderer for Dioxus"
homepage = "https://dioxuslabs.com/learn/0.7/getting_started"
readme = "README.md"
keywords = [
    "dom",
    "ui",
    "gui",
    "react",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"

[package.metadata.docs.rs]
features = [
    "tokio_runtime",
    "devtools",
]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]
default-features = false
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-pc-windows-msvc",
    "aarch64-apple-darwin",
    "aarch64-apple-ios",
    "aarch64-linux-android",
    "armv7-linux-androideabi",
]

[features]
default = [
    "tokio_runtime",
    "transparent",
    "devtools",
]
devtools = [
    "wry/devtools",
    "dep:dioxus-devtools",
    "dioxus-signals",
]
fullscreen = ["wry/fullscreen"]
gnu = []
tokio_runtime = ["dep:tokio"]
transparent = ["wry/transparent"]

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

[[test]]
name = "check_eval"
path = "headless_tests/eval.rs"
harness = false

[[test]]
name = "check_events"
path = "headless_tests/events.rs"
harness = false

[[test]]
name = "check_forms"
path = "headless_tests/forms.rs"
harness = false

[[test]]
name = "check_rendering"
path = "headless_tests/rendering.rs"
harness = false

[dependencies.async-trait]
version = "0.1.88"

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.10"

[dependencies.dioxus-asset-resolver]
version = "0.7.2"
features = ["native"]

[dependencies.dioxus-cli-config]
version = "0.7.2"

[dependencies.dioxus-core]
version = "0.7.2"
features = ["serialize"]

[dependencies.dioxus-devtools]
version = "0.7.2"
optional = true

[dependencies.dioxus-document]
version = "0.7.2"
default-features = false

[dependencies.dioxus-history]
version = "0.7.2"
default-features = false

[dependencies.dioxus-hooks]
version = "0.7.2"

[dependencies.dioxus-html]
version = "0.7.2"
features = ["serialize"]
default-features = false

[dependencies.dioxus-interpreter-js]
version = "0.7.2"
features = [
    "binary-protocol",
    "serialize",
]

[dependencies.dioxus-signals]
version = "0.7.2"
optional = true

[dependencies.dunce]
version = "1.0.5"

[dependencies.futures-channel]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.generational-box]
version = "0.7.2"

[dependencies.infer]
version = "0.19.0"

[dependencies.libc]
version = "0.2.174"

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.rand]
version = "0.9"
features = ["std_rng"]

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.serde]
version = "1.0.219"

[dependencies.serde_json]
version = "1.0.140"

[dependencies.slab]
version = "0.4.10"

[dependencies.subtle]
version = "2.6"
features = ["const-generics"]

[dependencies.tao]
version = "0.34.0"
features = [
    "rwh_05",
    "rwh_05",
]

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.48"
features = [
    "sync",
    "rt-multi-thread",
    "rt",
    "time",
    "macros",
    "fs",
    "io-util",
]
optional = true

[dependencies.tracing]
version = "0.1.41"

[dependencies.webbrowser]
version = "1.0"

[dependencies.wry]
version = "0.53.5"
features = [
    "os-webview",
    "protocol",
    "drag-drop",
]
default-features = false

[build-dependencies.lazy-js-bundle]
version = "0.7.2"

[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux"))'.dependencies.tray-icon]
version = "0.21.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.global-hotkey]
version = "0.7.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.muda]
version = "0.17.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.rfd]
version = "0.15.3"
features = [
    "xdg-portal",
    "tokio",
]
default-features = false

[target.'cfg(not(target_os = "android"))'.dependencies.tungstenite]
version = "0.27.0"
features = ["native-tls"]

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"

[target.'cfg(target_os = "android")'.dependencies.ndk]
version = "0.9.0"

[target.'cfg(target_os = "android")'.dependencies.ndk-context]
version = "0.1.1"

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

[target.'cfg(target_os = "android")'.dependencies.tungstenite]
version = "0.27.0"
features = ["rustls"]

[target.'cfg(target_os = "ios")'.dependencies.objc]
version = "0.2.7"

[target.'cfg(target_os = "ios")'.dependencies.objc_id]
version = "0.1.1"

[target.'cfg(target_os = "linux")'.dependencies.wry]
version = "0.53.5"
features = [
    "os-webview",
    "protocol",
    "drag-drop",
    "linux-body",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "0.26.1"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.1"

[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2.7"

[target."cfg(unix)".dependencies.signal-hook]
version = "0.3.18"
