papamitra / wayland-rs

Rust bindings to the wayland C libraries (client and server).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

Wayland client

These are bindings to the reference implementation of the wayland protocol. This is not a pure rust implementation of the wayland protocol, and thus requires libwayland-client.so to be available.

This repository actually hosts 5 crates. The 3 main crates you'll likely want to use:

  • wayland-client and wayland-server are the main crates for client and server side bindings
  • wayland-protocols regroups bindings on the official protocol extentions available

And 2 internal crates, that you'll need only for integrating a custom protocol extension:

  • wayland-sys is the actual C bindings, on which the crates are built
  • wayland-scanner is the crate used to convert the XML protocol specifications into rust code

Documentation

The documentation for the master branch is available online.

The documentation for the releases can be found on docs.rs:

Requirements

Requires at least rust 1.20 to be used (using bitflags 1.0 for associated constants).

About

Rust bindings to the wayland C libraries (client and server).

License:MIT License


Languages

Language:Rust 96.5%Language:CSS 2.7%Language:HTML 0.7%