sharksforarms / deku

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

Add core_in_error support #464

Closed stgraham2000 closed 3 months ago

stgraham2000 commented 3 months ago

Add the core_in_error feature and implement core::error::Error for DekuError if the core_in_error feature is enabled.

This feature is automatically enabled in Rust nightly so when using Rust nightly you get this feature by default. When using stable Rust, this feature can be optionally added.

wcampbell0x2a commented 3 months ago

Thanks for the MR!

sharksforarms commented 3 months ago

Thanks!

(looks like CI is slightly broken on clippy + others, but tests pass and it doesn't seem related to this PR.)