cargo-binstall/crates/binstalk/src
Jiahao XU a13c01b769
Replace dep futures-util with helpers::FuturesResolver (#765)
futures-util has too many dependencies and it contains a lot of code of
which we only use `futures_util::stream::{FuturesUnordered, StreamExt}`.

We don't even need most of the functionalities in `FuturesUnordered` as
we just need the output of first future that either returns `Err(_)` or
`Ok(Some(_))`.

So we replace it with ou own homebrew solution (~80 loc) and it's easier
to use.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-02-05 16:26:25 +11:00
..
drivers Optimize Download::and_visit_tar: Use trait object to avoid monomorphization (#644) 2023-01-04 13:11:10 +13:00
fetchers Replace dep futures-util with helpers::FuturesResolver (#765) 2023-02-05 16:26:25 +11:00
helpers Replace dep futures-util with helpers::FuturesResolver (#765) 2023-02-05 16:26:25 +11:00
ops Optimize use of tinytemplate (#647) 2023-01-26 17:33:49 +13:00
bins.rs Fix #728: fallback to copy when symlinking on windows (#763) 2023-02-04 14:14:08 +13:00
drivers.rs Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00
errors.rs Improve GhCrateMeta: Detect cases where pkg-fmt is not specified (#757) 2023-02-04 10:47:57 +13:00
fetchers.rs Optimize Fetcher::find and fix quickinstall reporting (#579) 2022-11-30 16:15:22 +13:00
fs.rs Fix #728: fallback to copy when symlinking on windows (#763) 2023-02-04 14:14:08 +13:00
helpers.rs Replace dep futures-util with helpers::FuturesResolver (#765) 2023-02-05 16:26:25 +11: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