17 releases

0.4.0 Nov 29, 2024
0.3.9 May 14, 2024
0.3.7 Feb 7, 2024
0.3.6 Jun 19, 2023
0.1.1 Nov 26, 2020

#776 in Procedural macros

Download history 35442/week @ 2024-08-27 36676/week @ 2024-09-03 30731/week @ 2024-09-10 31348/week @ 2024-09-17 35676/week @ 2024-09-24 26551/week @ 2024-10-01 30308/week @ 2024-10-08 34492/week @ 2024-10-15 37914/week @ 2024-10-22 40624/week @ 2024-10-29 36848/week @ 2024-11-05 35161/week @ 2024-11-12 34294/week @ 2024-11-19 35879/week @ 2024-11-26 33472/week @ 2024-12-03 30632/week @ 2024-12-10

139,732 downloads per month
Used in 538 crates (via defmt)

MIT/Apache

110KB
2.5K SLoC

defmt-macros

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 contains the proc macros used by defmt.

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

~305–760KB
~17K SLoC