1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00

Merge pull request #22 from JohnTitor/new-identity

Release actix-identity 0.3.0-alpha.1
This commit is contained in:
Yuki Okushi 2020-03-15 06:50:44 +09:00 committed by GitHub
commit ab1bcf15d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,10 @@
# Changes # 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 `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
* Minimize `futures` dependency
## [0.2.1] - 2020-01-10 ## [0.2.1] - 2020-01-10

View File

@ -1,6 +1,6 @@
[package] [package]
name = "actix-identity" name = "actix-identity"
version = "0.2.1" version = "0.3.0-alpha.1"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Identity service for actix-web framework." description = "Identity service for actix-web framework."
readme = "README.md" readme = "README.md"
@ -18,7 +18,7 @@ path = "src/lib.rs"
[dependencies] [dependencies]
actix-web = { version = "3.0.0-alpha.1", default-features = false, features = ["secure-cookies"] } actix-web = { version = "3.0.0-alpha.1", default-features = false, features = ["secure-cookies"] }
actix-service = "1.0.2" actix-service = "1.0.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

@ -16,4 +16,4 @@
* [API Documentation](https://docs.rs/actix-identity/) * [API Documentation](https://docs.rs/actix-identity/)
* [Chat on gitter](https://gitter.im/actix/actix) * [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-session](https://crates.io/crates/actix-identity) * 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

View File

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