Comments (4)
I've made some good headway on the rewrite
branch which uses GATs to implement a "panic mode" parameter which allows for both APIs to exist simultaneously without duplication. not sure on an ETA for a alpha release of the crate but this should help both support users who don't want to panic at all and those who would rather have a more ergonomic API in exchange for potential panics.
from fdt.
This is actually one of the main purposes of the rewrite of the crate that I started a few months ago, though I'm unsure of when it'll be released, but this is planned!
from fdt.
I've done the work in my fork, if you want to crib some stuff: https://codeberg.org/weathered-steel/flat_device_tree/pulls/12/files
from fdt.
not sure on an ETA for a alpha release of the crate but this should help both support users who don't want to panic at all and those who would rather have a more ergonomic API in exchange for potential panics.
Let me know when you have something ready for review.
I'm definitely interested to see what you worked out, since this is relevant to other projects I'm currently working on.
Thanks for the update ❤️
from fdt.
Related Issues (12)
- Panic in `find_all_nodes()` HOT 3
- panic in fdt-0.1.1/src/standard_nodes.rs line 188 HOT 1
- expowose de owiginaw powointew
- No usable `Debug` impl.
- helper function to get interupt IDs from the `interrupts-extended` property
- make `FDT.find_compatible` return a itterator
- `FdtNode::interrupts()` can not handle ARM interrupt properties HOT 1
- Create trait for defining custom nodes that can be easily extracted from the `Fdt` HOT 5
- Add way to pretty-print individual nodes
- Pretty-print using the `Display` implementation instead of `Debug` HOT 1
- Leading 0 cell removed when pretty printing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fdt.