pub fn externalize_attributes( attrs: &HashMap<&str, &str>, ) -> HashMap<String, String>
Convert a borrowed key-value map of borrowed strings to an owned map of owned strings.