5 releases (3 stable)

1.0.3 Dec 20, 2022
1.0.2 Jan 25, 2022
1.0.0 Mar 27, 2021
0.3.2 Apr 11, 2020
0.3.1 Apr 11, 2020

#119 in HTTP client

Download history 32/week @ 2023-08-07 41/week @ 2023-08-14 35/week @ 2023-08-21 42/week @ 2023-08-28 45/week @ 2023-09-04 31/week @ 2023-09-11 30/week @ 2023-09-18 22/week @ 2023-09-25 33/week @ 2023-10-02 28/week @ 2023-10-09 34/week @ 2023-10-16 38/week @ 2023-10-23 38/week @ 2023-10-30 32/week @ 2023-11-06 35/week @ 2023-11-13 35/week @ 2023-11-20

148 downloads per month

CC0 license

14KB
245 lines

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

Dependencies

~6–18MB
~273K SLoC