From 7760b001d8318c0a2f4bc91027121351fc80d274 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 20 Nov 2025 19:34:24 +0900 Subject: [PATCH] Get rid of dependency on 'futures' --- Cargo.lock | 17 ----------------- Cargo.toml | 1 - src/main.rs | 2 +- 3 files changed, 1 insertion(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f63f16e..88de4a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -700,21 +700,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "futures" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - [[package]] name = "futures-channel" version = "0.3.31" @@ -788,7 +773,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ - "futures-channel", "futures-core", "futures-io", "futures-macro", @@ -1253,7 +1237,6 @@ dependencies = [ "derive_more", "dialoguer", "env_logger", - "futures", "futures-util", "indoc", "itertools 0.14.0", diff --git a/Cargo.toml b/Cargo.toml index aa2919f..122fc7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,6 @@ clap_complete = "4.5.60" derive_more = { version = "2.0.1", features = ["display", "error"] } dialoguer = "0.12.0" env_logger = "0.11.8" -futures = "0.3.31" futures-util = "0.3.31" indoc = "2.0.7" itertools = "0.14.0" diff --git a/src/main.rs b/src/main.rs index 4b7fabd..fd9c12c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ use std::path::PathBuf; use std::os::unix::net::UnixStream as StdUnixStream; use tokio::net::UnixStream as TokioUnixStream; -use futures::StreamExt; +use futures_util::StreamExt; use crate::{ core::{