teksilo-platform 0.9.0

Platform integration for Teksilo — winit and AccessKit adapters, clipboard, OS theme, native file dialogs, drag-and-drop and menus.
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"
name = "teksilo-platform"
version = "0.9.0"
authors = ["Cyril Jacquet <cyril.jacquet@ferntech.eu>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform integration for Teksilo — winit and AccessKit adapters, clipboard, OS theme, native file dialogs, drag-and-drop and menus."
readme = false
license = "MPL-2.0"
repository = "https://github.com/ferntech-eu/teksilo"

[package.metadata.docs.rs]
all-features = true

[features]
clipboard = ["dep:arboard"]
default = []
file-dialog = []
native-menu = []
rfd-backend = [
    "file-dialog",
    "dep:rfd",
    "dep:async-std",
]

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

[dependencies.accesskit]
version = "0.25.0"

[dependencies.accesskit_winit]
version = "0.34.0"

[dependencies.arboard]
version = "3.6"
features = ["wayland-data-control"]
optional = true

[dependencies.async-std]
version = "1"
optional = true

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

[dependencies.rfd]
version = "0.17.2"
features = [
    "xdg-portal",
    "wayland",
]
optional = true
default-features = false

[dependencies.teksilo-canvas]
version = "0.9.0"

[dependencies.teksilo-core]
version = "0.9.0"

[dependencies.teksilo-render]
version = "0.9.0"

[dependencies.teksilo-tokens]
version = "0.9.0"

[dependencies.thiserror]
version = "2"

[dependencies.wgpu]
version = "30.0.0"

[dependencies.winit]
version = "0.30"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.libc]
version = "0.2"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.wayland-backend]
version = "0.3"
features = ["client_system"]

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.wayland-client]
version = "0.31"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.wayland-protocols]
version = "0.32"
features = [
    "client",
    "staging",
]

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.x11rb]
version = "0.13"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
    "NSWorkspace",
    "NSAccessibility",
    "NSWindow",
    "NSView",
    "NSResponder",
    "NSGraphics",
    "NSButton",
    "NSControl",
    "NSDragging",
    "NSPasteboard",
    "NSDraggingItem",
    "NSDraggingSession",
    "NSImage",
    "NSApplication",
    "NSEvent",
    "NSMenu",
    "NSMenuItem",
]

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSArray",
    "NSString",
    "NSURL",
    "NSDictionary",
    "NSGeometry",
    "NSEnumerator",
]

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_UI_WindowsAndMessaging",
    "Win32_UI_Accessibility",
    "UI_ViewManagement",
    "Win32_Graphics_Dwm",
    "Win32_Graphics_Gdi",
    "Win32_UI_HiDpi",
    "Win32_UI_Controls",
    "Win32_UI_Shell",
    "Win32_UI_Input_KeyboardAndMouse",
    "Win32_Foundation",
    "Win32_System_Ole",
    "Win32_System_Com",
    "Win32_System_Com_StructuredStorage",
    "Win32_System_Memory",
    "Win32_System_SystemServices",
    "Win32_System_DataExchange",
]

[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.62"