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

#94 in Hardware support

Download history 11536/week @ 2024-11-16 11514/week @ 2024-11-23 9644/week @ 2024-11-30 9045/week @ 2024-12-07 12483/week @ 2024-12-14 9347/week @ 2024-12-21 10302/week @ 2024-12-28 14834/week @ 2025-01-04 17707/week @ 2025-01-11 15752/week @ 2025-01-18 13039/week @ 2025-01-25 14978/week @ 2025-02-01 18647/week @ 2025-02-08 17880/week @ 2025-02-15 18384/week @ 2025-02-22 14867/week @ 2025-03-01

72,516 downloads per month
Used in 74 crates (28 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