Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 760 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 760 Bytes

Rust crate deforest

Efficient #![no_std] parser for devicetree blobs compliant (hopefully) with version 0.4 of the specification.

The crate tries to be efficient by avoiding allocations (it can be used without alloc) and only iterating over nodes once, but I have no realistic benchmarks. On the downside, the interface isn't the most ergonomic.

Alternatives

  • fdt-rs: can even build an index to interact with DTBs faster
  • fdt: comes with extra types for a couple of common nodes

License

This project is licensed under the MIT license (LICENSE-MIT or https://opensource.org/license/mit/).