quickfetch

Crates.ioquickfetch
lib.rsquickfetch
version
sourcesrc
created_at2024-06-11 23:42:05.623439
updated_at2024-10-16 00:41:26.910551
descriptionA library built to create package managers quickly!
homepagehttps://mokareads.org
repositoryhttps://github.com/Moka-Reads/QuickFetch
max_upload_size
id1269031
Cargo.toml error:TOML parse error at line 21, column 1 | 21 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Mustafif (Mustafif)

documentation

https://docs.rs/quickfetch/latest

README

QuickFetch

A Library to Fetch well Quickly...

Developed by Mustafif Khan | MoKa Reads 2024

: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 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.

Customize your Approach

We allow for different kinds of customizations on how you interact with QuickFetch, such as how you're notified, how you choose to handle the response, and how you'd like to fetch.

Notify Methods

  • NotifyMethod::Log - Logs the response to the console
  • NotifyMethod::ProgressBar- A multiprogress bar
  • NotifyMethod::Silent- No notifications

Response Methods

  • ResponseMethod::Bytes- Takes in the full response
  • ResponseMethod::Chunks- Takes in the response in chunks
  • ResponseMethod::BytesStream- Takes in the response as a stream

Fetch Methods

  • FetchMethod::Async- Fetches asynchronously
  • FetchMethod::Sync- Fetches synchronously
  • FetchMethod::Watch- Fetches by watching for modification on the config file asynchrously

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 37

cargo fmt