See the kbdgen User Manual!
As of version 2.0, kbdgen is written in a combination of Rust and Python. PyOxidizer is used to bundle a Python interpreter in the Rust binary so end users don’t have to concern themselves with installing additional dependencies.
Start hacking on kbdgen
Install the latest stable Rust version using Rustup
Make sure you have a C compiler, usual build tools like Make, and probably also openssl headers installed, so you can compile the Python interpreter and its standard library.
Install the pyoxidizer version. The quickest way is using
cargo install pyoxidizer --vers 0.7.0.
Build the project using
Rendering the documentation
The kbdgen User Manual can be found in
and is written in AsciiDoc.
To render it,
gem install coderay,
go into the
asciidoctor --verbose index.adoc .
Some parts of the documentation are actually automatically generated
by using a special derive macro on some structs.
Fork and PR on Github.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.