Cargo Features

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

[dependencies]
i-slint-renderer-skia = { version = "1.8.0", 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

x11

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

opengl
vulkan = ash, vulkano

Enables vulkan of skia-safe ^0.78.0

kms

Enables kms of softbuffer

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?