Defining keymaps using Rust

This article on the use of Rust macros to define keymaps in QMK might be of interest.