# 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.18.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", "wgpu-30", ] kms = ["softbuffer/kms"] opengl = [] unstable-wgpu-29 = [ "i-slint-core/unstable-wgpu-29", "wgpu-29", ] unstable-wgpu-30 = [ "i-slint-core/unstable-wgpu-30", "wgpu-30", ] vulkan = [ "skia-safe/vulkan", "wgpu-30", "wgpu-30/vulkan", "wgpu-30/vulkan-portability", "wgpu-29?/vulkan", "wgpu-29?/vulkan-portability", ] wayland = [ "glutin/wayland", "softbuffer/wayland", "softbuffer/wayland-dlopen", ] wgpu-29 = [ "i-slint-core/wgpu-29", "dep:wgpu-29", "dep:spin_on", "dep:windows-core", "dep:wgpu-hal-29", ] wgpu-30 = [ "i-slint-core/wgpu-30", "dep:wgpu-30", "dep:spin_on", "dep:windows-core", "dep:wgpu-hal-30", ] x11 = [ "glutin/x11", "glutin/glx", "softbuffer/x11", "softbuffer/x11-dlopen", ] [lib] name = "i_slint_renderer_skia" path = "lib.rs" [dependencies.cfg-if] version = "1" [dependencies.clru] version = "0.6.0" [dependencies.const-field-offset] version = "0.2.1" [dependencies.glow] version = "0.18" [dependencies.i-slint-common] version = "=1.18.1" features = ["default"] default-features = false [dependencies.i-slint-core] version = "=1.18.1" features = [ "default", "box-shadow-cache", "shared-parley", "image-decoders", "svg", ] default-features = false [dependencies.i-slint-core-macros] version = "=1.18.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.153.3" features = ["gl"] [dependencies.spin_on] version = "0.1" optional = true [dependencies.unicode-segmentation] version = "1.12.0" [dependencies.vtable] version = "0.5" [dependencies.wgpu-29] version = "29.0.4" optional = true default-features = false package = "wgpu" [dependencies.wgpu-30] version = "30" optional = true default-features = false package = "wgpu" [build-dependencies.cfg_aliases] version = "0.2.2" [target.aarch64-apple-ios-sim.dependencies.objc2] version = "0.6.0" features = ["disable-encoding-assertions"] [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.153.3" features = [ "gl", "vulkan", ] [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(any(target_vendor = "apple", target_family = "windows")))'.dependencies.wgpu-30] version = "30" 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.153.3" features = ["d3d"] [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.wgpu-30] version = "30" features = ["dx12"] optional = true default-features = false package = "wgpu" [target.'cfg(target_family = "windows")'.dependencies.windows] version = "0.62" features = [ "Win32", "Win32_Graphics", "Win32_Graphics_Dxgi", "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D", "Win32_Foundation", "Win32_Graphics_Dxgi_Common", ] [target.'cfg(target_family = "windows")'.dependencies.windows-core] version = "0.62.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.read-fonts] version = "0.41" [target.'cfg(target_vendor = "apple")'.dependencies.skia-safe] version = "0.153.3" features = ["metal"] [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.wgpu-30] version = "30" features = ["metal"] optional = true default-features = false package = "wgpu" [target.'cfg(target_vendor = "apple")'.dependencies.wgpu-hal-29] version = "29.0.4" optional = true default-features = false package = "wgpu-hal" [target.'cfg(target_vendor = "apple")'.dependencies.wgpu-hal-30] version = "30" optional = true default-features = false package = "wgpu-hal" [target.'cfg(target_vendor = "apple")'.dependencies.write-fonts] version = "0.50"