xtce-model 0.1.1

XTCE telemetry metadata: streaming XML parser and arena-backed intermediate representation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# xtce-model

Reads an XTCE `SpaceSystem` document into `XtceDb`: a flat, index-addressed model that
[`xtce-decode`](https://crates.io/crates/xtce-decode) walks to decode CCSDS packets, and that
`xtce-codegen` compiles into static Rust decoders.

Streaming XML through `quick-xml`, an arena behind every entity, and a `u32` newtype instead of
a pointer — which keeps the model `Send + Sync`, makes cloning cheap, and turns following a
reference into an array index.

Only `TelemetryMetaData` is modelled. Constructs outside the decodable subset are still
*represented*, so loading a real mission database never fails merely because part of it is out
of scope; the error comes later, from the decoder, at the point a value actually depends on it.

Part of [RustSpaceLab/xtce-rs](https://github.com/RustSpaceLab/xtce-rs).