Skip to main content

Module github

Module github 

Source
Expand description

GitHub Releases API client.

GithubClient fetches release metadata and streams asset downloads via sync ureq + rustls with platform certificate verification. Supports GITHUB_TOKEN / GH_TOKEN auth with pinned precedence (GITHUB_TOKEN wins).

The client is configured to strip the Authorization header on any cross-host redirect (e.g. api.github.comobjects.githubusercontent.com) while preserving it on same-host redirects.

Structs§

GithubClient
Sync GitHub Releases API client.

Enums§

Error
Errors returned by GitHub API operations.