Add sidecar serialisation for the edit graph

Sidecars are the only thing in the trust path: the catalog can be rebuilt
from them, so they carry the edit graph and its version in a form that
survives a schema change.

Assisted-by: LLM
This commit is contained in:
2026-08-09 21:09:31 +02:00
parent 5786977a51
commit 9f5e9955d5
2 changed files with 1095 additions and 0 deletions
+2
View File
@@ -37,6 +37,7 @@ pub mod graph;
pub mod lens;
pub mod operation;
pub mod ops;
pub mod sidecar;
pub use descriptor::{
LocalizedKey, OpDescriptor, OpId, ParamDescriptor, ParamId, ParamKind, Presentation, Scale,
@@ -49,6 +50,7 @@ pub use operation::{
compose, compose_with_framing, Affects, ComposedShader, Helper, Operation, Uniform,
RESERVED_UNIFORM_FIELDS,
};
pub use sidecar::{Sidecar, Version};
#[cfg(test)]
mod tests {