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 thedb
cache and responsible for theFetcher<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
andPackage
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
- This is done using the