Cargo Features

smithay-client-toolkit = { version = "0.19.1", default-features = false, features = ["calloop", "xkbcommon"] }
default = calloop, xkbcommon

These default features are set whenever smithay-client-toolkit is added without default-features = false somewhere in the dependency tree.

calloop default = calloop-wayland-source

Enables calloop ^0.13.0

Affects keyboard::repeat

xkbcommon default = bytemuck, pkg-config

Enables xkbcommon, bytemuck of xkeysym

Affects seat::keyboard

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.

bytemuck xkbcommon
calloop-wayland-source calloop
pkg-config build xkbcommon