3 unstable releases

Uses new Rust 2024

0.2.0 Nov 14, 2025
0.1.1 Jun 27, 2025
0.1.0 Jun 8, 2025

#304 in HTTP client

Download history 33/week @ 2025-09-22 38/week @ 2025-09-29 40/week @ 2025-10-06 44/week @ 2025-10-13 39/week @ 2025-10-20 120/week @ 2025-10-27 24/week @ 2025-11-03 66/week @ 2025-11-10 19/week @ 2025-11-17 21/week @ 2025-11-24 10/week @ 2025-12-01 24/week @ 2025-12-08 28/week @ 2025-12-15 34/week @ 2025-12-22 23/week @ 2025-12-29 4/week @ 2026-01-05

91 downloads per month
Used in labelmaker

MIT license

69KB
1K SLoC

Project Status: Active – The project has reached a stable, usable state and is being actively developed. CI Status Minimum Supported Rust Version MIT License

GitHub | crates.io | Documentation | Issues | Changelog

minigh is a thin wrapper around ureq for interacting with the GitHub REST API that aims to make common operations easier & simpler. Notable features include:

  • When making a request, you only need to specify the part of the URL after the API base URL.

  • Support for iterating over paginated results

  • Most request methods return decoded JSON.

  • Bring Your Own Schema: minigh does not define any types for values returned by the API; that is left up to the user.

  • Errors raised for 4xx and 5xx responses include the body of the response in the error value, and this body is included when displaying with {:#}.

  • The Accept and X-GitHub-Api-Version headers are automatically set to their recommended values.

  • Follows GitHub's recommendations for dealing with rate limits, including waiting between mutating requests and waiting & retrying in response to rate-limit errors

  • Automatic retrying on 5xx errors with exponential backoff

Dependencies

~16–30MB
~483K SLoC