{"id":59973,"library":"wayland-scanner","title":"Wayland Scanner","description":"Wayland Scanner for generating rust APIs from XML wayland protocol files.","status":"active","version":"0.31.6","language":"rust","source_language":null,"source_url":"https://github.com/smithay/wayland-rs","tags":["wayland","scanner","codegen","protocol","xml"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nwayland-scanner = \"0.31.6\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add wayland-scanner","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"generate_code","correct":"use wayland_scanner::generate_code;"}],"quickstart":{"code":"use wayland_scanner::generate_code;\n\nlet protocol = std::fs::read_to_string(\"wayland.xml\").unwrap();\ngenerate_code(&protocol, &mut std::io::stdout()).unwrap();","lang":"rust","description":"Generate Rust bindings from a Wayland protocol XML file."},"warnings":[],"env_vars":null,"search_vec":"'api':8 'codegen':16 'file':13 'generat':6 'protocol':12,17 'rust':7 'scanner':2,4,15 'wayland':1,3,11,14 'xml':10,18","created_at":"2026-06-16T17:23:11.839890+00:00","updated_at":"2026-06-16T17:23:11.839890+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/smithay/wayland-rs","github":"https://github.com/smithay/wayland-rs","docs":"https://docs.rs/wayland-scanner/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}