[rust]: update actix beta version

This commit is contained in:
appflowy 2021-11-22 09:04:52 +08:00
parent 0bbf9c3ef1
commit 0548546881
3 changed files with 6 additions and 8 deletions

View File

@ -11,13 +11,13 @@ actix = "0.12"
#actix-http = "2.2.1"
#actix-web-actors = "3"
actix-codec = "0.4"
actix-web = "4.0.0-beta.8"
actix-http = "3.0.0-beta.8"
actix-web = "4.0.0-beta.11"
actix-http = "3.0.0-beta.12"
actix-rt = "2"
actix-web-actors = { version = "4.0.0-beta.6" }
actix-service = "2.0.0-beta.5"
actix-identity = "0.4.0-beta.2"
actix-cors = "0.6.0-beta.2"
actix-web-actors = { version = "4.0.0-beta.7" }
actix-service = "2.0.1"
actix-identity = "0.4.0-beta.3"
actix-cors = "0.6.0-beta.3"
futures = "0.3.15"
bytes = "1"

View File

@ -80,7 +80,6 @@ use backend_service::config::HEADER_TOKEN;
use futures::future::{ready, Ready};
impl FromRequest for Token {
//type Config = ();
type Error = ServerError;
type Future = Ready<Result<Self, Self::Error>>;

View File

@ -41,7 +41,6 @@ use actix_web::{dev::Payload, FromRequest, HttpRequest};
use futures::future::{ready, Ready};
impl FromRequest for LoggedUser {
//type Config = ();
type Error = ServerError;
type Future = Ready<Result<Self, Self::Error>>;