Cargo Features
[dependencies]
vizia = { version = "0.2.0", default-features = false, features = ["clipboard", "winit", "x11", "wayland", "accesskit"] }
- default = clipboard, wayland, winit, x11
-
These default features are set whenever
vizia
is added without
somewhere in the dependency tree.default-features = false - clipboard default
-
Enables clipboard of vizia_core and optional vizia_winit
- winit default = vizia_winit
- x11 default
-
Enables x11 of vizia_core and optional vizia_winit
- wayland default
-
Enables wayland of vizia_core and optional vizia_winit
- accesskit
-
Enables accesskit of optional vizia_winit
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.