encode_kv_v1

Function encode_kv_v1 

Source
pub fn encode_kv_v1(spec: &PipelineSpecV1) -> String
Expand description

Encode a v1 spec into a stable line-oriented kv format.

Format rules (v1):

  • key=value per line
  • keys and values are ASCII; whitespace around = is not allowed
  • unknown keys are ignored by the decoder (forward-compat)