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:
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user