Async client for GitHub API v3 (application/vnd.github.v3+json
)
Written for https://lib.rs. Supports only get()
requests, because I didn't need more. PR's welcome.
-
Uses
async
/await
andstd::futures
. -
Supports streaming of GitHub's paged responses.
-
Automatically waits for responses that GitHub processes asynchronously in the background.
-
Automatically waits when hitting rate limit.
-
It's tiny, around 200 lines of code.
It relies on serde for parsing responses, so bring your own data model.