Cargo Features
xkb has no features set by default.
[dependencies]
xkb = { version = "0.3.0", features = ["static", "x11"] }
- static
-
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.