From c0bedac058642538620420db29c8274c0787f0ff Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 27 Nov 2023 15:52:47 +0100 Subject: [PATCH] Serialize/Deserialize --- src/cfdp/pdu/ack.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cfdp/pdu/ack.rs b/src/cfdp/pdu/ack.rs index 38f27d2..1773735 100644 --- a/src/cfdp/pdu/ack.rs +++ b/src/cfdp/pdu/ack.rs @@ -7,6 +7,8 @@ use super::{ add_pdu_crc, generic_length_checks_pdu_deserialization, CfdpPdu, FileDirectiveType, PduError, PduHeader, WritablePduPacket, }; +#[cfg(feature = "serde")] +use serde::{Deserialize, Serialize}; /// ACK PDU abstraction. ///