netget

Crates.ionetget
lib.rsnetget
version0.1.2
sourcesrc
created_at2023-11-23 23:21:35.72103
updated_at2023-11-24 19:50:41.137435
descriptionDownload files with Rust code easily, and also be stylish!
homepage
repositoryhttps://gitlab.com/oglo-crates/netget
max_upload_size
id1046596
size6,628
Jackson Novak (Oglo12)

documentation

README

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();
}
Commit count: 8

cargo fmt