#http #https #download

downloader

A simple way to download things via HTTP/HTTPS

6 releases

0.2.6 Feb 15, 2021
0.2.4 Feb 15, 2021
0.2.1 Jan 30, 2021
0.2.0 Dec 22, 2020
0.1.0 Dec 19, 2020

#57 in HTTP client

Download history 43/week @ 2021-08-10 64/week @ 2021-08-17 63/week @ 2021-08-24 137/week @ 2021-08-31 107/week @ 2021-09-07 405/week @ 2021-09-14 270/week @ 2021-09-21 240/week @ 2021-09-28 41/week @ 2021-10-05 59/week @ 2021-10-12 145/week @ 2021-10-19 121/week @ 2021-10-26 88/week @ 2021-11-02 98/week @ 2021-11-09 171/week @ 2021-11-16 163/week @ 2021-11-23

527 downloads per month
Used in 21 crates (3 directly)

LGPL-3.0-or-later

31KB
606 lines

downloader

Crates.io Docs.rs CI Coverage Status

downloader is a crate to help with the task of downloading a couple of files from the internet. It tries to make it very simple to just specify a couple of URLs and then go and download all of the files.

It supports system proxy configuration, parallel downloads of different files, validation of downloads via a callback, as well as files being mirrored on different machines.

Callbacks to provide progress information are supported as well.

Installation

Cargo

Add the following line into your Cargo.toml file to make downloader a [dependency] of your crate:

downloader = "<VERSION>"

Features

  • tui feature uses indicatif crate to provide a text ui for downloads
  • verify feature enables (optional) verification of downloads using sha3 hashes

License

Licensed under the GNU Lesser General Public License, Version 3.0 or later (LICENSE-LGPLv3 or https://www.gnu.org/licenses/lgpl.md

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as LGPLv3 or later, without any additional terms or conditions.

See CONTRIBUTING.md.

Dependencies

~6–10MB
~218K SLoC