Skip to main content

build_transforms

Function build_transforms 

Source
pub fn build_transforms(
    env: &HashMap<String, String>,
) -> CliResult<Vec<TransformSpec>>
Expand description

Construct an ordered Vec<TransformSpec> from FAUCET_TRANSFORM_<N> selectors and FAUCET_TRANSFORM_<N>_<FIELD> config fields. Indices must be contiguous starting at 1; any gap is an error so a misnumbered var never silently drops a transform.