Crate downloader[][src]

This crate provides a simple way to download files via HTTP/HTTPS.

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.

Re-exports

pub use crate::download::Download;
pub use crate::downloader::Downloader;
pub use crate::progress::Progress;
pub use crate::verify::SimpleProgress;
pub use crate::verify::Verification;
pub use crate::verify::Verify;

Modules

backend

The actual download code

download

The Download struct is used to describe a file that is supposed to get downloaded.

downloader

The Downloader that holds all the logic to manage the Downloads

progress

Progress reporting code

verify

Verification callbacks

Structs

DownloadSummary

The result of a Download

Enums

Error

Possible Errors that can occurred during normal operation.

Type Definitions

Result

Result type for the gng_shared library