#wayland #codegen

macro build wayland-scanner

Wayland Scanner for generating rust APIs from XML wayland protocol files. Intended for use with wayland-sys. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings.

113 releases

0.30.0-alpha2 Jan 7, 2022
0.29.4 Jan 6, 2022
0.29.1 Oct 17, 2021
0.29.0 Jul 24, 2021
0.2.0 Nov 19, 2015

#22 in GUI

Download history 17795/week @ 2021-09-28 18467/week @ 2021-10-05 18045/week @ 2021-10-12 19371/week @ 2021-10-19 19886/week @ 2021-10-26 21135/week @ 2021-11-02 20974/week @ 2021-11-09 20980/week @ 2021-11-16 21279/week @ 2021-11-23 25353/week @ 2021-11-30 22011/week @ 2021-12-07 21378/week @ 2021-12-14 16726/week @ 2021-12-21 20338/week @ 2021-12-28 25516/week @ 2022-01-04 25554/week @ 2022-01-11

91,600 downloads per month
Used in 494 crates (9 directly)

MIT license

76KB
2K SLoC

crates.io docs.rs Continuous Integration codecov

wayland-scanner

Code-generation for Wayland protocols, to be used with wayland-client or wayland-server to integrate them with your own protocol extensions.

Most general protocol extensions are already exposed by the wayland-protocols crate, so you don't need to use wayland-scanner directly to support them.

Dependencies

~295KB