wlib 0.2.5

A simple wayland windowing library that gives you a pixel buffer and not much else
Documentation

Wlib

A simple library for creating a wayland window and manipulating its raw pixel buffer.

crates.io, docs.rs

Use case

If you want to create a CPU rendered application, and have wayland support. For example, a doomlike game or a software rasteriser.

Features

  • Keyboard and mouse input
  • Custom window sizing
  • Confirm close

Requirements

  • Building needs linux-headers installed to get the named raw key codes.

Example

main.rs outputs: