0.4.0-beta.0 |
|
---|---|
0.3.0 |
|
0.2.0 |
|
0.1.0 |
|
#8 in #shm
Used in wayrs-cursor
64KB
1K
SLoC
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. ProvidesConnection
type which represents open Wayland socket.wayrs-scanner
: Providesgenerate!
macro that generates glue code from.xml
files. Generated code for the core protocol is already included inwayrs-client
. Reexported aswayrs_client::scanner
.wayrs-shm-alloc
: A simple "free list" shared memory allocator.wayrs-protocols
: A collection of Wayland protocols to use withwayrs-client
.
lib.rs
:
A simple "free list" shared memory allocator
Dependencies
~4.5MB
~81K SLoC