11 releases

0.4.1 Nov 27, 2024
0.3.4 Feb 7, 2024
0.3.3 May 5, 2023
0.3.2 Mar 29, 2023
0.1.0 Nov 11, 2020

#1654 in Embedded development

Download history 36561/week @ 2024-09-03 30615/week @ 2024-09-10 31459/week @ 2024-09-17 35840/week @ 2024-09-24 26654/week @ 2024-10-01 30217/week @ 2024-10-08 34302/week @ 2024-10-15 37426/week @ 2024-10-22 40135/week @ 2024-10-29 36629/week @ 2024-11-05 34957/week @ 2024-11-12 34351/week @ 2024-11-19 35667/week @ 2024-11-26 33136/week @ 2024-12-03 36874/week @ 2024-12-10 35102/week @ 2024-12-17

147,135 downloads per month
Used in 556 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.

The git version of the defmt book can be viewed at https://defmt-next.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