pub fn render_template(template: &str, vars: &[(&str, &str)]) -> String
Substitute {version}, {os}, {arch}, {file}, {ext} placeholders in a URL template. Joins base + tail if the template ends with /.
{version}
{os}
{arch}
{file}
{ext}
/