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

#155 in Hardware support

Download history 18898/week @ 2024-09-15 20979/week @ 2024-09-22 20598/week @ 2024-09-29 20091/week @ 2024-10-06 18682/week @ 2024-10-13 19780/week @ 2024-10-20 18016/week @ 2024-10-27 22787/week @ 2024-11-03 10060/week @ 2024-11-10 11395/week @ 2024-11-17 11527/week @ 2024-11-24 9808/week @ 2024-12-01 8935/week @ 2024-12-08 12635/week @ 2024-12-15 9383/week @ 2024-12-22 8907/week @ 2024-12-29

41,111 downloads per month
Used in 70 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