cargo-binstall/crates/binstalk/src
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
..
drivers Optimize Download::and_visit_tar: Use trait object to avoid monomorphization (#644) 2023-01-04 13:11:10 +13:00
fetchers Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832) 2023-03-02 12:04:22 +11:00
helpers Replace dep futures-util with helpers::FuturesResolver (#765) 2023-02-05 16:26:25 +11:00
ops Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832) 2023-03-02 12:04:22 +11:00
bins.rs Fix bin names in .crates.toml on win (#802) 2023-02-15 17:24:50 +13:00
drivers.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
errors.rs Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832) 2023-03-02 12:04:22 +11:00
fetchers.rs Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832) 2023-03-02 12:04:22 +11:00
fs.rs Fix #728: fallback to copy when symlinking on windows (#763) 2023-02-04 14:14:08 +13:00
helpers.rs Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832) 2023-03-02 12:04:22 +11:00
lib.rs Refactor: Extract new crate binstalk-types plus other misc refactor and optimization (#535) 2022-11-17 13:46:27 +13:00
ops.rs Impl GhApiClient and use it in cargo-binstall to speedup resolution process (#832) 2023-03-02 12:04:22 +11:00