deforest

Crates.iodeforest
lib.rsdeforest
version0.3.2
sourcesrc
created_at2023-10-03 19:11:46.366346
updated_at2024-04-01 14:11:26.983157
descriptionefficient `#![no_std]` parser for devicetree blobs
homepage
repositoryhttps://github.com/kadiwa4/deforest
max_upload_size
id991453
size135,910
kadiwa (kadiwa4)

documentation

README

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/).

Commit count: 68

cargo fmt