Crates.io | github_v3 |
lib.rs | github_v3 |
version | 1.1.0 |
source | src |
created_at | 2020-04-11 11:49:25.46222 |
updated_at | 2024-03-20 17:09:39.852389 |
description | Minimal async GitHub API v3 client |
homepage | https://lib.rs/github_v3 |
repository | https://gitlab.com/lib.rs/main/-/tree/HEAD/github_v3 |
max_upload_size | |
id | 228626 |
size | 51,807 |
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
and std::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.