4 releases (2 stable)

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

#71 in HTTP client

Download history 12/week @ 2022-04-24 20/week @ 2022-05-01 20/week @ 2022-05-08 80/week @ 2022-05-15 23/week @ 2022-05-22 32/week @ 2022-05-29 32/week @ 2022-06-05 11/week @ 2022-06-12 12/week @ 2022-06-19 12/week @ 2022-06-26 8/week @ 2022-07-03 12/week @ 2022-07-10 13/week @ 2022-07-17 15/week @ 2022-07-24 11/week @ 2022-07-31 23/week @ 2022-08-07

67 downloads per month

CC0 license

13KB
241 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–14MB
~288K SLoC