pop-os / async-fetcher

Rust crate for asynchronous file fetching, using optional fetching based on modified times and checksums
Mozilla Public License 2.0
37 stars 15 forks source link

Asynchronous File Fetcher

This library provides an async service that can fetch multiple files concurrently, with multiple concurrent connections per file.

If the process is terminated, the downloads can be resumed. Once fetched, checksums can be validated in parallel.

The HTTP client used by the fetcher is reqwest.

License

Licensed under the Mozilla Public License 2.0. Permissions of this copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the Mozilla Public License 2.0 (MPL-2.0). It is required to add a boilerplate copyright notice to the top of each file:

// Copyright {year} {person OR org} <{email}>
// SPDX-License-Identifier: MPL-2.0