1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-12 22:55:32 +01:00

Minimize futures dependency

This commit is contained in:
Yuki Okushi 2020-03-15 06:58:47 +09:00
parent ab1bcf15d4
commit bc36cc1159
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
4 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@
* Update the `time` dependency to 0.2.7 * Update the `time` dependency to 0.2.7
* Update the `actix-web` dependency to 3.0.0-alpha.1 * Update the `actix-web` dependency to 3.0.0-alpha.1
* Long lasting auto-prolonged session [#1292] * Long lasting auto-prolonged session [#1292]
* Minimize `futures` dependency
[#1292]: https://github.com/actix/actix-web/pull/1292 [#1292]: https://github.com/actix/actix-web/pull/1292

View File

@ -26,7 +26,7 @@ actix-web = "3.0.0-alpha.1"
actix-service = "1.0.1" actix-service = "1.0.1"
bytes = "0.5.3" bytes = "0.5.3"
derive_more = "0.99.2" derive_more = "0.99.2"
futures = "0.3.1" futures-util = { version = "0.3.4", default-features = false }
serde = "1.0" serde = "1.0"
serde_json = "1.0" serde_json = "1.0"
time = { version = "0.2.7", default-features = false, features = ["std"] } time = { version = "0.2.7", default-features = false, features = ["std"] }

View File

@ -25,7 +25,7 @@ use actix_web::dev::{ServiceRequest, ServiceResponse};
use actix_web::http::{header::SET_COOKIE, HeaderValue}; use actix_web::http::{header::SET_COOKIE, HeaderValue};
use actix_web::{Error, HttpMessage, ResponseError}; use actix_web::{Error, HttpMessage, ResponseError};
use derive_more::{Display, From}; use derive_more::{Display, From};
use futures::future::{ok, FutureExt, LocalBoxFuture, Ready}; use futures_util::future::{ok, FutureExt, LocalBoxFuture, Ready};
use serde_json::error::Error as JsonError; use serde_json::error::Error as JsonError;
use time::{Duration, OffsetDateTime}; use time::{Duration, OffsetDateTime};

View File

@ -49,7 +49,7 @@ use actix_web::dev::{
Extensions, Payload, RequestHead, ServiceRequest, ServiceResponse, Extensions, Payload, RequestHead, ServiceRequest, ServiceResponse,
}; };
use actix_web::{Error, FromRequest, HttpMessage, HttpRequest}; use actix_web::{Error, FromRequest, HttpMessage, HttpRequest};
use futures::future::{ok, Ready}; use futures_util::future::{ok, Ready};
use serde::de::DeserializeOwned; use serde::de::DeserializeOwned;
use serde::Serialize; use serde::Serialize;
use serde_json; use serde_json;