pub fn expand_placeholders<F>( input: &str, placeholders: &HashMap<String, String>, lookup: &F, ) -> Result<String>where F: Fn(&str) -> Result<Option<String>>,