#menu #categories #codegen #freedesktop

freedesktop-categories-codegen

Parser and code generator for freedesktop-categories

1 unstable release

0.1.0 Sep 29, 2018

#44 in Build Utils

Download history 3/week @ 2018-09-29

1 downloads per month
Used in 1 crate

MIT/Apache

13KB
255 lines


lib.rs:

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.

Dependencies

~11MB
~223K SLoC