[build-dependencies.cfg_aliases]
version = "0.2.0"
[dependencies.bytemuck]
features = ["derive"]
optional = true
version = "1.13.1"
[dependencies.cfg-if]
version = "1"
[dependencies.derive_more]
default-features = false
features = ["deref", "deref_mut", "into", "from", "add", "add_assign", "mul", "not", "display"]
version = "1.0.0"
[dependencies.i-slint-common]
default-features = false
features = ["default"]
version = "=1.9.1"
[dependencies.i-slint-core]
default-features = false
features = ["default"]
version = "=1.9.1"
[dependencies.i-slint-core-macros]
default-features = false
features = ["default"]
version = "=1.9.1"
[dependencies.i-slint-renderer-femtovg]
default-features = false
features = ["default"]
optional = true
version = "=1.9.1"
[dependencies.i-slint-renderer-skia]
default-features = false
features = ["default"]
optional = true
version = "=1.9.1"
[dependencies.imgref]
optional = true
version = "1.6.1"
[dependencies.lyon_path]
version = "1.0"
[dependencies.once_cell]
version = "1.5"
[dependencies.pin-weak]
version = "1"
[dependencies.raw-window-handle]
features = ["alloc"]
version = "0.6"
[dependencies.rgb]
optional = true
version = "0.8.27"
[dependencies.scoped-tls-hkt]
version = "0.1"
[dependencies.scopeguard]
default-features = false
version = "1.1.0"
[dependencies.softbuffer]
default-features = false
optional = true
version = "0.4.4"
[dependencies.winit]
default-features = false
version = "0.30.2"
[dev-dependencies]
[features]
accessibility = ["dep:accesskit", "dep:accesskit_winit"]
default = []
raw-window-handle-06 = ["winit/rwh_06"]
renderer-femtovg = ["dep:i-slint-renderer-femtovg", "dep:glutin", "dep:glutin-winit"]
renderer-skia = ["i-slint-renderer-skia", "winit/rwh_06"]
renderer-skia-opengl = ["renderer-skia", "i-slint-renderer-skia/opengl"]
renderer-skia-vulkan = ["renderer-skia", "i-slint-renderer-skia/vulkan"]
renderer-software = ["dep:softbuffer", "dep:imgref", "dep:rgb", "i-slint-core/software-renderer-systemfonts", "dep:bytemuck", "winit/rwh_06"]
wayland = ["winit/wayland", "winit/wayland-csd-adwaita", "glutin?/wayland", "glutin-winit?/wayland", "copypasta/wayland", "i-slint-renderer-skia?/wayland", "softbuffer?/wayland", "softbuffer?/wayland-dlopen"]
x11 = ["winit/x11", "glutin?/x11", "glutin?/glx", "glutin-winit?/x11", "glutin-winit?/glx", "copypasta/x11", "i-slint-renderer-skia?/x11", "softbuffer?/x11", "softbuffer?/x11-dlopen"]
[lib]
name = "i_slint_backend_winit"
path = "lib.rs"
[package]
authors = ["Slint Developers <info@slint.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Winit backend for Slint"
edition = "2021"
homepage = "https://slint.dev"
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
name = "i-slint-backend-winit"
readme = "README.md"
repository = "https://github.com/slint-ui/slint"
rust-version = "1.77"
version = "1.9.1"
[package.metadata.docs.rs]
features = ["wayland", "renderer-software", "raw-window-handle-06"]
[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32")))'.dependencies.ashpd]
version = "0.9.2"
[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32")))'.dependencies.futures]
version = "0.3.31"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.accesskit]
optional = true
version = "0.17"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.accesskit_winit]
optional = true
version = "0.23"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.copypasta]
default-features = false
version = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin]
default-features = false
features = ["egl", "wgl"]
optional = true
version = "0.32.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin-winit]
default-features = false
features = ["egl", "wgl"]
optional = true
version = "0.5"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
default-features = false
features = ["HtmlInputElement", "HtmlCanvasElement", "Window", "Document", "Event", "KeyboardEvent", "InputEvent", "CompositionEvent", "DomStringMap", "ClipboardEvent", "DataTransfer"]
version = "0.3.72"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.2.2"