You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using this crate heavily in an embedded context. The defmt framework is a well-known effort by ferrous systems to provide efficient logging and debugging for embedded devices. We wish to use uom together with this framework.
Arbitrary types can be logged through this framework, though they need to implement defmt::Format. So far we had to wrap uom values in a structure in order to log them, but I think it makes sense to provide this upstream. The new functionality should probably be feature gated similar to the serde functionality.
I will make a pull request for a proposal soon.
The text was updated successfully, but these errors were encountered:
We are using this crate heavily in an embedded context. The defmt framework is a well-known effort by ferrous systems to provide efficient logging and debugging for embedded devices. We wish to use uom together with this framework.
Arbitrary types can be logged through this framework, though they need to implement
defmt::Format
. So far we had to wrap uom values in a structure in order to log them, but I think it makes sense to provide this upstream. The new functionality should probably be feature gated similar to theserde
functionality.I will make a pull request for a proposal soon.
The text was updated successfully, but these errors were encountered: