Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support defmt framework #385

Open
therealfrauholle opened this issue Oct 22, 2022 · 3 comments
Open

Support defmt framework #385

therealfrauholle opened this issue Oct 22, 2022 · 3 comments

Comments

@therealfrauholle
Copy link
Contributor

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.

@iliekturtles
Copy link
Owner

Sorry for the delays in catching up on these issues/PRs. PR for this feature is welcome. Let's discuss MSRV issues in #216.

@iliekturtles
Copy link
Owner

MSRV bumped to 1.60.0 in #422.

@asasine
Copy link

asasine commented May 25, 2024

With MSRV at 1.65.0 as of 313bf68, is this possible now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants