Expand description
YAML pipeline format parsing and compilation.
This module provides user-friendly YAML formats that compile to the internal Pipeline representation. Supports two formats:
- Steps: Linear pipeline (
steps: [...]) - DAG: Directed acyclic graph (
nodes: {...}withneeds: [...]dependencies)
Structs§
- Step
- Represents a single step in a linear pipeline definition.
- User
Node - Represents a single node in a user-facing DAG pipeline definition.
Enums§
- Needs
- Represents the
needsfield for DAG nodes. - Needs
Dependency - A single dependency with optional connection mode.
- User
Pipeline - The top-level structure for a user-facing pipeline definition.
serde(untagged)allows it to be parsed as either a steps-based pipeline or a nodes-based (DAG) pipeline.
Functions§
- compile
- “Compiles” the user-facing pipeline format into the explicit format the engine requires.