mirror of https://github.com/fafhrd91/actix-web
Update src/middleware/condition.rs
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
parent
97120297ff
commit
77279b8696
|
@ -1,3 +1,4 @@
|
||||||
|
//! `Middleware` for conditionally enables another middleware.
|
||||||
use actix_service::{Service, Transform};
|
use actix_service::{Service, Transform};
|
||||||
use futures::future::{ok, Either, FutureResult, Map};
|
use futures::future::{ok, Either, FutureResult, Map};
|
||||||
use futures::{Future, Poll};
|
use futures::{Future, Poll};
|
||||||
|
|
Loading…
Reference in New Issue