wingy 0.31.1

Cross-platform window creation 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"
name = "wingy"
version = "0.31.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform window creation library."
documentation = "https://docs.rs/wingy"
readme = "README.md"
keywords = ["windowing"]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/glory-rs/wingy"

[package.metadata.docs.rs]
features = [
    "serde",
    "mint",
    "android-native-activity",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "i686-pc-windows-msvc",
    "x86_64-pc-windows-msvc",
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
    "i686-unknown-linux-gnu",
    "x86_64-unknown-linux-gnu",
    "aarch64-apple-ios",
    "aarch64-linux-android",
    "wasm32-unknown-unknown",
]

[features]
android-game-activity = ["wingy-android/game-activity"]
android-native-activity = ["wingy-android/native-activity"]
default = [
    "x11",
    "wayland",
    "wayland-dlopen",
    "wayland-csd-adwaita",
]
mint = ["dpi/mint"]
private-apple-apis = ["wingy-appkit/private-apple-apis"]
serde = [
    "dep:serde",
    "cursor-icon/serde",
    "smol_str/serde",
    "dpi/serde",
    "bitflags/serde",
    "wingy-core/serde",
    "wingy-uikit/serde",
]
wayland = ["wingy-wayland"]
wayland-csd-adwaita = ["wingy-wayland/csd-adwaita"]
wayland-csd-adwaita-cosmic-text = ["wingy-wayland/csd-adwaita-cosmic-text"]
wayland-csd-adwaita-crossfont = ["wingy-wayland/csd-adwaita-crossfont"]
wayland-csd-adwaita-notitle = ["wingy-wayland/csd-adwaita-notitle"]
wayland-csd-adwaita-notitlebar = ["wingy-wayland/csd-adwaita-notitlebar"]
wayland-csd-adwaita-skrifa = ["wingy-wayland/csd-adwaita-skrifa"]
wayland-dlopen = ["wingy-wayland/dlopen"]
x11 = ["wingy-x11"]

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "send_objects"
path = "tests/send_objects.rs"

[[test]]
name = "serde_objects"
path = "tests/serde_objects.rs"

[[test]]
name = "sync_object"
path = "tests/sync_object.rs"

[dependencies.bitflags]
version = "2.13.2"

[dependencies.cursor-icon]
version = "1.2.0"

[dependencies.dpi]
version = "=0.1.3"
package = "wingy-dpi"

[dependencies.rwh_06]
version = "0.6.2"
features = ["std"]
package = "raw-window-handle"

[dependencies.serde]
version = "1.0.229"
features = ["serde_derive"]
optional = true

[dependencies.smol_str]
version = "0.3.7"

[dependencies.tracing]
version = "0.1.44"
default-features = false

[dependencies.wingy-core]
version = "=0.31.1"

[dev-dependencies.image]
version = "0.25.10"
features = ["png"]
default-features = false

[dev-dependencies.softbuffer]
version = "0.4.8"
features = [
    "x11",
    "x11-dlopen",
    "wayland",
    "wayland-dlopen",
]
default-features = false

[dev-dependencies.tracing]
version = "0.1.44"
features = ["log"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[build-dependencies.cfg_aliases]
version = "0.2.2"

[target.'cfg(all(target_vendor = "apple", not(target_os = "macos")))'.dependencies.wingy-uikit]
version = "=0.31.1"

[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "android", target_vendor = "apple"))))'.dependencies.libc]
version = "0.2.191"

[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "android", target_vendor = "apple"))))'.dependencies.rustix]
version = "1.1.6"
features = [
    "std",
    "thread",
]
default-features = false

[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "android", target_vendor = "apple"))))'.dependencies.wingy-common]
version = "=0.31.1"
features = ["xkb"]

[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "android", target_vendor = "apple"))))'.dependencies.wingy-wayland]
version = "=0.31.1"
optional = true
default-features = false

[target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "android", target_vendor = "apple"))))'.dependencies.wingy-x11]
version = "=0.31.1"
optional = true

[target.'cfg(target_family = "wasm")'.dependencies.wingy-web]
version = "=0.31.1"

[target.'cfg(target_family = "wasm")'.dev-dependencies.console_error_panic_hook]
version = "0.1.7"

[target.'cfg(target_family = "wasm")'.dev-dependencies.tracing-web]
version = "0.1.3"

[target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-futures]
version = "0.4.80"

[target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.80"

[target.'cfg(target_family = "wasm")'.dev-dependencies.web-time]
version = "1.1.0"

[target.'cfg(target_os = "android")'.dependencies.wingy-android]
version = "=0.31.1"

[target.'cfg(target_os = "macos")'.dependencies.wingy-appkit]
version = "=0.31.1"

[target.'cfg(target_os = "redox")'.dependencies.wingy-orbital]
version = "=0.31.1"

[target.'cfg(target_os = "windows")'.dependencies.wingy-win32]
version = "=0.31.1"