quickfetch 0.1.0

A library built to fetch multiple requests quickly!
Documentation

QuickFetch logo

A Library to Fetch well Quickly...

:warning: WORK IN PROGRESS AND NOT READY TO BE USED FOR PRODUCTION YET

This library is built to handle multiple requests within a Client (reqwest client which will handle it all under a Client Pool) , cache the response results, and handle these in parallel and asynchronously.

The goal is to be a one-stop shop for handling local package manager development to handle multiple packages with a local cache to easily update, get and remove the different responses.

Progress

  • Set an Entry trait to be used as the key for the db cache and responsible for the Fetcher<E: Entry> structure.
  • Set different methods of handling the response data in the Fetcher structure, such as:
    • Bytes for storing the whole response as bytes
    • Chunks for storing the response in chunks
    • BytesStream for storing the response in a stream of bytes
  • Enable basic support for encryption and decryption of the response data using the Entry as the key.
  • Provide Config and Package as a minimal package
  • Provide GithubPackage to handle packages that can be downloaded from Github Releases
    • This is done using the Package::github_release method