# 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-renderer-skia" version = "1.17.1" authors = ["Slint Developers "] build = "build.rs" autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Skia based renderer 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] rustdoc-args = ["--generate-link-to-definition"] [features] default = ["softbuffer"] kms = ["softbuffer/kms"] opengl = [] unstable-wgpu-28 = [ "i-slint-core/unstable-wgpu-28", "wgpu-28", ] unstable-wgpu-29 = [ "i-slint-core/unstable-wgpu-29", "wgpu-29", ] vulkan = [ "skia-safe/vulkan", "dep:ash", "vulkano", ] wayland = [ "glutin/wayland", "softbuffer/wayland", "softbuffer/wayland-dlopen", ] wgpu-28 = [ "i-slint-core/wgpu-28", "dep:wgpu-28", "dep:spin_on", "dep:foreign-types", "dep:ash", "dep:windows-core", ] wgpu-29 = [ "i-slint-core/wgpu-29", "dep:wgpu-29", "dep:spin_on", "dep:ash", "dep:windows-core", ] x11 = [ "glutin/x11", "glutin/glx", "softbuffer/x11", "softbuffer/x11-dlopen", ] [lib] name = "i_slint_renderer_skia" path = "lib.rs" [dependencies.ash] version = "^0.38.0" optional = true [dependencies.cfg-if] version = "1" [dependencies.clru] version = "0.6.0" [dependencies.const-field-offset] version = "0.2" [dependencies.derive_more] version = "2.0.0" features = [ "deref", "deref_mut", "into", "from", "add", "add_assign", "mul", "not", "display", ] default-features = false [dependencies.glow] version = "0.17" [dependencies.i-slint-common] version = "=1.17.1" features = ["default"] default-features = false [dependencies.i-slint-core] version = "=1.17.1" features = [ "default", "box-shadow-cache", "shared-parley", ] default-features = false [dependencies.i-slint-core-macros] version = "=1.17.1" features = ["default"] default-features = false [dependencies.lyon_path] version = "1.0" default-features = false [dependencies.pin-weak] version = "1" [dependencies.raw-window-handle] version = "0.6" features = ["std"] [dependencies.scoped-tls-hkt] version = "0.1" [dependencies.skia-safe] version = "0.99.0" features = ["gl"] [dependencies.spin_on] version = "0.1" optional = true [dependencies.unicode-segmentation] version = "1.12.0" [dependencies.vtable] version = "0.4" [dependencies.vulkano] version = "0.35.0" optional = true default-features = false [dependencies.wgpu-28] version = "28" optional = true default-features = false package = "wgpu" [dependencies.wgpu-29] version = "29.0.4" optional = true default-features = false package = "wgpu" [build-dependencies.cfg_aliases] version = "0.2.0" [target.aarch64-apple-ios-sim.dependencies.objc2] version = "0.6.0" features = ["disable-encoding-assertions"] [target.'cfg(all(any(target_os = "ios", target_os="macos", target_os="windows", target_os="android", target_os="linux"), not(target_arch = "arm")))'.dependencies.skia-safe] version = "0.99.0" features = ["textlayout"] [target.'cfg(any(not(target_vendor = "apple"), target_os = "macos"))'.dependencies.glutin] version = "0.32.0" features = [ "egl", "wgl", ] default-features = false [target.'cfg(not(any(target_vendor = "apple", target_family = "windows")))'.dependencies.skia-safe] version = "0.99.0" features = [ "gl", "vulkan", ] [target.'cfg(not(any(target_vendor = "apple", target_family = "windows")))'.dependencies.wgpu-28] version = "28" features = ["vulkan"] optional = true default-features = false package = "wgpu" [target.'cfg(not(any(target_vendor = "apple", target_family = "windows")))'.dependencies.wgpu-29] version = "29.0.4" features = ["vulkan"] optional = true default-features = false package = "wgpu" [target.'cfg(not(target_os = "android"))'.dependencies.bytemuck] version = "1.13.1" [target.'cfg(not(target_os = "android"))'.dependencies.softbuffer] version = "0.4.4" optional = true default-features = false [target.'cfg(target_family = "windows")'.dependencies.skia-safe] version = "0.99.0" features = ["d3d"] [target.'cfg(target_family = "windows")'.dependencies.wgpu-28] version = "28" features = ["dx12"] optional = true default-features = false package = "wgpu" [target.'cfg(target_family = "windows")'.dependencies.wgpu-29] version = "29.0.4" features = ["dx12"] optional = true default-features = false package = "wgpu" [target.'cfg(target_family = "windows")'.dependencies.windows] version = "0.62" features = [ "Win32", "Win32_System_Com", "Win32_Graphics", "Win32_Graphics_Dxgi", "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D", "Win32_Foundation", "Win32_Graphics_Dxgi_Common", "Win32_System_Threading", "Win32_Security", ] [target.'cfg(target_family = "windows")'.dependencies.windows-core] version = "0.62.0" optional = true [target.'cfg(target_vendor = "apple")'.dependencies.foreign-types] version = "0.5.0" optional = true [target.'cfg(target_vendor = "apple")'.dependencies.objc2] version = "0.6.0" [target.'cfg(target_vendor = "apple")'.dependencies.objc2-app-kit] version = "0.3.2" features = [ "std", "NSResponder", "NSView", ] default-features = false [target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-foundation] version = "0.3.2" features = ["CFCGTypes"] default-features = false [target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation] version = "0.3.2" features = [ "std", "NSGeometry", ] default-features = false [target.'cfg(target_vendor = "apple")'.dependencies.objc2-metal] version = "0.3.2" features = [ "std", "MTLCommandQueue", "MTLCommandBuffer", "MTLDevice", "MTLResource", "MTLTexture", "MTLTypes", ] default-features = false [target.'cfg(target_vendor = "apple")'.dependencies.objc2-quartz-core] version = "0.3.2" features = [ "std", "objc2-metal", "CALayer", "CAMetalLayer", "objc2-core-foundation", ] default-features = false [target.'cfg(target_vendor = "apple")'.dependencies.raw-window-metal] version = "1.0" [target.'cfg(target_vendor = "apple")'.dependencies.read-fonts] version = "0.39" [target.'cfg(target_vendor = "apple")'.dependencies.skia-safe] version = "0.99.0" features = ["metal"] [target.'cfg(target_vendor = "apple")'.dependencies.wgpu-28] version = "28" features = ["metal"] optional = true default-features = false package = "wgpu" [target.'cfg(target_vendor = "apple")'.dependencies.wgpu-29] version = "29.0.4" features = ["metal"] optional = true default-features = false package = "wgpu" [target.'cfg(target_vendor = "apple")'.dependencies.write-fonts] version = "0.48"