lgui-platform-winit 0.2.2

Winit desktop backend for LGUI
# 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"
name = "lgui-platform-winit"
version = "0.2.2"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Winit desktop backend for LGUI"
homepage = "https://github.com/lius-new/lgui"
documentation = "https://docs.rs/lgui-platform-winit"
readme = "README.md"
keywords = [
    "gui",
    "desktop",
    "winit",
    "windowing",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lius-new/lgui"
resolver = "2"

[features]
accessibility = [
    "dep:accesskit",
    "dep:accesskit_winit",
    "lgui-core/accessibility",
]
clipboard = ["lgui-services/clipboard"]
default = ["renderer-skia-gl"]
diagnostics = ["dep:lgui-diagnostics"]
dialogs = ["lgui-services/dialogs"]
images = [
    "dep:lgui-assets",
    "lgui-assets/backend-winit",
]
multi-window = []
notifications = ["lgui-services/notifications"]
notifications-win32 = [
    "notifications",
    "dep:lgui-platform-win32",
    "lgui-platform-win32/backend-winit",
    "lgui-platform-win32/notifications-win32",
]
open-url = ["lgui-services/open-url"]
persistent-cache = [
    "lgui-core/persistent-cache",
    "lgui-assets?/persistent-cache",
]
renderer-skia = [
    "dep:lgui-render-skia",
    "dep:skia-safe",
    "images",
]
renderer-skia-gl = [
    "renderer-skia",
    "dep:glutin",
    "lgui-render-skia/renderer-skia-gl",
]
renderer-skia-metal = [
    "renderer-skia",
    "dep:objc2",
    "dep:objc2-app-kit",
    "dep:objc2-core-foundation",
    "dep:objc2-metal",
    "dep:objc2-quartz-core",
    "lgui-render-skia/renderer-skia-metal",
]
renderer-skia-vulkan = [
    "renderer-skia",
    "dep:ash",
    "dep:ash-window",
    "lgui-render-skia/renderer-skia-vulkan",
]
store = ["dep:lgui-store"]
svg = [
    "images",
    "lgui-assets/svg",
]
tray-win32 = [
    "dep:lgui-platform-win32",
    "lgui-services/tray",
    "lgui-platform-win32/backend-winit",
    "lgui-platform-win32/tray-win32",
]

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

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

[dependencies.accesskit_winit]
version = "0.33"
features = [
    "accesskit_unix",
    "async-io",
    "rwh_06",
]
optional = true
default-features = false

[dependencies.ash]
version = "0.38"
features = [
    "loaded",
    "std",
]
optional = true
default-features = false

[dependencies.ash-window]
version = "0.13"
optional = true

[dependencies.glutin]
version = "0.32"
optional = true

[dependencies.lgui-assets]
version = "0.2.2"
optional = true
default-features = false

[dependencies.lgui-core]
version = "0.2.2"
default-features = false

[dependencies.lgui-diagnostics]
version = "0.2.2"
optional = true

[dependencies.lgui-render-api]
version = "0.2.2"

[dependencies.lgui-render-skia]
version = "0.2.2"
optional = true
default-features = false

[dependencies.lgui-services]
version = "0.2.2"
default-features = false

[dependencies.lgui-store]
version = "0.2.2"
optional = true

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

[dependencies.skia-safe]
version = "=0.99.0"
features = [
    "binary-cache",
    "embed-icudtl",
    "gl",
    "jpeg",
    "pdf",
    "svg",
    "textlayout",
]
optional = true
default-features = false

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

[dependencies.winit]
version = "0.30.12"

[dev-dependencies.lgui-core]
version = "0.2.2"
features = ["test-support"]
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.skia-safe]
version = "=0.99.0"
features = [
    "all-linux",
    "vulkan",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
    "objc2-quartz-core",
    "NSView",
    "NSResponder",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
version = "0.3.2"
features = [
    "MTLCommandBuffer",
    "MTLCommandQueue",
    "MTLDevice",
    "MTLDrawable",
    "MTLPixelFormat",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
version = "0.3.2"
features = [
    "objc2-core-foundation",
    "objc2-metal",
    "CAMetalLayer",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.skia-safe]
version = "=0.99.0"
features = ["metal"]
optional = true
default-features = false

[target."cfg(windows)".dependencies.lgui-platform-win32]
version = "0.2.2"
optional = true
default-features = false

[target."cfg(windows)".dependencies.skia-safe]
version = "=0.99.0"
features = [
    "d3d",
    "vulkan",
]
optional = true
default-features = false