8 releases

0.2.8 Sep 28, 2024
0.2.7 Jan 3, 2023
0.2.6 Feb 15, 2021
0.2.1 Jan 30, 2021
0.1.0 Dec 19, 2020

#37 in HTTP client

Download history 5445/week @ 2024-08-21 4737/week @ 2024-08-28 5782/week @ 2024-09-04 5348/week @ 2024-09-11 5274/week @ 2024-09-18 9534/week @ 2024-09-25 7508/week @ 2024-10-02 5411/week @ 2024-10-09 6053/week @ 2024-10-16 10281/week @ 2024-10-23 7951/week @ 2024-10-30 7485/week @ 2024-11-06 5640/week @ 2024-11-13 5323/week @ 2024-11-20 4270/week @ 2024-11-27 4361/week @ 2024-12-04

21,141 downloads per month
Used in 54 crates (11 directly)

LGPL-3.0-or-later

34KB
651 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–19MB
~278K SLoC