Cargo Features

xkb has no features set by default.

xkb = { version = "0.3.0", features = ["static", "x11"] }

Enables static of xkbcommon-sys

x11 = xcb

Enables x11 of xkbcommon-sys

Affects xkb::x11

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.

xcb x11?