Module yaml

Module yaml 

Source
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: {...} with needs: [...] dependencies)

Structs§

Step
Represents a single step in a linear pipeline definition.
UserNode
Represents a single node in a user-facing DAG pipeline definition.

Enums§

Needs
Represents the needs field for DAG nodes.
NeedsDependency
A single dependency with optional connection mode.
UserPipeline
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.