#wayland-client #wayland #client

smithay-client-toolkit

Toolkit for making client wayland applications

50 releases

0.19.2 Jul 15, 2024
0.18.1 Feb 8, 2024
0.18.0 Oct 10, 2023
0.17.0 Apr 5, 2023
0.2.6 Jul 14, 2018

#18 in GUI

Download history 123625/week @ 2024-08-12 106344/week @ 2024-08-19 124398/week @ 2024-08-26 108202/week @ 2024-09-02 111813/week @ 2024-09-09 108290/week @ 2024-09-16 122780/week @ 2024-09-23 117506/week @ 2024-09-30 102862/week @ 2024-10-07 111973/week @ 2024-10-14 112235/week @ 2024-10-21 110977/week @ 2024-10-28 104652/week @ 2024-11-04 111107/week @ 2024-11-11 112990/week @ 2024-11-18 81018/week @ 2024-11-25

416,503 downloads per month
Used in 868 crates (29 directly)

MIT license

405KB
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.65 to be used and version 1.15 of the wayland system libraries if using the system backend.

Dependencies

~6–15MB
~210K SLoC