Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

[rust]: update actix beta version

appflowy054854688117
diff --git a/backend/Cargo.toml b/backend/Cargo.toml
index 85f29ecd99..b1c4acd0c0 100644
--- a/backend/Cargo.toml
+++ b/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"
diff --git a/backend/src/entities/token.rs b/backend/src/entities/token.rs
index 0c65f99753..a091820c6f 100644
--- a/backend/src/entities/token.rs
+++ b/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>>;
diff --git a/backend/src/service/user/logged_user.rs b/backend/src/service/user/logged_user.rs
index 256b1643fc..c0ce7a8f95 100644
--- a/backend/src/service/user/logged_user.rs
+++ b/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>>;