Registry / networking / wayland-backend

wayland-backend

JSON →
library0.3.15rscratesunverified

Low-level bindings to the Wayland protocol for Rust.

# Cargo.toml [dependencies] wayland-backend = "0.3.15"
INSTALL
IMPORT
SIG · WAYLAND-BACKEND
W
wayland-backend
networkingrustv0.3.15
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.

WaylandClient
✓ use wayland_backend::sys::client::WaylandClient;

Connects to the Wayland display server.

use wayland_backend::sys::client::WaylandClient; fn main() { let client = WaylandClient::connect_to_display().unwrap(); println!("Connected to Wayland display"); }
Debug
Known issues
gotchaRequires a running Wayland compositor.
fix
Run this code only in a Wayland session.
affects: >=0.3.0
Upgrade
Version history
0.3.15latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
wayland-backend — cargo add wayland-backend · libregistry