6 releases (stable)

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

#1129 in Web programming

Download history 1/week @ 2024-02-13 23/week @ 2024-02-20 25/week @ 2024-02-27 3/week @ 2024-03-05 14/week @ 2024-03-12 153/week @ 2024-03-19 14/week @ 2024-03-26 81/week @ 2024-04-02 7/week @ 2024-04-09

294 downloads per month

CC0 license

17KB
290 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–20MB
~266K SLoC