cargo-binstall/crates
Jiahao XU 238e0f6318
Fix rate limit checking in GhApiClient (#1725)
* Fix rate limit checking in `GhApiClient`

 - Mv logic into `binstalk_downloader`
 - Check for `RETRY_AFTER` and `x-ratelimit-remaining` on any status code

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix clippy lint

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-06-11 22:37:48 +10:00
..
atomic-file-install release: atomic-file-install v1.0.4 (#1718) 2024-06-08 03:41:59 +00:00
bin release: cargo-binstall v1.6.9 (#1719) 2024-06-08 06:00:33 +00:00
binstalk release: binstalk-downloader v0.11.0 (#1722) 2024-06-10 08:11:05 +00:00
binstalk-bins release: atomic-file-install v1.0.4 (#1718) 2024-06-08 03:41:59 +00:00
binstalk-downloader Fix rate limit checking in GhApiClient (#1725) 2024-06-11 22:37:48 +10:00
binstalk-fetchers Fix binstalk_fetchers::FetchError definition (#1711) 2024-06-10 12:17:45 +00:00
binstalk-git-repo-api Fix rate limit checking in GhApiClient (#1725) 2024-06-11 22:37:48 +10:00
binstalk-manifests build(deps): bump the deps group with 2 updates (#1704) 2024-05-18 03:28:12 +00:00
binstalk-registry Speedup ci (#1724) 2024-06-11 00:12:44 +10:00
binstalk-types release: binstalk-types v0.7.0 (#1598) 2024-02-03 03:52:00 +00:00
cargo-toml-workspace build(deps): bump the deps group with 2 updates (#1704) 2024-05-18 03:28:12 +00:00
detect-targets release: detect-targets v0.1.17 (#1682) 2024-05-03 00:29:20 +00:00
detect-wasi Bump tempfile from 3.4.0 to 3.5.0 (#967) 2023-03-30 02:49:38 +00:00
fs-lock release: fs-lock v0.1.3 (#1642) 2024-03-09 03:33:53 +00:00
normalize-path release: normalize-path v0.2.1 (#1173) 2023-06-26 08:22:39 +00:00