Skip to main content

apply

Function apply 

Source
pub fn apply(
    specs: &[String],
    input: &[u8],
    env: &BTreeMap<String, String>,
) -> Result<Vec<u8>>
Expand description

Apply a pipeline of transforms to input, returning the transformed bytes.

env is passed to the template transform; other transforms ignore it.