2 unstable releases

Uses old Rust 2015

0.2.0 Jul 2, 2017
0.1.0 Apr 8, 2017

#29 in #file-tree


Used in dts_viewer

MIT license

83KB
1.5K SLoC

dts_viewer

Crates.io Crates.io

dts_viewer is a program created out of the frustration of working with large device tree files. It aims to simplify the viewing of the (sometimes massive) include file tree and the tracking of changes to nodes and properties caused by included files.


lib.rs:

This crate includes functionality to parse Device Tree Source files into a tree structure and then manipulate that tree structure.

The main parsing function is parser::parse_dt. The structures that make up the returned tree are found in the tree module. Finally, functions to parse includes and manipulate the information gleaned from include statements can be found in the include module.

Dependencies

~1MB
~19K SLoC