deforest_derive

Crates.iodeforest_derive
lib.rsdeforest_derive
version0.3.0
sourcesrc
created_at2023-10-03 18:49:23.460525
updated_at2024-02-13 18:13:33.473891
descriptionderive macros for the crate deforest
homepage
repositoryhttps://github.com/kadiwa4/deforest
max_upload_size
id991413
size12,389
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
Commit count: 68

cargo fmt