{"id":13423245,"url":"https://github.com/knurling-rs/defmt","last_synced_at":"2025-03-15T15:30:50.952Z","repository":{"id":37467035,"uuid":"282262730","full_name":"knurling-rs/defmt","owner":"knurling-rs","description":"Efficient, deferred formatting for logging on embedded systems","archived":false,"fork":false,"pushed_at":"2025-03-07T14:13:14.000Z","size":2827,"stargazers_count":953,"open_issues_count":89,"forks_count":94,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-07T15:25:31.700Z","etag":null,"topics":["embedded-systems","ferrous-systems","logging","rust","rust-tools"],"latest_commit_sha":null,"homepage":"https://defmt.ferrous-systems.com/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knurling-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["knurling-rs"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-07-24T16:04:15.000Z","updated_at":"2025-03-07T14:13:16.000Z","dependencies_parsed_at":"2024-01-12T11:51:20.384Z","dependency_job_id":"1dc0ca69-23a4-49a0-87dd-7c0d0ad242fe","html_url":"https://github.com/knurling-rs/defmt","commit_stats":{"total_commits":1351,"total_committers":40,"mean_commits":33.775,"dds":0.7216876387860844,"last_synced_commit":"87e16dd468f8b935bf5b7e17ea3cd7c1ee103408"},"previous_names":[],"tags_count":133,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knurling-rs%2Fdefmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knurling-rs%2Fdefmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knurling-rs%2Fdefmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knurling-rs%2Fdefmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knurling-rs","download_url":"https://codeload.github.com/knurling-rs/defmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243750464,"owners_count":20342065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedded-systems","ferrous-systems","logging","rust","rust-tools"],"created_at":"2024-07-31T00:00:25.960Z","updated_at":"2025-03-15T15:30:50.946Z","avatar_url":"https://github.com/knurling-rs.png","language":"Rust","funding_links":["https://github.com/sponsors/knurling-rs"],"categories":["Tools","Rust"],"sub_categories":["Community Chat Rooms","Paid and commercially available materials"],"readme":"# `defmt`\n\n`defmt` (\"de format\", short for \"deferred formatting\") is a highly efficient logging framework that targets resource-constrained devices, like microcontrollers.\n\nFor more details about the framework check the book at \u003chttps://defmt.ferrous-systems.com\u003e.\n\n## Components\n\nThis repository contains the following packages:\n\n| Name                | Path                                                           | Description                                                                |\n| ------------------- | -------------------------------------------------------------- | -------------------------------------------------------------------------- |\n| `defmt`             | [`./defmt`](./defmt)                                           | On-target code for highly efficient logging                                |\n| `defmt-macros`      | [`./macros`](./macros)                                         | Proc Macros for `defmt`                                                    |\n| `defmt-print`       | [`./print`](./print)                                           | CLI utility for decoding and printing `defmt` encoded logs to standard out |\n| `defmt-decoder`     | [`./decoder`](./decoder)                                       | Host Library for decoding `defmt` log frames                               |\n| `defmt-parser`      | [`./parser`](./parser)                                         | Host Library for parsing `defmt` log frames                                |\n| `defmt-rtt`         | [`./firmware/defmt-rtt`](./firmware/defmt-rtt)                 | On-target library for sending `defmt` logs over RTT                        |\n| `defmt-itm`         | [`./firmware/defmt-itm`](./firmware/defmt-itm)                 | On-target library for sending `defmt` logs over ITM                        |\n| `defmt-semihosting` | [`./firmware/defmt-semihosting`](./firmware/defmt-semihosting) | On-target library for sending `defmt` logs over semihosting                |\n| `panic-probe`       | [`./firmware/panic-probe`](./firmware/panic-probe)             | On-target library for sending `panic!` over `defmt`                        |\n| `defmt-test`        | [`./firmware/defmt-test`](./firmware/defmt-test)               | Framework for running tests on-target                                      |\n| `defmt-test-macros` | [`./firmware/defmt-test/macros`](./firmware/defmt-test/macros) | Proc Macros for `defmt-test`                                               |\n| `defmt-json-schema` | [`./decoder/defmt-json-schema`](./decoder/defmt-json-schema)   | Describes the JSON emitted by `defmt-decoder`                              |\n\n## MSRV\n\nThe minimum supported Rust version is 1.76 (or Ferrocene 24.05). `defmt` is tested against the latest stable Rust version and the MSRV.\n\n## Developer Information\n\n### Running Tests\n\nTests are run using `cargo xtask` -- although this is simply an alias (defined in `.cargo/config.toml`) for `cargo run --package xtask --`.\n\nTo see a list of options, see [`xtask/src/main.rs`](xtask/src/main.rs), or run:\n\n```console\ncargo xtask help\n```\n\nFor example, to run all the tests, run:\n\n```console\ncargo xtask test-all\n```\n\nYou will need `qemu-system-arm` installed and in your `$PATH` for some of the tests (e.g. `test-snapshot`).\n\n## Support\n\n`defmt` is part of the [Knurling] project, [Ferrous Systems]' effort at\nimproving tooling used to develop for embedded systems.\n\nIf you think that our work is useful, consider sponsoring it via [GitHub\nSponsors].\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\n  \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\nlicensed as above, without any additional terms or conditions.\n\n[Knurling]: https://knurling.ferrous-systems.com/\n[Ferrous Systems]: https://ferrous-systems.com/\n[GitHub Sponsors]: https://github.com/sponsors/knurling-rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknurling-rs%2Fdefmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknurling-rs%2Fdefmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknurling-rs%2Fdefmt/lists"}