diff --git a/actix-identity/CHANGES.md b/actix-identity/CHANGES.md index 5dc57de23..a575c2840 100644 --- a/actix-identity/CHANGES.md +++ b/actix-identity/CHANGES.md @@ -1,9 +1,10 @@ # Changes -## [0.3.0-alpha.1] - 2020-03-12 +## [0.3.0-alpha.1] - 2020-03-14 * 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 diff --git a/actix-identity/Cargo.toml b/actix-identity/Cargo.toml index e87c4cb0d..c0e973f6e 100644 --- a/actix-identity/Cargo.toml +++ b/actix-identity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-identity" -version = "0.2.1" +version = "0.3.0-alpha.1" authors = ["Nikolay Kim "] description = "Identity service for actix-web framework." readme = "README.md" @@ -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"] } diff --git a/actix-identity/README.md b/actix-identity/README.md index fa9aaf025..e88b0a5ae 100644 --- a/actix-identity/README.md +++ b/actix-identity/README.md @@ -16,4 +16,4 @@ * [API Documentation](https://docs.rs/actix-identity/) * [Chat on gitter](https://gitter.im/actix/actix) * Cargo package: [actix-session](https://crates.io/crates/actix-identity) -* Minimum supported Rust version: 1.34 or later +* Minimum supported Rust version: 1.39 or later diff --git a/actix-identity/src/lib.rs b/actix-identity/src/lib.rs index b584b1af7..e39598aff 100644 --- a/actix-identity/src/lib.rs +++ b/actix-identity/src/lib.rs @@ -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 {