5 unstable releases
0.3.2 | Apr 1, 2024 |
---|---|
0.3.1 | Mar 5, 2024 |
0.3.0 | Feb 13, 2024 |
0.2.0 | Oct 16, 2023 |
0.1.0 | Oct 3, 2023 |
#544 in Embedded development
85KB
2K
SLoC
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 fasterfdt
: 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/).
lib.rs
:
Efficient #![no_std]
parser for devicetree blobs compliant (hopefully)
with version 0.4 of the specification.
Dependencies
~1–1.6MB
~29K SLoC