diff --git a/crates/binstalk-fetchers/src/common.rs b/crates/binstalk-fetchers/src/common.rs index ae789929..c3ad9f24 100644 --- a/crates/binstalk-fetchers/src/common.rs +++ b/crates/binstalk-fetchers/src/common.rs @@ -5,6 +5,7 @@ use std::sync::{ use binstalk_downloader::gh_api_client::{GhReleaseArtifact, HasReleaseArtifact}; pub(super) use binstalk_downloader::{ + cacher::HTTPCacher, download::{Download, ExtractedFiles}, gh_api_client::GhApiClient, remote::{Client, Url}, diff --git a/crates/binstalk-fetchers/src/dist_manifest_fetcher.rs b/crates/binstalk-fetchers/src/dist_manifest_fetcher.rs index ed7639d0..25b7350a 100644 --- a/crates/binstalk-fetchers/src/dist_manifest_fetcher.rs +++ b/crates/binstalk-fetchers/src/dist_manifest_fetcher.rs @@ -26,7 +26,7 @@ struct Artifact { } #[derive(Clone, Debug)] -pub(super) enum DistManifest { +enum DistManifest { NotSupported(Format), /// Key: name of the binary Binaries(BTreeMap), diff --git a/crates/binstalk-fetchers/src/gh_crate_meta.rs b/crates/binstalk-fetchers/src/gh_crate_meta.rs index 68c66f00..77d7fddd 100644 --- a/crates/binstalk-fetchers/src/gh_crate_meta.rs +++ b/crates/binstalk-fetchers/src/gh_crate_meta.rs @@ -102,6 +102,7 @@ impl super::Fetcher for GhCrateMeta { fn new( client: Client, gh_api_client: GhApiClient, + _cacher: HTTPCacher, data: Arc, target_data: Arc, signature_policy: SignaturePolicy, diff --git a/crates/binstalk-fetchers/src/lib.rs b/crates/binstalk-fetchers/src/lib.rs index 019993b1..c71f942a 100644 --- a/crates/binstalk-fetchers/src/lib.rs +++ b/crates/binstalk-fetchers/src/lib.rs @@ -96,6 +96,7 @@ pub trait Fetcher: Send + Sync { fn new( client: Client, gh_api_client: GhApiClient, + cacher: HTTPCacher, data: Arc, target_data: Arc, signature_policy: SignaturePolicy, diff --git a/crates/binstalk-fetchers/src/quickinstall.rs b/crates/binstalk-fetchers/src/quickinstall.rs index aa9b402a..9d32d121 100644 --- a/crates/binstalk-fetchers/src/quickinstall.rs +++ b/crates/binstalk-fetchers/src/quickinstall.rs @@ -82,6 +82,7 @@ impl super::Fetcher for QuickInstall { fn new( client: Client, gh_api_client: GhApiClient, + _cacher: HTTPCacher, data: Arc, target_data: Arc, signature_policy: SignaturePolicy,