12 releases (7 breaking)

0.8.0 Jul 30, 2024
0.7.0 Oct 1, 2023
0.6.0 Aug 12, 2023
0.5.1 Jul 22, 2023
0.2.0 Feb 28, 2016

#168 in Hardware support

Download history 20032/week @ 2024-10-16 18603/week @ 2024-10-23 20087/week @ 2024-10-30 17339/week @ 2024-11-06 10426/week @ 2024-11-13 11469/week @ 2024-11-20 10906/week @ 2024-11-27 8979/week @ 2024-12-04 10227/week @ 2024-12-11 12011/week @ 2024-12-18 9773/week @ 2024-12-25 11296/week @ 2025-01-01 16998/week @ 2025-01-08 16800/week @ 2025-01-15 14642/week @ 2025-01-22 10750/week @ 2025-01-29

61,112 downloads per month
Used in 71 crates (27 directly)

MIT license

270KB
4K SLoC

xkbcommon-rs

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

For use with wayland:

[dependencies]
xkbcommon = { version = "0.8", features = ["wayland"] }

For use with X11:

[dependencies]
xkbcommon = { version = "0.8", features = ["x11"] }

example

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

Dependencies

~800KB
~15K SLoC