| 1 |
# `defmt-parser` |
| 2 |
|
| 3 |
`defmt` ("de format", short for "deferred formatting") is a highly efficient logging framework that targets resource-constrained devices, like microcontrollers. |
| 4 |
|
| 5 |
For more details about the framework check the book at <https://defmt.ferrous-systems.com>. |
| 6 |
|
| 7 |
This library decodes `defmt` frames into Rust structures. It is mainly used by |
| 8 |
[`defmt-decoder`](https://crates.io/crates/defmt-decoder), and you should prefer |
| 9 |
using that crate to this one. |
| 10 |
|
| 11 |
## MSRV |
| 12 |
|
| 13 |
The minimum supported Rust version is 1.76 (or Ferrocene 24.05). `defmt` is tested against the latest stable Rust version and the MSRV. |
| 14 |
|
| 15 |
## Support |
| 16 |
|
| 17 |
`defmt` is part of the [Knurling] project, [Ferrous Systems]' effort at |
| 18 |
improving tooling used to develop for embedded systems. |
| 19 |
|
| 20 |
If you think that our work is useful, consider sponsoring it via [GitHub |
| 21 |
Sponsors]. |
| 22 |
|
| 23 |
## License |
| 24 |
|
| 25 |
Licensed under either of |
| 26 |
|
| 27 |
- Apache License, Version 2.0 ([LICENSE-APACHE](../LICENSE-APACHE) or |
| 28 |
<http://www.apache.org/licenses/LICENSE-2.0>) |
| 29 |
|
| 30 |
- MIT license ([LICENSE-MIT](../LICENSE-MIT) or <http://opensource.org/licenses/MIT>) |
| 31 |
|
| 32 |
at your option. |
| 33 |
|
| 34 |
### Contribution |
| 35 |
|
| 36 |
Unless you explicitly state otherwise, any contribution intentionally submitted |
| 37 |
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be |
| 38 |
licensed as above, without any additional terms or conditions. |
| 39 |
|
| 40 |
[Knurling]: https://knurling.ferrous-systems.com/ |
| 41 |
[Ferrous Systems]: https://ferrous-systems.com/ |
| 42 |
[GitHub Sponsors]: https://github.com/sponsors/knurling-rs |