8 releases (4 breaking)

0.5.0 Sep 1, 2022
0.5.0-beta.0 Nov 14, 2021
0.4.1 Aug 1, 2022
0.4.0 Jan 9, 2019
0.2.0 Feb 28, 2016

#104 in Unix APIs

Download history 909/week @ 2022-10-14 1144/week @ 2022-10-21 1329/week @ 2022-10-28 1489/week @ 2022-11-04 1340/week @ 2022-11-11 1556/week @ 2022-11-18 1282/week @ 2022-11-25 1396/week @ 2022-12-02 1457/week @ 2022-12-09 1107/week @ 2022-12-16 1217/week @ 2022-12-23 1334/week @ 2022-12-30 1706/week @ 2023-01-06 1812/week @ 2023-01-13 1775/week @ 2023-01-20 1803/week @ 2023-01-27

7,354 downloads per month
Used in 22 crates (16 directly)

MIT license

265KB
4K SLoC

xkbcommon-rs

xkbcommon-rs is a set of bindings and safe wrappers for libxkbcommon.

For use with wayland:

[dependencies]
xkbcommon = { version = "0.5-beta", features = ["wayland"] }

For use with X11:

[dependencies]
xkbcommon = { version = "0.5-beta", features = ["x11"] }

example

Living example for X11 here: https://github.com/rust-x-bindings/toy_xcb/blob/master/src/keyboard.rs

Dependencies

~220KB