[][src]Crate freedesktop_categories_codegen

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.

Structs

DesktopMenuSpec

Specification parser and code generator.

Enums

Error

Types of errors and their causes.

Version

Version of the specification to download.