cargo-binstall/crates/binstalk/src
Jiahao XU ff737730f4
Optimize use of tokio::select!: Use biased selection (#580)
as there is no need to randomize the first one to be polled.

For `cancel_on_user_sig_term` and `StreamReadable::fill_buf`, the
cancellation future should always to be polled first so that user would
feel responsive.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-11-30 16:05:52 +13:00
..
drivers More mionr optimizations (#553) 2022-11-22 19:35:16 +13:00
fetchers Return Future + 'static in GhCrateMeta::launch_baseline_find_tasks (#573) 2022-11-29 16:26:54 +13:00
helpers Optimize use of tokio::select!: Use biased selection (#580) 2022-11-30 16:05:52 +13:00
ops More mionr optimizations (#553) 2022-11-22 19:35:16 +13:00
bins.rs More mionr optimizations (#553) 2022-11-22 19:35:16 +13:00
drivers.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
errors.rs Enforce strict strategies parsing rule: Reject duplicate strategy in --strategies (#545) 2022-11-21 12:02:58 +11:00
fetchers.rs Minor optimization (#544) 2022-11-21 10:32:46 +13:00
fs.rs Replace use of log with tracing (#527) 2022-11-13 21:45:37 +13: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 Minor optimization (#544) 2022-11-21 10:32:46 +13:00