app_window 0.3.5

Cross-platform window library
Documentation
# 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.95.0"
name = "app_window"
version = "0.3.5"
authors = ["Drew Crawford <drew@sealedabstract.com>"]
build = "build.rs"
exclude = [".*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform window library"
homepage = "https://sealedabstract.com/code/app_window"
readme = "README.md"
keywords = [
    "window",
    "windowing",
    "input",
    "keyboard",
    "mouse",
]
categories = [
    "gui",
    "os",
    "wasm",
    "asynchronous",
]
license = "MPL-2.0"
repository = "https://github.com/drewcrawford/app_window"

[features]
default = []
exfiltrate = ["dep:exfiltrate"]
logwise-diagnostic = []
logwise-forensic = []
logwise-performance = []
logwise_internal = ["logwise-diagnostic"]

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

[[example]]
name = "alert"
path = "examples/alert.rs"

[[example]]
name = "close"
path = "examples/close.rs"

[[example]]
name = "fullscreen"
path = "examples/fullscreen.rs"

[[example]]
name = "gpu"
path = "examples/gpu.rs"

[[example]]
name = "input_main"
path = "examples/input_main.rs"

[[test]]
name = "executor_bug_test"
path = "tests/executor_bug_test.rs"
harness = false

[[test]]
name = "exfiltrate_snapshot_test"
path = "tests/exfiltrate_snapshot_test.rs"
harness = false

[[test]]
name = "logwise_context_test"
path = "tests/logwise_context_test.rs"
harness = false

[[test]]
name = "platform_coalesced_keyboard_test"
path = "tests/platform_coalesced_keyboard_test.rs"
harness = false

[[test]]
name = "platform_coalesced_mouse_test"
path = "tests/platform_coalesced_mouse_test.rs"
harness = false

[[test]]
name = "submit_to_main_thread_benchmark"
path = "tests/submit_to_main_thread_benchmark.rs"
harness = false

[[test]]
name = "wasm_main_closure_execution_test"
path = "tests/wasm_main_closure_execution_test.rs"
harness = false

[[test]]
name = "wgpu_test"
path = "tests/wgpu_test.rs"
harness = false

[dependencies.atomic_float]
version = "1.1.0"

[dependencies.continue]
version = "0.1.3"

[dependencies.exfiltrate]
version = "0.4.0"
optional = true

[dependencies.logwise]
version = "0.7.0"

[dependencies.raw-window-handle]
version = "0.6.2"

[dependencies.send_cells]
version = "0.2.5"

[dependencies.some_executor]
version = "0.7.1"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.wasm_lite_std]
version = "0.1.3"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.wasm_lite]
version = "0.1.3"

[dev-dependencies.wgpu]
version = "28.0.0"

[target.'cfg(target_arch="wasm32")'.dependencies.continue_stream]
version = "0.1.3"

[target.'cfg(target_arch="wasm32")'.dependencies.wasm_lite]
version = "0.1.3"

[target.'cfg(target_arch="wasm32")'.dev-dependencies.wasm-bindgen]
version = "=0.2.108"

[target.'cfg(target_os = "macos")'.dependencies.swift-rs]
version = "1.0.7"

[target.'cfg(target_os = "macos")'.build-dependencies.swift-rs]
version = "1.0.7"
features = ["build"]

[target.'cfg(target_os="linux")'.dependencies.accesskit]
version = "0.24.0"

[target.'cfg(target_os="linux")'.dependencies.accesskit_unix]
version = "0.20.0"

[target.'cfg(target_os="linux")'.dependencies.atspi]
version = "0.29.0"
features = []

[target.'cfg(target_os="linux")'.dependencies.io-uring]
version = "0.7.9"

[target.'cfg(target_os="linux")'.dependencies.libc]
version = "0.2.175"

[target.'cfg(target_os="linux")'.dependencies.memmap2]
version = "0.9.7"

[target.'cfg(target_os="linux")'.dependencies.tempfile]
version = "3.21.0"

[target.'cfg(target_os="linux")'.dependencies.wayland-backend]
version = "0.3.7"
features = ["client_system"]

[target.'cfg(target_os="linux")'.dependencies.wayland-client]
version = "0.31.11"

[target.'cfg(target_os="linux")'.dependencies.wayland-cursor]
version = "0.31.11"

[target.'cfg(target_os="linux")'.dependencies.wayland-protocols]
version = "0.32.9"
features = ["client"]

[target.'cfg(target_os="linux")'.dependencies.zune-png]
version = "0.5.1"

[target.'cfg(target_os="windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Win32_System_Threading",
    "Win32_UI_WindowsAndMessaging",
    "Win32_Graphics_Gdi",
    "Win32_System_LibraryLoader",
    "Win32_UI_HiDpi",
    "Win32_Foundation",
    "Win32_UI_Input_KeyboardAndMouse",
]