freedesktop-categories-codegen 0.1.0

Parser and code generator for freedesktop-categories
Documentation

Parser and code generator for freedesktop-categories.

Fetches the latest DocBook version of the Desktop Menu Specification from Freedesktop.org, parses the XML, builds a static phf hash map of all the categories, and saves the generated Rust code to a file which can be included in your Rust project during a Cargo build.