Crate features / wayland-sys
Feature flags · wayland-sys 0.31.11 · from crates.io 2026-10-24
wayland-sys features: what each one does, and the line to copy
Short answerwayland-sys 0.31.11 has 8 features. Nothing is on by default: turn on what you use. It needs Rust 1.71 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
client | dep:dlib, dep:log | |
cursor | client | |
dlopen | once_cell | |
egl | client | |
libwayland_client_1_23 | nothing else (a switch the code checks) | |
libwayland_server_1_22 | nothing else (a switch the code checks) | |
libwayland_server_1_23 | libwayland_server_1_22 | |
server | libc, memoffset, dep:dlib, dep:log |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version wayland-sys declares (rust-version), and the release that changed it:
- 0.31.0 (2023-06-05): Rust 1.59
- 0.31.2 (2024-05-31): Rust 1.65
- 0.31.10 (2026-03-05): Rust 1.71
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p wayland-sys --precise <version>, or use resolver 3, which picks compatible versions for you.
More on wayland-sys
Real downloads, dependents and alternatives: wayland-sys crate data (263.8K real downloads a day, 35 dependents).
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Before you depend on itwayland-sys crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?