1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00

Minimize futures-* dependencies

This commit is contained in:
Yuki Okushi 2020-03-12 05:43:48 +09:00
parent 51f5c326ee
commit 9a8275b455
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Changes
## [0.3.0-alpha.1] - 2020-03-11
* Minimize `futures-*` dependencies
## [0.2.0] - 2019-12-20
* Release

View File

@ -19,7 +19,7 @@ path = "src/lib.rs"
actix-web = "2.0.0"
actix-service = "1.0.1"
derive_more = "0.99.2"
futures = "0.3.1"
futures-util = { version = "0.3.4", default-features = false }
[dev-dependencies]
actix-rt = "1.0.0"

View File

@ -52,7 +52,7 @@ use actix_web::http::header::{self, HeaderName, HeaderValue};
use actix_web::http::{self, Error as HttpError, Method, StatusCode, Uri};
use actix_web::HttpResponse;
use derive_more::Display;
use futures::future::{ok, Either, FutureExt, LocalBoxFuture, Ready};
use futures_util::future::{ok, Either, FutureExt, LocalBoxFuture, Ready};
/// A set of errors that can occur during processing CORS
#[derive(Debug, Display)]