Просмотр исходного кода

[rust]: update actix beta version

appflowy 3 лет назад
Родитель
Сommit
0548546881
3 измененных файлов с 6 добавлено и 8 удалено
  1. 6 6
      backend/Cargo.toml
  2. 0 1
      backend/src/entities/token.rs
  3. 0 1
      backend/src/service/user/logged_user.rs

+ 6 - 6
backend/Cargo.toml

@@ -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"

+ 0 - 1
backend/src/entities/token.rs

@@ -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>>;
 

+ 0 - 1
backend/src/service/user/logged_user.rs

@@ -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>>;