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

#31 in HTTP client

Download history 5739/week @ 2024-07-27 5053/week @ 2024-08-03 4530/week @ 2024-08-10 5105/week @ 2024-08-17 5367/week @ 2024-08-24 5150/week @ 2024-08-31 5288/week @ 2024-09-07 5228/week @ 2024-09-14 6668/week @ 2024-09-21 9880/week @ 2024-09-28 6275/week @ 2024-10-05 5099/week @ 2024-10-12 8675/week @ 2024-10-19 9308/week @ 2024-10-26 7357/week @ 2024-11-02 5734/week @ 2024-11-09

31,817 downloads per month
Used in 51 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–20MB
~280K SLoC