string_templater 0.1.3

A string templater to inject values in a string template.
Documentation
1
2
3
4
5
6
7
8
pub type OverrideMessage = Box<dyn Fn(&String) -> String>;

#[derive(Default)]
pub struct StringTemplaterOptions {
    pub safe_parse: bool,
    pub display_missing_keys: bool,
    pub override_missing_keys: Option<OverrideMessage>,
}