Uller
About
This crate provides you with:
MakeLink- An interface for generating a
Urlfrom a structure.
- An interface for generating a
JsonDownload<T>- An interface for fetching data from a generated
UrlusingMakeLinkand converting it to a<T>structure.
- An interface for fetching data from a generated
BytesDownload- An interface for downloading data as
bytesfrom aMakeLinkconversion.
- An interface for downloading data as
Note: Add url crate for your project.
Information below contains examples from the uller-macro crate.
Example (future - macro)
Qller (default)
Macros for implementing MakeLink in query style using a struct as input
Example
use prelude;
This will convert to: http://127.0.0.1:1234/?v={value}&f={value}
Note: Positions start at 0, like an array.
Example (future - juller)
Juller (feature - juller)
Macros for downloading <T> using a struct that implements MakeLink (Qller) and JsonDownload
Example
use prelude;
async
Example (future - buller)
Buller (feature - buller)
Macros for downloading Bytes using a struct that implements MakeLink (Qller) and BytesDownload
Example
use prelude;
async