6 releases (breaking)

Uses old Rust 2015

0.5.0-beta.0 Nov 14, 2021
0.4.0 Jan 9, 2019
0.3.0 Jul 11, 2017
0.2.3 Feb 25, 2018
0.1.0 Feb 27, 2016

#44 in Unix APIs

Download history 756/week @ 2022-01-25 596/week @ 2022-02-01 411/week @ 2022-02-08 286/week @ 2022-02-15 367/week @ 2022-02-22 683/week @ 2022-03-01 1059/week @ 2022-03-08 1293/week @ 2022-03-15 629/week @ 2022-03-22 487/week @ 2022-03-29 685/week @ 2022-04-05 502/week @ 2022-04-12 580/week @ 2022-04-19 616/week @ 2022-04-26 560/week @ 2022-05-03 793/week @ 2022-05-10

2,627 downloads per month
Used in 16 crates (12 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

~215KB