| Crates.io | nl80211-buildtools |
| lib.rs | nl80211-buildtools |
| version | 0.1.1 |
| created_at | 2018-10-15 20:20:49.975051+00 |
| updated_at | 2025-10-28 13:45:32.968169+00 |
| description | Tools for building datastructures and constants for nl80211 |
| homepage | |
| repository | https://github.com/blueluna/nl80211-rs |
| max_upload_size | |
| id | 90388 |
| size | 105,345 |
A helper crate for generating code from JSON definition files.
These JSON definition files can be generated with the specgen tool found as an example in this crate.
specgen -i <intput> -o <output> -n <name> -t <type>
Generates a specification file from a (nl80211) kernel header.
<intput>, Path to the nl80211.h kernel header<output>, Path to the description file to write<name>, Name of the enum or attribute to describe.<type>, Either "enum" or "attribute" to generate an attribute or enumeration description.specgen -i /usr/include/linux/nl80211.h -n nl80211_attrs -t attribute -o nl80211_attributes.json