AeroRust / nmea

NMEA 0183 - for communication between marine electronics such as echo sounder, sonars, anemometer, gyrocompass, autopilot, GNSS receivers and many other types of instruments. Defined and controlled by the National Marine Electronics Association (NMEA)
https://crates.io/crates/nmea
Other
56 stars 41 forks source link

Support defmt #92

Closed PegasisForever closed 6 months ago

PegasisForever commented 1 year ago

defmt is a high performance logging framework extensively used in embedded rust. It would be great if we can add a feature flag to implement defmt::Format for the Error struct and the Nmea struct.

elpiel commented 1 year ago

Yes, please! It's a new feature that would be greatly improve no_std.

We're welcoming PRs

elpiel commented 1 year ago

Added for next release - ~v0.6~ 0.7 We should also consider other serialization derives (like bincode, serde, etc.). Edit: Serde support was added in https://github.com/AeroRust/nmea/pull/102

elpiel commented 6 months ago

@PegasisForever feature is now on main