mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
move a couple more things to workspace deps
This commit is contained in:
@ -8,9 +8,9 @@ name = "websocket-autobahn-server"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-actors = { workspace = true }
|
||||
actix.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-actors.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,14 +4,14 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-files = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-ws = { workspace = true }
|
||||
awc = "3"
|
||||
actix-files.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-ws.workspace = true
|
||||
awc.workspace = true
|
||||
|
||||
derive_more = "0.99.5"
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
rand = "0.8"
|
||||
tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] }
|
||||
tokio = { workspace = true, features = ["rt", "time", "macros"] }
|
||||
|
@ -8,11 +8,11 @@ name = "server"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = { workspace = true }
|
||||
actix-broker = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-actors = { workspace = true }
|
||||
actix.workspace = true
|
||||
actix-broker.workspace = true
|
||||
actix-files.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-actors.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -12,20 +12,20 @@ name = "websocket-tcp-client"
|
||||
path = "src/client.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = { workspace = true }
|
||||
actix-codec = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-actors = { workspace = true }
|
||||
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"
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] }
|
||||
futures-util = { workspace = true, features = ["sink"] }
|
||||
log.workspace = true
|
||||
rand = "0.8"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1.13.1", features = ["full"] }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tokio-util = { version = "0.7", features = ["codec"] }
|
||||
tokio-stream = "0.1.8"
|
||||
|
@ -8,10 +8,10 @@ name = "websocket-chat-server"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-actors = { workspace = true }
|
||||
actix.workspace = true
|
||||
actix-files.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-actors.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,12 +4,12 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-files = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-ws = { workspace = true }
|
||||
awc = "3"
|
||||
actix-files.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-ws.workspace = true
|
||||
awc.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] }
|
||||
tokio = { workspace = true, features = ["rt", "time", "macros"] }
|
||||
|
@ -12,15 +12,15 @@ name = "websocket-client"
|
||||
path = "src/client.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = { workspace = true }
|
||||
actix-codec = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-actors = { workspace = true }
|
||||
awc = "3"
|
||||
actix.workspace = true
|
||||
actix-codec.workspace = true
|
||||
actix-files.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-actors.workspace = true
|
||||
awc.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] }
|
||||
futures-util = { workspace = true, features = ["sink"] }
|
||||
log.workspace = true
|
||||
tokio = { version = "1.13.1", features = ["full"] }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tokio-stream = "0.1.8"
|
||||
|
Reference in New Issue
Block a user