mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00

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>
6 lines
133 B
Rust
6 lines
133 B
Rust
pub mod futures_resolver;
|
|
pub mod jobserver_client;
|
|
pub mod signal;
|
|
pub mod tasks;
|
|
|
|
pub use binstalk_downloader::{download, remote};
|