1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

reduce futures dep

This commit is contained in:
Rob Ede
2022-03-06 00:15:16 +00:00
parent c5f2a8fcc7
commit e8cd22d2f2
25 changed files with 62 additions and 59 deletions

View File

@ -21,7 +21,7 @@ actix-web-actors = "4.1"
awc = "3.0.0-beta.21"
env_logger = "0.9"
futures-util = { version = "0.3.7", default-features = false, features = ["std", "sink"] }
log = "0.4"
futures = "0.3.7"
tokio = { version = "1.13.1", features = ["full"] }
tokio-stream = "0.1.8"

View File

@ -4,7 +4,7 @@ use std::{io, thread};
use actix_web::web::Bytes;
use awc::ws;
use futures::{SinkExt as _, StreamExt as _};
use futures_util::{SinkExt as _, StreamExt as _};
use tokio::{select, sync::mpsc};
use tokio_stream::wrappers::UnboundedReceiverStream;