cargo-binstall/crates/binstalk/src
Jiahao XU 270bf08a24
Optimize use of tinytemplate (#647)
* Optimize `GhCrateMeta::find`: Cache compiled template `pkg_url`
* Optimize `collect_bin_files`: Cache compiled template `bin_dir`
* Refactor: Improve readability of `gh_crate_meta`
* Optimize `GhCrateMeta::launch_baseline_find_tasks`: Dedup urls before checking
* Optimize `BinFile::new`: Avoid one heap alloc when creating `dest`
* Improve `warn!` msg in `GhCrateMeta::launch_baseline_find_tasks`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-01-26 17:33:49 +13:00
..
drivers Optimize Download::and_visit_tar: Use trait object to avoid monomorphization (#644) 2023-01-04 13:11:10 +13:00
fetchers Optimize use of tinytemplate (#647) 2023-01-26 17:33:49 +13:00
helpers Optimization: Box fut Remote::get_redirected_final_url in GhCrateMeta::find (#600) 2022-12-12 08:42:11 +00:00
ops Optimize use of tinytemplate (#647) 2023-01-26 17:33:49 +13:00
bins.rs Optimize use of tinytemplate (#647) 2023-01-26 17:33:49 +13:00
drivers.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
errors.rs Rm unused variant binstalk_downloader::download::DownloadError::UserAbort (#653) 2023-01-06 02:08:57 +13:00
fetchers.rs Optimize Fetcher::find and fix quickinstall reporting (#579) 2022-11-30 16:15:22 +13:00
fs.rs Fix self-update on windows (#712) 2023-01-17 18:05:07 +11:00
helpers.rs Refactor: Extract new crate binstalk-{signal, downloader} (#518) 2022-11-11 04:02:54 +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 Refactor, improvements and bugfix for resolution and installation process (#619) 2022-12-28 00:18:07 +00:00