Blog announcement article

defmt is now 1.0

Jonathan
Article

defmt is now 1.0

Published on 1 min read
Knurling icon
Knurling
A tool set to develop embedded applications faster.
❤️ Sponsor

    A few months ago, we announced our intent to stablize a 1.0 of defmt. Over the last few months we've been collaborating with users and community members to work through the last remaining pieces, and now it's finally time.

    As of today, defmt is now 1.0. As anticipated, it is fully compatible with defmt 0.3.

    What is defmt? What does 1.0 mean for defmt? We answered these questions (and more) in our past blog post about the topic.

    Upgrading to defmt 1.0

    If you have defmt = "^0.3" in your crate dependencies, you can run cargo update and you'll be automatically upgraded to defmt 0.3.100, our semver-trick'd release which is actually defmt 1.0 in a trenchcoat.

    Please try updating your dependency to defmt = "1" and doing a build. This should work without issue in most cases. If you're using a version of defmt 0.3 from prior to the final 1.0-compatible version, you may need to make some adjustments.

    If your dependencies also depend on defmt = "^0.3" and you update to defmt = "1" things should continue working thanks to the semver-trick.

    We invite you to give the new release a spin, and if you observe any issues, please let us know in the issue tracker.