mirror of https://github.com/fafhrd91/actix-web
use actix-utils ready future
This commit is contained in:
parent
74e8442fff
commit
0dec86523a
|
@ -5,7 +5,7 @@ use std::{
|
|||
convert::TryFrom,
|
||||
env,
|
||||
fmt::{self, Display as _},
|
||||
future::{ready, Future, Ready},
|
||||
future::Future,
|
||||
marker::PhantomData,
|
||||
pin::Pin,
|
||||
rc::Rc,
|
||||
|
@ -13,6 +13,7 @@ use std::{
|
|||
};
|
||||
|
||||
use actix_service::{Service, Transform};
|
||||
use actix_utils::future::{ready, Ready};
|
||||
use bytes::Bytes;
|
||||
use futures_core::ready;
|
||||
use log::{debug, warn};
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
//! For middleware documentation, see [`NormalizePath`].
|
||||
|
||||
use std::future::{ready, Ready};
|
||||
|
||||
use actix_http::http::{PathAndQuery, Uri};
|
||||
use actix_service::{Service, Transform};
|
||||
use actix_utils::future::{ready, Ready};
|
||||
use bytes::Bytes;
|
||||
use regex::Regex;
|
||||
|
||||
|
|
Loading…
Reference in New Issue