Skip to content

Conversation

@brainstorm
Copy link

Related to: embassy-rs/embassy#4957

(and tangentially to mkj/sunset#38)

@brainstorm brainstorm requested a review from a team as a code owner November 27, 2025 10:05
@Dirbaio
Copy link
Member

Dirbaio commented Nov 27, 2025

Renaming the feature defmt-03 -> defmt is a breaking change. Can you instead add a new feature defmt and keep defmt-03 as a deprecated alias?

(actually upgrading 0.3 -> 1.0 is not a breaking change since defmt 0.3.99 reexports 1.0 so they're compatible)

#[cfg(feature = "defmt-03")]
use defmt_03 as defmt;
#[cfg(feature = "defmt")]
use defmt;
Copy link
Member

@Dirbaio Dirbaio Nov 27, 2025

Choose a reason for hiding this comment

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

this is not needed now that we're not renaming the dep anymore. (here and in other files either as use defmt or use crate::defmt)

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