mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-29 00:07:48 +02:00
web: Minimize futures
dependencies
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
use std::task::{Context, Poll};
|
||||
|
||||
use actix_service::{Service, Transform};
|
||||
use futures::future::{ok, Either, FutureExt, LocalBoxFuture};
|
||||
use futures_util::future::{ok, Either, FutureExt, LocalBoxFuture};
|
||||
|
||||
/// `Middleware` for conditionally enables another middleware.
|
||||
/// The controlled middleware must not change the `Service` interfaces.
|
||||
|
Reference in New Issue
Block a user