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:
parent
02ada2bd88
commit
a3ebc8ca66
@ -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
|
||||
|
||||
|
@ -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"] }
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user