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

#147 in Hardware support

Download history 18185/week @ 2024-08-22 18116/week @ 2024-08-29 21799/week @ 2024-09-05 19362/week @ 2024-09-12 19737/week @ 2024-09-19 20608/week @ 2024-09-26 21062/week @ 2024-10-03 18707/week @ 2024-10-10 20145/week @ 2024-10-17 18266/week @ 2024-10-24 20940/week @ 2024-10-31 15496/week @ 2024-11-07 10613/week @ 2024-11-14 11315/week @ 2024-11-21 10529/week @ 2024-11-28 7723/week @ 2024-12-05

41,868 downloads per month
Used in 68 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