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

Minimize futures dependency

This commit is contained in:
Yuki Okushi 2020-03-15 05:44:29 +09:00
parent 02ada2bd88
commit a3ebc8ca66
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
3 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
* Update the `time` dependency to 0.2.7
* Update the `actix-web` dependency to 3.0.0-alpha.1
* Minimize `futures` dependency
## [0.2.1] - 2020-01-10

View File

@ -18,7 +18,7 @@ path = "src/lib.rs"
[dependencies]
actix-web = { version = "3.0.0-alpha.1", default-features = false, features = ["secure-cookies"] }
actix-service = "1.0.2"
futures = "0.3.1"
futures-util = { version = "0.3.4", default-features = false }
serde = "1.0"
serde_json = "1.0"
time = { version = "0.2.7", default-features = false, features = ["std"] }

View File

@ -53,7 +53,7 @@ use std::task::{Context, Poll};
use std::time::SystemTime;
use actix_service::{Service, Transform};
use futures::future::{ok, FutureExt, LocalBoxFuture, Ready};
use futures_util::future::{ok, FutureExt, LocalBoxFuture, Ready};
use serde::{Deserialize, Serialize};
use time::Duration;
@ -1085,7 +1085,7 @@ mod tests {
#[actix_rt::test]
async fn test_borrowed_mut_error() {
use futures::future::{lazy, ok, Ready};
use futures_util::future::{lazy, ok, Ready};
struct Ident;
impl IdentityPolicy for Ident {