pub fn render_file(
path: impl AsRef<Path>,
rule_name: &str,
) -> Result<String, ConfigError>Expand description
Renders one rule from a configuration file.
This convenience helper loads and compiles the file, renders one rule, and
drops the compiled ruleset. Use Copperlace::from_file or
ruleset_from_file for repeated renders.