pub fn parse<'a>(
input_file: impl AsRef<Path>,
base_dir: impl AsRef<Path>,
parameters: impl Iterator<Item = &'a str>,
) -> Result<String, Error>Expand description
Parses a file using the templating engine.
For an example, see parse_string.
ยงParameters
input_file: the file that is readbase_dir: all includes are resolved relative to this directoryparameters: ifinput_filecontains any parameter macros, pass an iterator to them here. Otherwise passstd::iter::empty().