pub fn download_file(url: &str, dest: &Path) -> Result<(), String>
Download a file from url to dest, showing progress on the terminal.
url
dest
Overwrites dest if it exists. Creates parent directories.