Expand description
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
Downloadstruct is used to describe a file that is supposed to get downloaded. - downloader
- The
Downloaderthat holds all the logic to manage theDownloads - progress
- Progress reporting code
- verify
- Verification callbacks
Structs§
- Download
Summary - The result of a
Download
Enums§
- Error
- Possible
Errors that can occurred during normal operation.
Type Aliases§
- Result
Resulttype for thegng_sharedlibrary