Skip to content

bump defmt to v1, bump rand dev-dep to v0.9#167

Closed
robamu wants to merge 2 commits into
rust-embedded-community:masterfrom
robamu:bump-defmt-dependency
Closed

bump defmt to v1, bump rand dev-dep to v0.9#167
robamu wants to merge 2 commits into
rust-embedded-community:masterfrom
robamu:bump-defmt-dependency

Conversation

@robamu

@robamu robamu commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@AudaciousAxiom

Copy link
Copy Markdown

I'm not a maintainer of this project, but this PR might be more straightforward to review if it were only about the bump of defmt to v1, as the bump of rand might require more consideration (even if it is only a dev-dependency). (Also the latest release of rand is v0.10 now).

Bumping defmt to v1 shouldn't be a breaking change as v0.3.100 implements the SemVer trick: v0.3.100's re-exports the defmt::Format trait from v1, so the trait being used right now is already that of v1.

Additionally, the announcement post of v1 explicitly says that it is safe to do so:

Any library currently using defmt = "^0.3" in their Cargo.toml file can replace that line with defmt = "1", and everything will continue to work, unless you are locked to a version of 0.3 prior to the final 1.0-compatible version.

Comment thread Cargo.toml Outdated
@eldruin eldruin force-pushed the bump-defmt-dependency branch from 9ddbbd6 to 2412e95 Compare June 18, 2026 07:43
@eldruin eldruin mentioned this pull request Jun 18, 2026
@eldruin

eldruin commented Jun 18, 2026

Copy link
Copy Markdown
Member

Done in #172 . Thank you for your work!

@eldruin eldruin closed this Jun 18, 2026
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.

3 participants