Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.
lib.rs is an almost verbatim copy of wayland-kbd's xkbcommon module, along with update-keysyms.sh.
Docs for the master branch are available here.
For examples of practical usage, see its use in winit.