1
0
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:
Yuki Okushi
2020-05-18 11:47:20 +09:00
parent d7abbff3b0
commit a98e53ecb8
29 changed files with 60 additions and 51 deletions

View File

@@ -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.