Cargo Features

i-slint-renderer-skia has no features set by default.

[dependencies]
i-slint-renderer-skia = { version = "1.5.1", features = ["wayland", "x11", "opengl", "vulkan", "kms"] }

Note, these features need to be kept in sync (along with their defaults) in the C++ crate's CMakeLists.txt

wayland

Enables wayland of glutin, wayland and wayland-dlopen of softbuffer ^0.3.3

x11

Enables glx and x11 of glutin, x11 and x11-dlopen of softbuffer ^0.3.3

opengl
vulkan = ash, vulkano

Enables vulkan of skia-safe ^0.71.0

kms

Enables kms of softbuffer ^0.3.3

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

ash vulkan?

Enables ash ^0.37.2

vulkano vulkan?