mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-07 12:40:04 +00:00
Optimize GhCrateMeta::find
: use FuturesUnordered
(#321)
* Optimize `GhCrateMeta::find` using `FuturesUnordered` * Optimize `MultiFetcher`: Impl `with_capacity` use it in `resolve_inner` to avoid over-reservation * Enable feature "std" of dep futures-util Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
4def4d08fd
commit
16b16c482c
4 changed files with 11 additions and 7 deletions
|
@ -20,7 +20,7 @@ crates_io_api = { version = "0.8.0", default-features = false }
|
|||
detect-targets = { version = "0.1.0", path = "../detect-targets" }
|
||||
flate2 = { version = "1.0.24", default-features = false }
|
||||
flock = { version = "0.1.0", path = "../flock" }
|
||||
futures-util = { version = "0.3.23", default-features = false }
|
||||
futures-util = { version = "0.3.23", default-features = false, features = ["std"] }
|
||||
home = "0.5.3"
|
||||
itertools = "0.10.3"
|
||||
jobserver = "0.1.24"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue