#wayland #client

smithay-client-toolkit

Toolkit for making client wayland applications

43 releases

0.16.0 Jun 18, 2022
0.15.3 Dec 27, 2021
0.15.2 Oct 27, 2021
0.14.0 May 7, 2021
0.2.6 Jul 14, 2018

#6 in GUI

Download history 19518/week @ 2022-03-11 22660/week @ 2022-03-18 22325/week @ 2022-03-25 25184/week @ 2022-04-01 25855/week @ 2022-04-08 24992/week @ 2022-04-15 23143/week @ 2022-04-22 23270/week @ 2022-04-29 23163/week @ 2022-05-06 23362/week @ 2022-05-13 21706/week @ 2022-05-20 21842/week @ 2022-05-27 24372/week @ 2022-06-03 22893/week @ 2022-06-10 23743/week @ 2022-06-17 19294/week @ 2022-06-24

93,585 downloads per month
Used in 340 crates (10 directly)

MIT license

555KB
9K 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.61 to be used and version 1.12 of the wayland system libraries.

Dependencies

~4MB
~81K SLoC