Emmanuel Thompson
Emmanuel Thompson
I saw your reddit post last night and noticed we're working on solving the same problem. I've been working on Deku (https://github.com/sharksforarms/deku) for a couple months now with the goal...
- Find some good examples for the README/lib.rs landing page - Showcase struct, enums, vec, custom reader/writer
Context: https://github.com/sharksforarms/deku/pull/235#issuecomment-940132226
Context: https://github.com/sharksforarms/deku/issues/25#issuecomment-821879061 It would be nice to handle different variants when dealing with the `magic` attribute. This could have an impact on performance: https://github.com/sharksforarms/deku/issues/25#issuecomment-821858517 This would be similar to how...
Reader functions can take in a `Read` + `Seek` trait impl, write can write to a `Write` https://github.com/sharksforarms/deku/issues/100 Feature gated under "std" feature as these are std traits. For nostd,...
Closes: https://github.com/sharksforarms/deku/issues/217 This allows clients to pass context arguments down to all fields. Example ```rust use deku::prelude::*; struct MyCtx {} #[derive(Debug, PartialEq, DekuRead, DekuWrite)] #[deku(ctx = "ctx: MyCtx", ctx_nested =...
Using criterion +bonus if compared to other crates like `nom` for reading
i.e. For, ```rust Diagnostics: 1. the trait bound `std::vec::Vec: deku::DekuRead` is not satisfied the following implementations were found: required by `deku::DekuRead::read` ``` The error message is ```rust Diagnostics: 1. the...
Adding an example which implements DekuRead and DekuWrite Related: https://github.com/sharksforarms/deku/pull/196
For example a `u3` type where 3-bit max value is enforced. ```rust struct DekuTest { field_a: u3 } ``` Create macro where these can be implemented up to a certain...