cargo-binstall/crates/binstalk/src
Jiahao XU cc78ff3b90
Fix fetcher::QuickInstallstats report sending (#918)
Fixed https://github.com/cargo-bins/cargo-quickinstall/issues/195

 - Fix `fetchers::QuickInstall`: Stop sending stats for `universal-apple-darwin`
   since quickinstall only supports targets officially supports by rust.
 - Only send stats report to quickinstall if the `Fetcher::find` is `.await`ed on
   
   This prevents stats report to be sent for cases where the `QuickInstall` fetcher
   is actually unused, e.g. resolved to `GhCrateMeta` or other `QuickInstall` fetcher
   with different target.
   
   This also reduces amount of http requests created in background.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-03-17 21:05:19 +11:00
..
drivers Obey crates.io crawler policy: Only make one request per sec (#908) 2023-03-14 17:11:22 +11:00
fetchers Fix fetcher::QuickInstallstats report sending (#918) 2023-03-17 21:05:19 +11:00
helpers Use Quickinstall new release schema (#867) 2023-03-06 08:13:08 +00:00
ops Fix fetcher::QuickInstallstats report sending (#918) 2023-03-17 21:05:19 +11:00
bins.rs Fix zip extraction and bins::infer_bin_dir_template (#869) 2023-03-06 17:54:31 +11:00
drivers.rs Replace dep crates_io_api with in-house solution (#846) 2023-03-02 18:25:34 +11:00
errors.rs Replace dep crates_io_api with in-house solution (#846) 2023-03-02 18:25:34 +11:00
fetchers.rs Fix fetcher::QuickInstallstats report sending (#918) 2023-03-17 21:05:19 +11:00
fs.rs Fix #728: fallback to copy when symlinking on windows (#763) 2023-02-04 14:14:08 +13:00
helpers.rs Use Quickinstall new release schema (#867) 2023-03-06 08:13:08 +00: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 Obey crates.io crawler policy: Only make one request per sec (#908) 2023-03-14 17:11:22 +11:00