wayrs-shm-alloc

Crates.iowayrs-shm-alloc
lib.rswayrs-shm-alloc
version0.4.0-beta.0
sourcesrc
created_at2022-12-26 14:26:09.238351
updated_at2023-02-11 16:06:10.20463
descriptionA helper crate for wayrs-client for shared memory allocation
homepage
repositoryhttps://github.com/MaxVerevkin/wayrs
max_upload_size
id745797
size12,460
Max Verevkin (MaxVerevkin)

documentation

README

wayrs

A simple Rust implementation of Wayland client library.

Design decisions

  • Single event queue
  • No interior mutability
  • No libwayland compatibility
  • Support blocking, non-blocking and async IO

Project structure

The project is split into multiple crates:

  • wayrs-client: The main crate with implements Wayland wire protocol. Provides Connection type which represents open Wayland socket.
  • wayrs-scanner: Provides generate! macro that generates glue code from .xml files. Generated code for the core protocol is already included in wayrs-client. Reexported as wayrs_client::scanner.
  • wayrs-shm-alloc: A simple "free list" shared memory allocator.
  • wayrs-protocols: A collection of Wayland protocols to use with wayrs-client.
Commit count: 342

cargo fmt