embedded-sdmmc-rs icon indicating copy to clipboard operation
embedded-sdmmc-rs copied to clipboard

Implement `core::error::Error`

Open michael-p opened this issue 9 months ago • 1 comments

Hey, thanks for your work on this nice library! I think it would be great if the main error type of the crate would implement core::error::Error, thus making it easier to interoperate with other libraries in the ecosystem. However, this would increase the MSRV to 1.81, and also might pull in some of the formatting machinery in core::fmt. If you are open to this I can send in a PR.

michael-p avatar Feb 24 '25 16:02 michael-p

That's a little high for my tastes. Could you put it behind a feature gate?

thejpster avatar Feb 24 '25 20:02 thejpster

Sure - opened #180 for further discussions!

michael-p avatar Feb 25 '25 08:02 michael-p