Cargo Features
Wlc has no features set by default.
[dependencies]
wlc = { version = "2.0.1", features = ["serialization", "wayland", "render", "static", "unsafe-stable"] }
- serialization = serde, serde_derive
- wayland = wayland-server
-
Affects
wlc::wayland
,render::Renderer.render_surface
,render::Renderer.surface_textures
… - render
-
Affects
wlc::render
,wlc::Callback.output_render_pre
,wlc::Callback.output_render_post
,wlc::Callback.view_render_pre
,wlc::Callback.view_render_post
… - static
- unsafe-stable
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.
- serde serialization?
-
Enables serde ^0.9
- serde_derive serialization?
-
Enables serde_derive ^0.9
- wayland-server wayland?
-
Enables wayland-server ^0.8