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,
|
convert::TryFrom,
|
||||||
env,
|
env,
|
||||||
fmt::{self, Display as _},
|
fmt::{self, Display as _},
|
||||||
future::{ready, Future, Ready},
|
future::Future,
|
||||||
marker::PhantomData,
|
marker::PhantomData,
|
||||||
pin::Pin,
|
pin::Pin,
|
||||||
rc::Rc,
|
rc::Rc,
|
||||||
|
@ -13,6 +13,7 @@ use std::{
|
||||||
};
|
};
|
||||||
|
|
||||||
use actix_service::{Service, Transform};
|
use actix_service::{Service, Transform};
|
||||||
|
use actix_utils::future::{ready, Ready};
|
||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
use futures_core::ready;
|
use futures_core::ready;
|
||||||
use log::{debug, warn};
|
use log::{debug, warn};
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
//! For middleware documentation, see [`NormalizePath`].
|
//! For middleware documentation, see [`NormalizePath`].
|
||||||
|
|
||||||
use std::future::{ready, Ready};
|
|
||||||
|
|
||||||
use actix_http::http::{PathAndQuery, Uri};
|
use actix_http::http::{PathAndQuery, Uri};
|
||||||
use actix_service::{Service, Transform};
|
use actix_service::{Service, Transform};
|
||||||
|
use actix_utils::future::{ready, Ready};
|
||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue