wcampbell
wcampbell
Do you have an example of your expected behavior?
Since you added `ctx` to the `Inner`, you need a way of adding that same context to the `outer_b: Inner`. ```rs use deku::prelude::*; #[derive(Debug, PartialEq, DekuRead)] struct Outer { outer_a:...
You could achieve it with a [reader](https://docs.rs/deku/latest/deku/attributes/index.html#readerwriter). We could add a ` __deku` variable that could be used.
```rust use deku::{ bitvec::{BitSlice, Msb0}, prelude::*, }; #[derive(DekuRead, Debug, PartialEq, Eq)] struct Parent { #[deku(bytes = "1")] num: usize, #[deku(reader = "Parent::read(deku::rest, *num)")] #[deku(count = "num")] subs: Vec, } impl...
Looks like artic-alpaca has already notified the bitvec author https://github.com/ferrilab/bitvec/issues/214.
At first glance, this is related to https://github.com/sharksforarms/deku/pull/226 and https://github.com/sharksforarms/deku/pull/226. No reason we can't support no_std IpAddr
@sharksforarms this can be closed by updating rstest to the latest. I think you may have mentioned doing a One MR to Rule Them All where you update all the...
Away from my computer, but this should work: ```rs use deku::prelude::*; #[derive(Debug, PartialEq, DekuRead, DekuWrite)] struct Bit(#[deku(bits = "1")] u8); #[derive(Debug, PartialEq, DekuRead, DekuWrite)] struct Container { qty: u8, #[deku(count...
> I think there would be value in having an attribute update_on_write that executes right before write and has access to self that can calculate automatically fields that can be...
> I've not stared at Miri output much before, but the failures I examined do not appear to be related to the changes I made. Yah, we really should disable...