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

#178 in HTTP client

Download history 28/week @ 2024-10-21 53/week @ 2024-10-28 62/week @ 2024-11-04 44/week @ 2024-11-11 117/week @ 2024-11-18 64/week @ 2024-11-25 47/week @ 2024-12-02 71/week @ 2024-12-09 62/week @ 2024-12-16 47/week @ 2024-12-23 30/week @ 2024-12-30 51/week @ 2025-01-06 51/week @ 2025-01-13 36/week @ 2025-01-20 3/week @ 2025-01-27 13/week @ 2025-02-03

113 downloads per month
Used in os-checker-plugin-github-…

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–18MB
~233K SLoC