Cargo Features
[dependencies]
wai = { version = "0.1.1", default-features = false, features = ["x11-backend", "evdev-backend", "vulkano"] }
- default = evdev-backend, vulkano, x11-backend
-
These default features are set whenever
wai
is added without
somewhere in the dependency tree.default-features = false - x11-backend default = x11, xcb, xkbcommon
-
Affects
wai::x11
… - evdev-backend default = libudev-sys
-
Affects
wai::evdev
,platform::libevdev
,platform::linux_event_codes
,platform::libudev
…
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.
- libudev-sys evdev-backend
- vulkano default
-
Enables vulkano ^0.3.1
Affects
common::WindowSystem.create_vulkan_surface
… - x11 x11-backend
- xcb x11-backend
-
Enables xcb ^0.7.5
- xkbcommon x11-backend
-
Enables xkbcommon ^0.2.1