1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +01:00

Use workspace dependencies for actix-web (#594)

This commit is contained in:
Yuki Okushi 2022-12-21 23:49:28 +09:00 committed by GitHub
parent 096521d526
commit aee47e0817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
64 changed files with 143 additions and 126 deletions

1
Cargo.lock generated
View File

@ -7647,7 +7647,6 @@ dependencies = [
"actix", "actix",
"actix-codec", "actix-codec",
"actix-files", "actix-files",
"actix-rt",
"actix-web", "actix-web",
"actix-web-actors", "actix-web-actors",
"awc", "awc",

View File

@ -64,3 +64,22 @@ members = [
"websockets/echo", "websockets/echo",
] ]
resolver = "2" resolver = "2"
[workspace.dependencies]
actix = "0.13"
actix-broker = "0.4.2"
actix-codec = "0.5"
actix-cors = "0.6"
actix-files = "0.6"
actix-http = "3"
actix-identity = "0.5"
actix-multipart = "0.4"
actix-protobuf = "0.9"
actix-session = "0.7"
actix-test = "0.1"
actix-tls = "3.0"
actix-utils = "3"
actix-web = "4"
actix-web-actors = "4.1"
actix-web-lab = "0.18"
actix-ws = "0.2.5"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
casbin = "2" casbin = "2"
loge = { version = "0.4", default-features = false, features = ["colored", "chrono"] } loge = { version = "0.4", default-features = false, features = ["colored", "chrono"] }
tokio = { version = "1.13.1", features = ["sync"] } tokio = { version = "1.13.1", features = ["sync"] }

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-identity = "0.5" actix-identity = { workspace = true }
actix-session = { version = "0.7", features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
env_logger = "0.10" env_logger = "0.10"
rand = "0.8" rand = "0.8"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-session = { version = "0.7", features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
log = "0.4" log = "0.4"
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-session = { version = "0.7", features = ["redis-actor-session"] } actix-session = { workspace = true, features = ["redis-actor-session"] }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"
@ -13,5 +13,5 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
[dev-dependencies] [dev-dependencies]
actix-test = "0.1" actix-test = { workspace = true }
time = "0.3" time = "0.3"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-identity = "0.5" actix-identity = { workspace = true }
actix-session = { version = "0.7", features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
chrono = { version = "0.4", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] }
derive_more = "0.99.5" derive_more = "0.99.5"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-files = "0.6" actix-files = { workspace = true }
actix-session = { version = "0.7", features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
actix-web = "4" actix-web = { workspace = true }
async-stream = "0.3" async-stream = "0.3"
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
derive_more = "0.99.5" derive_more = "0.99.5"
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,5 +4,5 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "4", features = ["openssl"] } actix-web = { workspace = true, features = ["openssl"] }
env_logger = "0.10" env_logger = "0.10"
serde = { version = "^1.0", features = ["derive"] } serde = { version = "^1.0", features = ["derive"] }
serde_json = "1.0.39" serde_json = "1.0.39"

View File

@ -4,5 +4,5 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-files = "0.6" actix-files = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,10 +4,10 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-files = "0.6" actix-files = { workspace = true }
actix-session = { version = "0.7", features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
dotenv = "0.15" dotenv = "0.15"
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "4", features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
actix-cors = "0.6" actix-cors = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
diesel = { version = "2", features = ["sqlite", "r2d2"] } diesel = { version = "2", features = ["sqlite", "r2d2"] }
dotenv = "0.15" dotenv = "0.15"
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,6 +4,6 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
mongodb = "2" mongodb = "2"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
config = "0.13.1" config = "0.13.1"
deadpool-postgres = { version = "0.10.2", features = ["serde"] } deadpool-postgres = { version = "0.10.2", features = ["serde"] }
derive_more = "0.99.17" derive_more = "0.99.17"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
futures-util = { version = "0.3", default-features = false, features = ["std"] } futures-util = { version = "0.3", default-features = false, features = ["std"] }

View File

@ -4,6 +4,6 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,5 +4,5 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-multipart = "0.4" actix-multipart = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
aws-config = "0.51" aws-config = "0.51"
aws-sdk-s3 = "0.21" aws-sdk-s3 = "0.21"

View File

@ -9,8 +9,8 @@ repository = "https://github.com/actix/examples"
readme = "README.md" readme = "README.md"
[dependencies] [dependencies]
actix-multipart = "0.4" actix-multipart = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
sanitize-filename = "0.4" sanitize-filename = "0.4"

View File

@ -4,10 +4,10 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix = "0.13" actix = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
actix-cors = "0.6" actix-cors = { workspace = true }
async-graphql = "5" async-graphql = "5"
async-graphql-actix-web = "5" async-graphql-actix-web = "5"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
actix-cors = "0.6" actix-cors = { workspace = true }
juniper = "0.15" juniper = "0.15"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
actix-cors = "0.6" actix-cors = { workspace = true }
juniper = "0.15" juniper = "0.15"

View File

@ -4,4 +4,4 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "4", features = ["openssl"] } actix-web = { workspace = true, features = ["openssl"] }
awc = "3" awc = "3"
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
awc = { version = "3", features = ["rustls"] } awc = { version = "3", features = ["rustls"] }
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "4", features = ["openssl"] } actix-web = { workspace = true, features = ["openssl"] }
actix-files = "0.6" actix-files = { workspace = true }
acme-micro = "0.12" acme-micro = "0.12"
anyhow = "1" anyhow = "1"

View File

@ -4,6 +4,6 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "4", features = ["openssl"] } actix-web = { workspace = true, features = ["openssl"] }
env_logger = "0.10" env_logger = "0.10"
openssl = "0.10" openssl = "0.10"

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-tls = "3.0" actix-tls = { workspace = true }
actix-web = { version = "4", features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"
rustls = "0.20" rustls = "0.20"

View File

@ -8,9 +8,9 @@ name = "rustls-server"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
actix-web = { version = "4", features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
actix-files = "0.6" actix-files = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
awc = { version = "3", features = ["openssl"] } awc = { version = "3", features = ["openssl"] }
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
bytes = "1.1.0" bytes = "1.1.0"
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-http = "3" actix-http = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
aes-gcm-siv = "0.11" aes-gcm-siv = "0.11"
base64 = "0.20" base64 = "0.20"

View File

@ -4,6 +4,6 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
log = "0.4" log = "0.4"
env_logger = "0.10" env_logger = "0.10"

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = { version = "4", features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-http = "3" actix-http = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-protobuf = "0.9" actix-protobuf = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -5,7 +5,7 @@ edition = "2021"
description = "Run Actix Web in separate thread" description = "Run Actix Web in separate thread"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log = "0.4"

View File

@ -5,8 +5,8 @@ edition = "2021"
description = "Send a request to the server to shut it down" description = "Send a request to the server to shut it down"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -5,7 +5,7 @@ edition = "2021"
[dependencies] [dependencies]
env_logger = "0.10" env_logger = "0.10"
actix-web = "4" actix-web = { workspace = true }
askama = "0.11.0" askama = "0.11.0"
[build-dependencies] [build-dependencies]

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
fluent-templates = { version = "0.8", features = ["handlebars"] } fluent-templates = { version = "0.8", features = ["handlebars"] }
handlebars = { version = "4.3", features = ["dir_source"] } handlebars = { version = "4.3", features = ["dir_source"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }

View File

@ -4,6 +4,6 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
handlebars = { version = "4.2.1", features = ["dir_source"] } handlebars = { version = "4.2.1", features = ["dir_source"] }
serde_json = "1.0" serde_json = "1.0"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
actix-utils = "3" actix-utils = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,8 +4,8 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
actix-web-lab = "0.18" actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
tera = "1.8.0" tera = "1.8.0"

View File

@ -6,5 +6,5 @@ edition = "2021"
[dependencies] [dependencies]
env_logger = "0.10" env_logger = "0.10"
tinytemplate = "1.1" tinytemplate = "1.1"
actix-web = "4" actix-web = { workspace = true }
serde_json = "1" serde_json = "1"

View File

@ -5,7 +5,7 @@ publish = false
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
yarte = { version = "0.15", features = ["bytes-buf", "html-min"] } yarte = { version = "0.15", features = ["bytes-buf", "html-min"] }
derive_more = "0.99" derive_more = "0.99"

View File

@ -5,4 +5,4 @@ edition = "2021"
[dependencies] [dependencies]
env_logger = "0.10" env_logger = "0.10"
actix-web = "4" actix-web = { workspace = true }

View File

@ -8,9 +8,9 @@ name = "websocket-autobahn-server"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
actix = "0.13" actix = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-actors = "4.1" actix-web-actors = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-files = "0.6" actix-files = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-ws = "0.2.5" actix-ws = { workspace = true }
awc = "3" awc = "3"
derive_more = "0.99.5" derive_more = "0.99.5"

View File

@ -8,11 +8,11 @@ name = "server"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
actix = "0.13" actix = { workspace = true }
actix-broker = "0.4.2" actix-broker = { workspace = true }
actix-files = "0.6" actix-files = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-actors = "4.1" actix-web-actors = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -12,11 +12,11 @@ name = "websocket-tcp-client"
path = "src/client.rs" path = "src/client.rs"
[dependencies] [dependencies]
actix = "0.13" actix = { workspace = true }
actix-codec = "0.5" actix-codec = { workspace = true }
actix-files = "0.6" actix-files = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-actors = "4.1" actix-web-actors = { workspace = true }
byteorder = "1.2" byteorder = "1.2"
bytes = "1" bytes = "1"

View File

@ -8,10 +8,10 @@ name = "websocket-chat-server"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
actix = "0.13" actix = { workspace = true }
actix-files = "0.6" actix-files = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-web-actors = "4.1" actix-web-actors = { workspace = true }
env_logger = "0.10" env_logger = "0.10"
log = "0.4" log = "0.4"

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-files = "0.6" actix-files = { workspace = true }
actix-web = "4" actix-web = { workspace = true }
actix-ws = "0.2.5" actix-ws = { workspace = true }
awc = "3" awc = "3"
env_logger = "0.10" env_logger = "0.10"

View File

@ -12,12 +12,11 @@ name = "websocket-client"
path = "src/client.rs" path = "src/client.rs"
[dependencies] [dependencies]
actix = "0.13" actix = { workspace = true }
actix-codec = "0.5" actix-codec = { workspace = true }
actix-files = "0.6" actix-files = { workspace = true }
actix-rt = "2" actix-web = { workspace = true }
actix-web = "4" actix-web-actors = { workspace = true }
actix-web-actors = "4.1"
awc = "3" awc = "3"
env_logger = "0.10" env_logger = "0.10"