some defmt support would be good
Rust/spacepackets/pipeline/head There was a failure building this commit Details

This commit is contained in:
Robin Müller 2024-03-28 22:48:58 +01:00
parent c1b32bca21
commit c7cf83d468
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,10 @@ optional = true
version = "0.2"
default-features = false
[dependencies.defmt]
version = "0.3"
optional = true
[dev-dependencies]
postcard = "1"
chrono = "0.4"
@ -59,6 +63,7 @@ serde = ["dep:serde", "chrono/serde"]
alloc = ["postcard/alloc", "chrono/alloc"]
chrono = ["dep:chrono"]
timelib = ["dep:time"]
defmt = []
[package.metadata.docs.rs]
all-features = true

View File

@ -150,6 +150,7 @@ pub enum PfcReal {
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature="defmt", derive(defmt::Format))]
pub enum PusError {
VersionNotSupported(PusVersion),
ChecksumFailure(u16),