mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 10:27:42 +02:00
actix-web beta 15 updates (#216)
This commit is contained in:
@ -3,6 +3,12 @@
|
||||
## Unreleased - 2021-xx-xx
|
||||
|
||||
|
||||
## 0.4.0-beta.6 - 2021-12-18
|
||||
* Update `actix-web` dependency to `4.0.0.beta-15`. [#216]
|
||||
|
||||
[#216]: https://github.com/actix/actix-extras/pull/216
|
||||
|
||||
|
||||
## 0.4.0-beta.5 - 2021-12-12
|
||||
* Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
[package]
|
||||
name = "actix-identity"
|
||||
version = "0.4.0-beta.5"
|
||||
version = "0.4.0-beta.6"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
description = "Identity service for Actix web"
|
||||
description = "Identity service for Actix Web"
|
||||
keywords = ["actix", "auth", "identity", "web", "security"]
|
||||
homepage = "https://actix.rs"
|
||||
repository = "https://github.com/actix/actix-extras.git"
|
||||
@ -14,9 +14,9 @@ name = "actix_identity"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
actix-service = "2.0.0"
|
||||
actix-service = "2"
|
||||
actix-utils = "3"
|
||||
actix-web = { version = "4.0.0-beta.14", default-features = false, features = ["cookies", "secure-cookies"] }
|
||||
actix-web = { version = "4.0.0-beta.15", default-features = false, features = ["cookies", "secure-cookies"] }
|
||||
|
||||
futures-util = { version = "0.3.7", default-features = false }
|
||||
serde = "1.0"
|
||||
|
@ -3,9 +3,9 @@
|
||||
> Identity service for actix-web framework.
|
||||
|
||||
[](https://crates.io/crates/actix-identity)
|
||||
[](https://docs.rs/actix-identity/0.4.0-beta.5)
|
||||
[](https://docs.rs/actix-identity/0.4.0-beta.6)
|
||||

|
||||
[](https://deps.rs/crate/actix-identity/0.4.0-beta.5)
|
||||
[](https://deps.rs/crate/actix-identity/0.4.0-beta.6)
|
||||
|
||||
## Documentation & community resources
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use std::{error::Error as StdError, rc::Rc};
|
||||
use std::rc::Rc;
|
||||
|
||||
use actix_utils::future::{ready, Ready};
|
||||
use actix_web::{
|
||||
@ -44,7 +44,7 @@ where
|
||||
S::Future: 'static,
|
||||
T: IdentityPolicy,
|
||||
B: MessageBody + 'static,
|
||||
B::Error: StdError,
|
||||
B::Error: Into<Error>,
|
||||
{
|
||||
type Response = ServiceResponse<EitherBody<B>>;
|
||||
type Error = Error;
|
||||
@ -80,7 +80,7 @@ where
|
||||
S::Future: 'static,
|
||||
T: IdentityPolicy,
|
||||
B: MessageBody + 'static,
|
||||
B::Error: StdError,
|
||||
B::Error: Into<Error>,
|
||||
{
|
||||
type Response = ServiceResponse<EitherBody<B>>;
|
||||
type Error = Error;
|
||||
|
Reference in New Issue
Block a user