Cargo Features

[dependencies]
smithay-client-toolkit = { version = "0.19.2", 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 ^0.7.0, 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

Enables calloop-wayland-source ^0.3.0

pkg-config build xkbcommon