We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a425f8 commit 1a97e93Copy full SHA for 1a97e93
Cargo.toml
@@ -24,7 +24,7 @@ default-features = false
24
version = "1.0.100"
25
26
[dependencies.defmt]
27
-version = "0.3.0"
+version = "0.3.5"
28
default-features = false
29
optional = true
30
src/de/mod.rs
@@ -75,7 +75,9 @@ pub enum Error {
75
76
/// Error with a custom message that was preserved.
77
#[cfg(feature = "custom-error-messages")]
78
- CustomErrorWithMessage(heapless::String<64>),
+ CustomErrorWithMessage(
79
+ #[cfg_attr(feature = "defmt", defmt(Debug2Format))] heapless::String<64>,
80
+ ),
81
}
82
83
impl serde::de::StdError for Error {}
0 commit comments