Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
423 lines
9.5 KiB
TOML
Vendored
423 lines
9.5 KiB
TOML
Vendored
# 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.92"
|
|
name = "i-slint-backend-winit"
|
|
version = "1.18.1"
|
|
authors = ["Slint Developers <info@slint.dev>"]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Winit backend for Slint"
|
|
homepage = "https://slint.dev"
|
|
readme = "README.md"
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
repository = "https://github.com/slint-ui/slint"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [
|
|
"wayland",
|
|
"renderer-software",
|
|
"raw-window-handle-06",
|
|
]
|
|
rustdoc-args = ["--generate-link-to-definition"]
|
|
|
|
[features]
|
|
accessibility = [
|
|
"dep:accesskit",
|
|
"dep:accesskit_winit",
|
|
"i-slint-core/accessibility-text",
|
|
]
|
|
default = []
|
|
raw-window-handle-06 = ["i-slint-core/raw-window-handle-06"]
|
|
renderer-femtovg = [
|
|
"i-slint-renderer-femtovg/opengl",
|
|
"dep:glutin",
|
|
"dep:glutin-winit",
|
|
"windows/Win32_Graphics_OpenGL",
|
|
]
|
|
renderer-femtovg-wgpu = [
|
|
"i-slint-renderer-femtovg/wgpu",
|
|
"dep:i-slint-renderer-femtovg",
|
|
"unstable-wgpu-30",
|
|
]
|
|
renderer-skia = ["i-slint-renderer-skia"]
|
|
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",
|
|
"dep:i-slint-renderer-software",
|
|
"i-slint-renderer-software/std",
|
|
"dep:bytemuck",
|
|
]
|
|
renderer-vello = [
|
|
"dep:i-slint-renderer-anyrender",
|
|
"i-slint-renderer-anyrender/vello",
|
|
"unstable-wgpu-29",
|
|
]
|
|
unstable-wgpu-29 = [
|
|
"i-slint-core/unstable-wgpu-29",
|
|
"i-slint-renderer-skia?/unstable-wgpu-29",
|
|
]
|
|
unstable-wgpu-30 = [
|
|
"i-slint-core/unstable-wgpu-30",
|
|
"i-slint-renderer-femtovg?/unstable-wgpu-30",
|
|
"i-slint-renderer-skia?/unstable-wgpu-30",
|
|
]
|
|
wayland = [
|
|
"winit/wayland",
|
|
"winit/wayland-csd-adwaita-crossfont",
|
|
"glutin?/wayland",
|
|
"glutin-winit?/wayland",
|
|
"dep:arboard",
|
|
"arboard/wayland-data-control",
|
|
"i-slint-renderer-skia?/wayland",
|
|
"softbuffer?/wayland",
|
|
"softbuffer?/wayland-dlopen",
|
|
]
|
|
x11 = [
|
|
"winit/x11",
|
|
"glutin?/x11",
|
|
"glutin?/glx",
|
|
"glutin-winit?/x11",
|
|
"glutin-winit?/glx",
|
|
"dep:arboard",
|
|
"i-slint-renderer-skia?/x11",
|
|
"softbuffer?/x11",
|
|
"softbuffer?/x11-dlopen",
|
|
]
|
|
|
|
[lib]
|
|
name = "i_slint_backend_winit"
|
|
path = "lib.rs"
|
|
|
|
[[test]]
|
|
name = "hide_from_window_event"
|
|
path = "tests/hide_from_window_event.rs"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "hide_with_external_reference"
|
|
path = "tests/hide_with_external_reference.rs"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "menubar_borrow"
|
|
path = "tests/menubar_borrow.rs"
|
|
harness = false
|
|
|
|
[dependencies.bytemuck]
|
|
version = "1.13.1"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1"
|
|
|
|
[dependencies.i-slint-common]
|
|
version = "=1.18.1"
|
|
features = ["default"]
|
|
default-features = false
|
|
|
|
[dependencies.i-slint-core]
|
|
version = "=1.18.1"
|
|
features = ["default"]
|
|
default-features = false
|
|
|
|
[dependencies.i-slint-core-macros]
|
|
version = "=1.18.1"
|
|
features = ["default"]
|
|
default-features = false
|
|
|
|
[dependencies.i-slint-renderer-anyrender]
|
|
version = "=1.18.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.i-slint-renderer-femtovg]
|
|
version = "=1.18.1"
|
|
features = ["default"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.i-slint-renderer-skia]
|
|
version = "=1.18.1"
|
|
features = ["default"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.i-slint-renderer-software]
|
|
version = "=1.18.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.imgref]
|
|
version = "1.6.1"
|
|
optional = true
|
|
|
|
[dependencies.lyon_path]
|
|
version = "1.0"
|
|
default-features = false
|
|
|
|
[dependencies.pin-weak]
|
|
version = "1"
|
|
|
|
[dependencies.raw-window-handle]
|
|
version = "0.6"
|
|
features = ["alloc"]
|
|
|
|
[dependencies.rgb]
|
|
version = "0.8.27"
|
|
optional = true
|
|
|
|
[dependencies.scoped-tls-hkt]
|
|
version = "0.1"
|
|
|
|
[dependencies.scopeguard]
|
|
version = "1.1.0"
|
|
default-features = false
|
|
|
|
[dependencies.softbuffer]
|
|
version = "0.4.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.strum]
|
|
version = "0.28"
|
|
features = ["derive"]
|
|
default-features = false
|
|
|
|
[dependencies.webbrowser]
|
|
version = "1.2.0"
|
|
|
|
[dependencies.winit]
|
|
version = "0.30.2"
|
|
features = ["rwh_06"]
|
|
default-features = false
|
|
|
|
[dev-dependencies]
|
|
|
|
[build-dependencies.cfg_aliases]
|
|
version = "0.2.2"
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), not(all(target_vendor = "apple", not(target_os = "macos")))))'.dependencies.glutin]
|
|
version = "0.32.0"
|
|
features = [
|
|
"egl",
|
|
"wgl",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(all(not(target_arch = "wasm32"), not(all(target_vendor = "apple", not(target_os = "macos")))))'.dependencies.glutin-winit]
|
|
version = "0.5"
|
|
features = [
|
|
"egl",
|
|
"wgl",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(all(target_vendor = "apple", not(target_os = "macos")))'.dependencies.i-slint-renderer-skia]
|
|
version = "=1.18.1"
|
|
features = ["default"]
|
|
default-features = false
|
|
|
|
[target.'cfg(any(target_os = "macos", target_family = "windows"))'.dependencies.muda]
|
|
version = "0.19.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(any(target_os = "macos", target_family = "windows"))'.dependencies.vtable]
|
|
version = "0.5"
|
|
|
|
[target.'cfg(not(any(target_family = "windows", target_vendor = "apple", target_arch = "wasm32", target_os = "android")))'.dependencies.arboard]
|
|
version = "3.6"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(not(any(target_family = "windows", target_vendor = "apple", target_arch = "wasm32", target_os = "android")))'.dependencies.futures]
|
|
version = "0.3.31"
|
|
|
|
[target.'cfg(not(any(target_family = "windows", target_vendor = "apple", target_arch = "wasm32", target_os = "android")))'.dependencies.zbus]
|
|
version = "6.1"
|
|
features = ["default-rt", "proxy", "service", "object-manager"]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.accesskit]
|
|
version = "0.24"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.accesskit_winit]
|
|
version = "0.33"
|
|
features = [
|
|
"accesskit_unix",
|
|
"async-io",
|
|
"rwh_06",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.i-slint-core]
|
|
version = "=1.18.1"
|
|
features = [
|
|
"image-decoders",
|
|
"svg",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
|
|
version = "0.2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
|
|
version = "0.3.72"
|
|
features = [
|
|
"HtmlInputElement",
|
|
"HtmlCanvasElement",
|
|
"Window",
|
|
"Document",
|
|
"Event",
|
|
"EventTarget",
|
|
"FocusEvent",
|
|
"KeyboardEvent",
|
|
"InputEvent",
|
|
"CompositionEvent",
|
|
"DomStringMap",
|
|
"ClipboardEvent",
|
|
"DataTransfer",
|
|
"Node",
|
|
"WebGlContextEvent",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies.block2]
|
|
version = "0.6.2"
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies.objc2]
|
|
version = "0.6.3"
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
|
|
version = "0.3.2"
|
|
features = [
|
|
"std",
|
|
"block2",
|
|
"NSString",
|
|
"NSNotification",
|
|
"NSOperation",
|
|
"NSGeometry",
|
|
"NSRunLoop",
|
|
"objc2-core-foundation",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies.objc2-quartz-core]
|
|
version = "0.3.2"
|
|
features = [
|
|
"CADisplayLink",
|
|
"CATransaction",
|
|
"CAFrameRateRange",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
|
|
version = "0.3.2"
|
|
features = [
|
|
"UIApplication",
|
|
"UIScene",
|
|
"UISceneDefinitions",
|
|
"UISceneOptions",
|
|
"UISceneSession",
|
|
"UIScreen",
|
|
"UIWindow",
|
|
"UIWindowScene",
|
|
"UIView",
|
|
"UIViewAnimating",
|
|
"UIViewPropertyAnimator",
|
|
"UIResponder",
|
|
"UIInterface",
|
|
"UIPasteboard",
|
|
"UITrait",
|
|
"UITraitCollection",
|
|
"UIFont",
|
|
"UIFontDescriptor",
|
|
"objc2-core-foundation",
|
|
"objc2-quartz-core",
|
|
"block2",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.arboard]
|
|
version = "3.6"
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.block2]
|
|
version = "0.6.2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.objc2]
|
|
version = "0.6.3"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
|
|
version = "0.3.2"
|
|
features = [
|
|
"std",
|
|
"NSColor",
|
|
"NSView",
|
|
"NSWindow",
|
|
"NSResponder",
|
|
"objc2-core-foundation",
|
|
"objc2-quartz-core",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
|
|
version = "0.3.2"
|
|
features = [
|
|
"std",
|
|
"block2",
|
|
"NSString",
|
|
"NSNotification",
|
|
"NSOperation",
|
|
"NSRunLoop",
|
|
"NSObjCRuntime",
|
|
"NSUserDefaults",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
|
|
version = "0.3.2"
|
|
features = ["CADisplayLink"]
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.arboard]
|
|
version = "3.6"
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.windows]
|
|
version = "0.62"
|
|
features = [
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_UI_HiDpi",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Graphics_Dwm",
|
|
]
|