17 releases

new 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

#785 in Procedural macros

Download history 30489/week @ 2024-08-09 28900/week @ 2024-08-16 37158/week @ 2024-08-23 35768/week @ 2024-08-30 32916/week @ 2024-09-06 29543/week @ 2024-09-13 36530/week @ 2024-09-20 28409/week @ 2024-09-27 28394/week @ 2024-10-04 33416/week @ 2024-10-11 37414/week @ 2024-10-18 37099/week @ 2024-10-25 39408/week @ 2024-11-01 37299/week @ 2024-11-08 32817/week @ 2024-11-15 34555/week @ 2024-11-22

151,512 downloads per month
Used in 516 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

~310–760KB
~17K SLoC