cargo-binstall/crates/binstalk-downloader/src/remote
Jiahao XU 599bcaf333
Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832)
Fixed #776

 - Add new feature gh-api-client to binstalk-downloader
 - Impl new type `binstalk_downloader::remote::{RequestBuilder, Response}`
 - Impl `binstalk_downloader::gh_api_client::GhApiClient`, exposed if `cfg(feature = "gh-api-client")` and add e2e and unit tests for it
 - Use `binstalk_downloader::gh_api_client::GhApiClient` to speedup `cargo-binstall`
 - Add new option `--github-token` to supply the token for GitHub restful API, or read from env variable `GITHUB_TOKEN` if not present.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-03-02 12:04:22 +11:00
..
certificate.rs Add opt --root-ceritificates & env BINSTALL_HTTPS_ROOT_CERTS (#820) 2023-02-20 20:48:33 +11:00
delay_request.rs Feature: Better retry policy in binstalk-downloader (#794) 2023-02-13 13:43:48 +11:00
request_builder.rs Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832) 2023-03-02 12:04:22 +11:00