Cargo Features

wayland-protocols has no features set by default.

[dependencies]
wayland-protocols = { version = "0.31.2", 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, wp::content_type, wp::drm_lease, wp::tearing_control, wp::fractional_scale, wp::single_pixel_buffer, wp::security_context, xdg::activation, xwayland::shell, wp::cursor_shape

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::tablet, 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?