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