2 unstable releases
Uses old Rust 2015
0.2.0 | Feb 15, 2019 |
---|---|
0.1.0 | Sep 29, 2018 |
#735 in Build Utils
Used in freedesktop-categories
13KB
253 lines
freedesktop-categories
Static hash map of all application categories as defined by the Freedesktop.org Desktop Menu Specification.
These categories are used in the parsing of .desktop
entries on many open
source desktop environments, among other things. They are also present in other
package metadata standards like AppStream.
Contributing
This is a community project that welcomes contributions from anyone. If you're interested in helping out, please check the issue tracker to get started. Pull requests and issues are welcome!
License
freedesktop-categories
is free and open source software distributed under the
terms of both the MIT License and the Apache License 2.0.
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.
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
~11–18MB
~269K SLoC