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

Add defmt::Format support #437

Closed
wants to merge 4 commits into from
Closed

Add defmt::Format support #437

wants to merge 4 commits into from

Conversation

Aehmlo
Copy link
Contributor

@Aehmlo Aehmlo commented Aug 26, 2023

This is essentially #386 in a trenchcoat (thanks @therealfrauholle!), rebased against the latest upstream master and with a minor change to use an implicit defmt feature instead of an explicit one.

Closes #385.

therealfrauholle and others added 4 commits August 26, 2023 18:53
This allows for more efficiency on the wire. The inefficient
implementation is still desired since this allows to use
derive(defmt::Format) on structs containing uom quantities.
This makes cargo fmt happy
This revision updates the specified version of defmt to 0.3.5 and eliminates
the dance involving a rename to defmt_crate that previously existed but is no
longer necessary under Cargo's new feature resolver.
@Aehmlo
Copy link
Contributor Author

Aehmlo commented Aug 26, 2023

It appears that I was confused and 1.60.0 isn't actually sufficient for this (currently looks like maybe 1.64.0 or even 1.67.0?). This may not be feasible with defmt's current MSRV policy.

@Aehmlo Aehmlo closed this Aug 26, 2023
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 this pull request may close these issues.

Support defmt framework
2 participants