#download #internet #file #url #networking #progress-bar

netget

Download files with Rust code easily, and also be stylish!

1 unstable release

0.1.2 Nov 24, 2023
0.1.1 Nov 24, 2023
0.1.0 Nov 23, 2023

#1220 in Network programming

Download history 1/week @ 2024-02-10 70/week @ 2024-02-17 36/week @ 2024-02-24 5/week @ 2024-03-02 27/week @ 2024-03-09 4/week @ 2024-03-16 3/week @ 2024-03-23 51/week @ 2024-03-30 14/week @ 2024-04-06

68 downloads per month
Used in 2 crates

MIT license

6KB
67 lines

NetGet

NetGet is a library for downloading files from the internet, it also supports styling the progress bar!

Examples:

fn main() {
    let url = "https://releases.ubuntu.com/22.04.3/ubuntu-22.04.3-desktop-amd64.iso";
    let destination = std::env::current_dir().unwrap().display().to_string(); // The destination path for the file.

    netget::download_file(url, &destination, &netget::ProgressBarConfig::default()).unwrap();
}

Dependencies

~7–19MB
~293K SLoC