Fixed compilation of cargo-binstall

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-10-14 00:11:32 +11:00
parent 6f194aa302
commit 2d980e454b
5 changed files with 16 additions and 5 deletions

View file

@ -9,6 +9,7 @@ use binstalk::{
fetchers::{Fetcher, GhCrateMeta, QuickInstall, SignaturePolicy},
get_desired_targets,
helpers::{
cacher::HTTPCacher,
gh_api_client::GhApiClient,
jobserver_client::LazyJobserverClient,
remote::{Certificate, Client},
@ -157,6 +158,7 @@ pub fn install_crates(
client,
gh_api_client,
cacher: HTTPCacher::default(),
jobserver_client,
registry: if let Some(index) = args.index {
index