#wayland #client

smithay-client-toolkit

Toolkit for making client wayland applications

31 releases (10 breaking)

0.11.0 Aug 30, 2020
0.10.0 Jul 10, 2020
0.9.1 May 3, 2020
0.8.0 Feb 27, 2020
0.2.6 Jul 14, 2018

#303 in GUI

Download history 11659/week @ 2020-06-03 11361/week @ 2020-06-10 10037/week @ 2020-06-17 11298/week @ 2020-06-24 10638/week @ 2020-07-01 11305/week @ 2020-07-08 11997/week @ 2020-07-15 12860/week @ 2020-07-22 13216/week @ 2020-07-29 11880/week @ 2020-08-05 11933/week @ 2020-08-12 13621/week @ 2020-08-19 13318/week @ 2020-08-26 13619/week @ 2020-09-02 12791/week @ 2020-09-09 11182/week @ 2020-09-16

52,951 downloads per month
Used in 376 crates (6 directly)

MIT license

540KB
8K SLoC

crates.io docs.rs 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.
  • Utilites for creating dpi aware surfaces.

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.41 to be used and version 1.12 of the wayland system libraries.

Dependencies

~3MB
~58K SLoC