2 unstable releases

0.2.0 Jan 26, 2025
0.1.0 Jan 21, 2025

#8 in #xkb

Download history 182/week @ 2025-01-18 207/week @ 2025-01-25 78/week @ 2025-02-01 46/week @ 2025-02-08 93/week @ 2025-02-15 162/week @ 2025-02-22 158/week @ 2025-03-01

468 downloads per month
Used in 3 crates (via kbvm)

MIT/Apache

9KB
226 lines

KBVM

crates.io docs.rs MSRV

KBVM is a rust implementation of the XKB specification and associated protocols. It supports

  • creating keymaps from XKB files,
  • creating keymaps from RMLVO names,
  • creating keymaps from X11 connections,
  • creating a composition state machine from XCompose files, and
  • loading the RMLVO registry.

A keymap can be turned into a compositor-side state machine or a client-side lookup table.

Compatibility

See compatibility.md.

CLI

The kbvm-cli crate provides a binary that can be used to compile and test keymaps without installing them.

License

This kbvm crate is licensed under either of

  • Apache License, Version 2.0
  • MIT License

at your option.

Dependencies

~190–620KB
~15K SLoC