Cargo Features

wayland-protocols has no features set by default.

[dependencies]
wayland-protocols = { version = "0.32.5", features = ["client", "server", "staging", "unstable"] }
client = wayland-client
server = wayland-server
staging

Affects ext::idle_notify, ext::session_lock, ext::foreign_toplevel_list, ext::transient_seat, ext::image_capture_source, ext::image_copy_capture, wp::content_type, wp::drm_lease, wp::tearing_control, wp::fractional_scale, wp::linux_drm_syncobj, wp::single_pixel_buffer, wp::security_context, wp::alpha_modifier, wp::fifo, wp::commit_timing, xdg::activation, xdg::toplevel_drag, xdg::dialog, xdg::toplevel_icon

unstable

Affects wp::fullscreen_shell, wp::idle_inhibit, wp::input_method, wp::input_timestamps, wp::keyboard_shortcuts_inhibit, wp::linux_explicit_synchronization, wp::pointer_constraints, wp::pointer_gestures, wp::primary_selection, wp::relative_pointer, wp::text_input, xdg::decoration, xdg::foreign, xdg::xdg_output, xwayland::keyboard_grab, wp::cursor_shape

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.

wayland-client client?
wayland-server server?