diff options
| author | Ralph Ursprung <[email protected]> | 2025-07-28 15:37:34 +0200 |
|---|---|---|
| committer | Ralph Ursprung <[email protected]> | 2025-07-28 15:44:21 +0200 |
| commit | 98595f659c309703aab411b6b3be7579b6e93c5d (patch) | |
| tree | c2c138d3d0e2e1348b66ee31dae9b2f772d801d1 /embassy-time/src/lib.rs | |
| parent | 8f64a14bebe711962af0136a5acd2b3cef509402 (diff) | |
`embassy-time`: add missing `Debug` & `defmt::Format` derives
`defmt::Format` is *not* implemented for `MockDriver` and
`InnerMockDriver` because the former contains the latter and the latter
is using `Queue` from `embassy-time-queue-utils` which so far does not
have a `defmt` dependency. since this is just a mock driver it shouldn't
be relevant if it has no `defmt::Format` impl.
Diffstat (limited to 'embassy-time/src/lib.rs')
| -rw-r--r-- | embassy-time/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-time/src/lib.rs b/embassy-time/src/lib.rs index 80a359413..77f4b344d 100644 --- a/embassy-time/src/lib.rs +++ b/embassy-time/src/lib.rs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | #![doc = include_str!("../README.md")] | 3 | #![doc = include_str!("../README.md")] |
| 4 | #![allow(clippy::new_without_default)] | 4 | #![allow(clippy::new_without_default)] |
| 5 | #![warn(missing_docs)] | 5 | #![warn(missing_docs)] |
| 6 | #![deny(missing_debug_implementations)] | ||
| 6 | 7 | ||
| 7 | //! ## Feature flags | 8 | //! ## Feature flags |
| 8 | #![doc = document_features::document_features!(feature_label = r#"<span class="stab portability"><code>{feature}</code></span>"#)] | 9 | #![doc = document_features::document_features!(feature_label = r#"<span class="stab portability"><code>{feature}</code></span>"#)] |
