11 releases

new 1.0.0-rc.1 Jan 8, 2025
0.4.1 Nov 27, 2024
0.3.4 Feb 7, 2024
0.3.3 May 5, 2023
0.1.0 Nov 11, 2020

#746 in Embedded development

Download history 34432/week @ 2024-09-19 31021/week @ 2024-09-26 26938/week @ 2024-10-03 33206/week @ 2024-10-10 34965/week @ 2024-10-17 37220/week @ 2024-10-24 39213/week @ 2024-10-31 37256/week @ 2024-11-07 32986/week @ 2024-11-14 35231/week @ 2024-11-21 37535/week @ 2024-11-28 32090/week @ 2024-12-05 39338/week @ 2024-12-12 31962/week @ 2024-12-19 26046/week @ 2024-12-26 42294/week @ 2025-01-02

146,662 downloads per month
Used in 570 crates (4 directly)

MIT/Apache

32KB
666 lines

defmt-parser

defmt ("de format", short for "deferred formatting") is a highly efficient logging framework that targets resource-constrained devices, like microcontrollers.

For more details about the framework check the book at https://defmt.ferrous-systems.com.

This library decodes defmt frames into Rust structures. It is mainly used by defmt-decoder, and you should prefer using that crate to this one.

MSRV

The minimum supported Rust version is 1.76 (or Ferrocene 24.05). defmt is tested against the latest stable Rust version and the MSRV.

Support

defmt is part of the Knurling project, Ferrous Systems' effort at improving tooling used to develop for embedded systems.

If you think that our work is useful, consider sponsoring it via GitHub Sponsors.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies

~250–700KB
~16K SLoC