Registry / build-tool / wayland-scanner

wayland-scanner

JSON →
library0.31.6rscratesunverified

Wayland Scanner for generating rust APIs from XML wayland protocol files.

# Cargo.toml [dependencies] wayland-scanner = "0.31.6"
INSTALL
IMPORT
SIG · WAYLAND-SCANNER
W
wayland-scanner
build-toolrustv0.31.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

generate_code
use wayland_scanner::generate_code;

Generate Rust bindings from a Wayland protocol XML file.

use wayland_scanner::generate_code; let protocol = std::fs::read_to_string("wayland.xml").unwrap(); generate_code(&protocol, &mut std::io::stdout()).unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.31.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources
wayland-scanner — cargo add wayland-scanner · libregistry