Cargo Features

[dependencies]
smithay-client-toolkit = { version = "0.18.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.12.1

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

Enables calloop-wayland-source ^0.2.0

pkg-config build xkbcommon