Skip to content

Commit ab1bcf1

Browse files
authored
Merge pull request #22 from JohnTitor/new-identity
Release actix-identity 0.3.0-alpha.1
2 parents 02ada2b + dd7ee27 commit ab1bcf1

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

actix-identity/CHANGES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Changes
22

3-
## [0.3.0-alpha.1] - 2020-03-12
3+
## [0.3.0-alpha.1] - 2020-03-14
44

55
* Update the `time` dependency to 0.2.7
66
* Update the `actix-web` dependency to 3.0.0-alpha.1
7+
* Minimize `futures` dependency
78

89
## [0.2.1] - 2020-01-10
910

actix-identity/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix-identity"
3-
version = "0.2.1"
3+
version = "0.3.0-alpha.1"
44
authors = ["Nikolay Kim <[email protected]>"]
55
description = "Identity service for actix-web framework."
66
readme = "README.md"
@@ -18,7 +18,7 @@ path = "src/lib.rs"
1818
[dependencies]
1919
actix-web = { version = "3.0.0-alpha.1", default-features = false, features = ["secure-cookies"] }
2020
actix-service = "1.0.2"
21-
futures = "0.3.1"
21+
futures-util = { version = "0.3.4", default-features = false }
2222
serde = "1.0"
2323
serde_json = "1.0"
2424
time = { version = "0.2.7", default-features = false, features = ["std"] }

actix-identity/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
* [API Documentation](https://docs.rs/actix-identity/)
1717
* [Chat on gitter](https://gitter.im/actix/actix)
1818
* Cargo package: [actix-session](https://crates.io/crates/actix-identity)
19-
* Minimum supported Rust version: 1.34 or later
19+
* Minimum supported Rust version: 1.39 or later

actix-identity/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ use std::task::{Context, Poll};
5353
use std::time::SystemTime;
5454

5555
use actix_service::{Service, Transform};
56-
use futures::future::{ok, FutureExt, LocalBoxFuture, Ready};
56+
use futures_util::future::{ok, FutureExt, LocalBoxFuture, Ready};
5757
use serde::{Deserialize, Serialize};
5858
use time::Duration;
5959

@@ -1085,7 +1085,7 @@ mod tests {
10851085

10861086
#[actix_rt::test]
10871087
async fn test_borrowed_mut_error() {
1088-
use futures::future::{lazy, ok, Ready};
1088+
use futures_util::future::{lazy, ok, Ready};
10891089

10901090
struct Ident;
10911091
impl IdentityPolicy for Ident {

0 commit comments

Comments
 (0)