Package rust-yang provides structures and tools to parse yang files and build their tree like in memory representation.
NOTE: This is a toy-project that I undertake in order to learn more about Rust. Currrently it is far from stable or finished. Use at your own risk :)
The following structures are implemented (+ fields):
- Module parsing
I plan to implement soon:
- Leaf
- Container
- Typedef
- Grouping
- Identity
- Extension
- Choice
- Using
- Import
- Leaf-list
- List
- Anyxml
- Augments
- Include
- Notification
- RPC
- Possibly others
I would like to thank the projects nom :)