Skip to content

add Debug2Format adapter#267

Merged
japaric merged 3 commits intomainfrom
adapter
Nov 25, 2020
Merged

add Debug2Format adapter#267
japaric merged 3 commits intomainfrom
adapter

Conversation

@japaric
Copy link
Member

@japaric japaric commented Nov 20, 2020

this is a temporary solution for #126
(a better solution is probably something along the lines of #126 (comment) but that may require changes to the wire format and may not make it to the v0.1.x series)
closes #126

@mattico
Copy link
Contributor

mattico commented Nov 20, 2020

I also had a similar adapter for Display, which is perhaps even less in the spirit of defmt since it abandons structured data. I still found it useful.

@jonas-schievink jonas-schievink added the pr waits on: author Pull Request requires changes from the author label Nov 23, 2020
Copy link
Contributor

@jonas-schievink jonas-schievink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but needs a rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr waits on: author Pull Request requires changes from the author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

impl Format for T where T: Debug

3 participants