Skip to content

derive defmt::Format for simple types if enabled#141

Merged
jamesmunns merged 2 commits into
jamesmunns:mainfrom
hvraven:defmt
Oct 23, 2025
Merged

derive defmt::Format for simple types if enabled#141
jamesmunns merged 2 commits into
jamesmunns:mainfrom
hvraven:defmt

Conversation

@hvraven

@hvraven hvraven commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

this adds conditional derivation of defmt::Format to a set of simple types on the server side, such es error enums. More types could probably be supported without much extra work.

The dependency is unchanged at defmt-0.3, even though defmt 1.0 is released by now. The older version is also used by postcard-schema.

this adds conditional derivation of `defmt::Format` to a set of simple
types on the server side, such es error enums. More types could probably
be supported without much extra work.

The dependency is unchanged at defmt-0.3, even though defmt 1.0 is
released by now. The older version is also used by `postcard-schema`.
@jamesmunns

Copy link
Copy Markdown
Owner

@hvraven could you please fix the fmt checks?

@jamesmunns

Copy link
Copy Markdown
Owner

Thank you @hvraven!

@jamesmunns jamesmunns merged commit 9b41336 into jamesmunns:main Oct 23, 2025
3 checks passed
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.

2 participants