| Crates.io | wayland-protocol |
| lib.rs | wayland-protocol |
| version | 0.2.0+wayland-1.18.0-protocols-1.20 |
| created_at | 2025-12-28 19:21:21.249899+00 |
| updated_at | 2025-12-31 22:31:01.751069+00 |
| description | Parses wayland.xml |
| homepage | |
| repository | https://github.com/jbatez/wayland-headers-rs |
| max_upload_size | |
| id | 2009292 |
| size | 225,990 |
This library parses parses Wayland protocol XML files into Rust data structures.
List all Wayland interfaces:
fn main() {
use wayland_protocol::*;
let protocol = Protocol::wayland(); // wayland.xml
for content in &protocol.contents {
if let ProtocolContent::Interface(interface) = content {
println!("{:?}", interface.name);
}
}
}