1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02: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
64 changed files with 143 additions and 126 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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