sharksforarms / deku

Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
Apache License 2.0
1.14k stars 55 forks source link

Qualify types in derive macros #475

Closed colinjneville closed 2 months ago

colinjneville commented 2 months ago

derive(DekuRead) and derive(DekuWrite) currently don't work without importing deku::prelude because of some unqualified types and trait methods.
I updated everything unqualified I found in the macros and added a (non-exhaustive) test to ensure they compile without the prelude.