1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 14:49:20 +02:00

http: Minimize futures dependencies

This commit is contained in:
Yuki Okushi
2020-05-18 11:45:26 +09:00
parent 9bd6407730
commit 292af145cb
11 changed files with 23 additions and 22 deletions

View File

@ -482,7 +482,7 @@ where
#[cfg(test)]
mod tests {
use super::*;
use futures::stream;
use futures_util::stream;
use futures_util::future::poll_fn;
use futures_util::pin_mut;

View File

@ -1,10 +1,11 @@
use std::future::Future;
use std::pin::Pin;
use std::task::{Context, Poll};
use std::{fmt, io, mem, time};
use actix_codec::{AsyncRead, AsyncWrite, Framed};
use bytes::{Buf, Bytes};
use futures_util::future::{err, Either, Future, FutureExt, LocalBoxFuture, Ready};
use futures_util::future::{err, Either, FutureExt, LocalBoxFuture, Ready};
use h2::client::SendRequest;
use pin_project::{pin_project, project};