korken89 / fugit

`fugit` provides a comprehensive library of `Duration` and `Instant` for the handling of time in embedded systems, doing all it can at compile time.
Apache License 2.0
56 stars 16 forks source link

Impl defmt::Format trait #6

Closed andresv closed 3 years ago

andresv commented 3 years ago

Currently Display is implemented for Duration: https://github.com/korken89/fugit/blob/master/src/duration.rs#L428-L448

I guess there isn't any drawback if Format is also implemented?

korken89 commented 3 years ago

It is implemented behind the defmt feature flag :)

andresv commented 3 years ago

Omg, silly me.