From acaecdb0e09fbc550a6c463ef03631bb8db57408 Mon Sep 17 00:00:00 2001 From: Andrei Zisu Date: Thu, 20 Jun 2024 23:09:19 +0300 Subject: [PATCH] Explain it is generated code --- crates/lox-io/src/ndm/ndm_ci.rs | 4 ++++ crates/lox-io/src/ndm/ocm.rs | 4 ++++ crates/lox-io/src/ndm/oem.rs | 4 ++++ crates/lox-io/src/ndm/omm.rs | 4 ++++ crates/lox-io/src/ndm/opm.rs | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/crates/lox-io/src/ndm/ndm_ci.rs b/crates/lox-io/src/ndm/ndm_ci.rs index 96dbdabb..72af4311 100644 --- a/crates/lox-io/src/ndm/ndm_ci.rs +++ b/crates/lox-io/src/ndm/ndm_ci.rs @@ -171,6 +171,10 @@ //! let message = NdmType::from_xml_str(xml).unwrap(); //! ``` +// This file is partially generated with xml-schema-derive from the XSD schema +// published by CCSDS. Adaptations have been made to simplify the types or +// allow to simplify the implementation of the KVN parser. + use serde; use super::{ocm, oem, omm, opm}; diff --git a/crates/lox-io/src/ndm/ocm.rs b/crates/lox-io/src/ndm/ocm.rs index eac4f9e1..da18269f 100644 --- a/crates/lox-io/src/ndm/ocm.rs +++ b/crates/lox-io/src/ndm/ocm.rs @@ -87,6 +87,10 @@ //! let message = OcmType::from_xml_str(xml).unwrap(); //! ``` +// This file is partially generated with xml-schema-derive from the XSD schema +// published by CCSDS. Adaptations have been made to simplify the types or +// allow to simplify the implementation of the KVN parser. + use serde; use super::common; diff --git a/crates/lox-io/src/ndm/oem.rs b/crates/lox-io/src/ndm/oem.rs index 8db773c7..8f1c3eff 100644 --- a/crates/lox-io/src/ndm/oem.rs +++ b/crates/lox-io/src/ndm/oem.rs @@ -72,6 +72,10 @@ //! let message = OemType::from_xml_str(xml).unwrap(); //! ``` +// This file is partially generated with xml-schema-derive from the XSD schema +// published by CCSDS. Adaptations have been made to simplify the types or +// allow to simplify the implementation of the KVN parser. + use serde; use super::common; diff --git a/crates/lox-io/src/ndm/omm.rs b/crates/lox-io/src/ndm/omm.rs index 0f03f297..6e6f588d 100644 --- a/crates/lox-io/src/ndm/omm.rs +++ b/crates/lox-io/src/ndm/omm.rs @@ -122,6 +122,10 @@ //! let message: OmmType = KvnDeserializer::from_kvn_str(&kvn).unwrap(); //! ``` +// This file is partially generated with xml-schema-derive from the XSD schema +// published by CCSDS. Adaptations have been made to simplify the types or +// allow to simplify the implementation of the KVN parser. + use serde; use super::common; diff --git a/crates/lox-io/src/ndm/opm.rs b/crates/lox-io/src/ndm/opm.rs index 1a3db552..e8a53aff 100644 --- a/crates/lox-io/src/ndm/opm.rs +++ b/crates/lox-io/src/ndm/opm.rs @@ -173,6 +173,10 @@ //! let message: OpmType = KvnDeserializer::from_kvn_str(&kvn).unwrap(); //! ``` +// This file is partially generated with xml-schema-derive from the XSD schema +// published by CCSDS. Adaptations have been made to simplify the types or +// allow to simplify the implementation of the KVN parser. + use serde; use super::common;