Expand description
Graph snapshot serialization.
Originally a single graph/snapshot.rs (724 LOC); split per the
2026-05-11 kernel decomposition pass into three sub-modules:
This mod.rs keeps the small shared pieces: the
remove_url_mapping helper (used by both directions),
[containment_parent_url] (used by from_snapshot and by graph
mutators in mod.rs’s impl block), and the rkyv trait impls
(Archive / Serialize / Deserialize) plus impl Default for Graph, all of which are short standalone items.
Modules§
- from
Graph::from_snapshot— reconstruct the runtime graph from a persistedGraphSnapshot.- to
Graph::to_snapshot— serialize the runtime graph into aGraphSnapshotfor persistence.