#wayland #client

smithay-client-toolkit

Toolkit for making client wayland applications

9 releases

0.3.0 Aug 17, 2018
0.2.6 Jul 14, 2018
0.2.4 Jun 26, 2018
0.2.1 May 3, 2018
0.1.0 Apr 26, 2018

#9 in GUI

Download history 1487/week @ 2018-07-28 2309/week @ 2018-08-04 2199/week @ 2018-08-11 1919/week @ 2018-08-18 2308/week @ 2018-08-25 2155/week @ 2018-09-01 2085/week @ 2018-09-08 2297/week @ 2018-09-15 3355/week @ 2018-09-22 2463/week @ 2018-09-29 2546/week @ 2018-10-06 2583/week @ 2018-10-13 2857/week @ 2018-10-20

7,024 downloads per month
Used in 92 crates (2 directly)

MIT license

456KB
7K SLoC

crates.io Build Status

Smithay's Client Toolkit

This crate is a toolkit for writing wayland clients in rust, on top of wayland-client.

Currently a work in progress, it currently provides the following utilities:

  • Automatic binding of general wayland globals (wl_compositor, wl_shm, etc..)
  • Abstraction to create windows (aka toplevel surfaces), abstracting the interaction with the shell (xdg_shell or wl_shell) and the drawing of decorations
  • Wrapper for wl_keyboard for automatic keymap interpretation using libxkbcommon.so.

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.22 to be used (using bitflags 1.0 for associated constants), and version 1.12 of the wayland system libraries.

Dependencies

~3.5MB
~52K SLoC