diff --git a/src/lib.rs b/src/lib.rs index dcdb111..cf9eb94 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,7 @@ use crate::ecss::CCSDS_HEADER_LEN; use serde::{Deserialize, Serialize}; pub mod ecss; +pub mod time; pub mod tc; pub mod tm; diff --git a/src/tc.rs b/src/tc.rs index 05c2b7d..325f327 100644 --- a/src/tc.rs +++ b/src/tc.rs @@ -158,6 +158,8 @@ impl PusTcDataFieldHeader { /// This struct models a PUS telecommand and which can also be used. It is the primary data /// structure to generate the raw byte representation of a PUS telecommand or to /// deserialize from one from raw bytes. +/// +/// There is no spare bytes support. #[derive(PartialEq, Copy, Clone, Serialize, Deserialize, Debug)] pub struct PusTc<'slice> { pub sph: SpHeader, diff --git a/src/time.rs b/src/time.rs new file mode 100644 index 0000000..17f061f --- /dev/null +++ b/src/time.rs @@ -0,0 +1 @@ +trait CcsdsTimeProvider {} \ No newline at end of file