mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
Use workspace dependencies for actix-web (#594)
This commit is contained in:
parent
096521d526
commit
aee47e0817
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -7647,7 +7647,6 @@ dependencies = [
|
||||
"actix",
|
||||
"actix-codec",
|
||||
"actix-files",
|
||||
"actix-rt",
|
||||
"actix-web",
|
||||
"actix-web-actors",
|
||||
"awc",
|
||||
|
19
Cargo.toml
19
Cargo.toml
@ -64,3 +64,22 @@ members = [
|
||||
"websockets/echo",
|
||||
]
|
||||
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"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
casbin = "2"
|
||||
loge = { version = "0.4", default-features = false, features = ["colored", "chrono"] }
|
||||
tokio = { version = "1.13.1", features = ["sync"] }
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-identity = "0.5"
|
||||
actix-session = { version = "0.7", features = ["cookie-session"] }
|
||||
actix-web = { workspace = true }
|
||||
actix-identity = { workspace = true }
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
|
||||
env_logger = "0.10"
|
||||
rand = "0.8"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-session = { version = "0.7", features = ["cookie-session"] }
|
||||
actix-web = { workspace = true }
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
log = "0.4"
|
||||
env_logger = "0.10"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-session = { version = "0.7", features = ["redis-actor-session"] }
|
||||
actix-web = { workspace = true }
|
||||
actix-session = { workspace = true, features = ["redis-actor-session"] }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
@ -13,5 +13,5 @@ serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
actix-test = "0.1"
|
||||
actix-test = { workspace = true }
|
||||
time = "0.3"
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-identity = "0.5"
|
||||
actix-session = { version = "0.7", features = ["cookie-session"] }
|
||||
actix-web = { workspace = true }
|
||||
actix-identity = { workspace = true }
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
derive_more = "0.99.5"
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-files = "0.6"
|
||||
actix-session = { version = "0.7", features = ["cookie-session"] }
|
||||
actix-web = "4"
|
||||
actix-files = { workspace = true }
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
actix-web = { workspace = true }
|
||||
|
||||
async-stream = "0.3"
|
||||
env_logger = "0.10"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
derive_more = "0.99.5"
|
||||
env_logger = "0.10"
|
||||
|
@ -4,5 +4,5 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
env_logger = "0.10"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["openssl"] }
|
||||
actix-web = { workspace = true, features = ["openssl"] }
|
||||
env_logger = "0.10"
|
||||
serde = { version = "^1.0", features = ["derive"] }
|
||||
serde_json = "1.0.39"
|
||||
|
@ -4,5 +4,5 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
env_logger = "0.10"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-files = "0.6"
|
||||
actix-web = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,10 +4,10 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-files = "0.6"
|
||||
actix-session = { version = "0.7", features = ["cookie-session"] }
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-files = { workspace = true }
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
dotenv = "0.15"
|
||||
env_logger = "0.10"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["rustls"] }
|
||||
actix-cors = "0.6"
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
actix-cors = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
diesel = { version = "2", features = ["sqlite", "r2d2"] }
|
||||
dotenv = "0.15"
|
||||
env_logger = "0.10"
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
mongodb = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
config = "0.13.1"
|
||||
deadpool-postgres = { version = "0.10.2", features = ["serde"] }
|
||||
derive_more = "0.99.17"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
futures-util = { version = "0.3", default-features = false, features = ["std"] }
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,5 +4,5 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-multipart = "0.4"
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-multipart = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
aws-config = "0.51"
|
||||
aws-sdk-s3 = "0.21"
|
||||
|
@ -9,8 +9,8 @@ repository = "https://github.com/actix/examples"
|
||||
readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
actix-multipart = "0.4"
|
||||
actix-web = "4"
|
||||
actix-multipart = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
sanitize-filename = "0.4"
|
||||
|
@ -4,10 +4,10 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix = "0.13"
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-cors = "0.6"
|
||||
actix = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-cors = { workspace = true }
|
||||
|
||||
async-graphql = "5"
|
||||
async-graphql-actix-web = "5"
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-cors = "0.6"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-cors = { workspace = true }
|
||||
|
||||
juniper = "0.15"
|
||||
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-cors = "0.6"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-cors = { workspace = true }
|
||||
|
||||
juniper = "0.15"
|
||||
|
||||
|
@ -4,4 +4,4 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["openssl"] }
|
||||
actix-web = { workspace = true, features = ["openssl"] }
|
||||
awc = "3"
|
||||
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
awc = { version = "3", features = ["rustls"] }
|
||||
|
||||
env_logger = "0.10"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["openssl"] }
|
||||
actix-files = "0.6"
|
||||
actix-web = { workspace = true, features = ["openssl"] }
|
||||
actix-files = { workspace = true }
|
||||
|
||||
acme-micro = "0.12"
|
||||
anyhow = "1"
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["openssl"] }
|
||||
actix-web = { workspace = true, features = ["openssl"] }
|
||||
env_logger = "0.10"
|
||||
openssl = "0.10"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-tls = "3.0"
|
||||
actix-web = { version = "4", features = ["rustls"] }
|
||||
actix-tls = { workspace = true }
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
rustls = "0.20"
|
||||
|
@ -8,9 +8,9 @@ name = "rustls-server"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["rustls"] }
|
||||
actix-web-lab = "0.18"
|
||||
actix-files = "0.6"
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
awc = { version = "3", features = ["openssl"] }
|
||||
|
||||
env_logger = "0.10"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
bytes = "1.1.0"
|
||||
env_logger = "0.10"
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-http = "3"
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-http = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
aes-gcm-siv = "0.11"
|
||||
base64 = "0.20"
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
log = "0.4"
|
||||
env_logger = "0.10"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { version = "4", features = ["rustls"] }
|
||||
actix-web-lab = "0.18"
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-http = "3"
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-http = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-protobuf = "0.9"
|
||||
actix-web = "4"
|
||||
actix-protobuf = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||
description = "Run Actix Web in separate thread"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
env_logger = "0.10"
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
log = "0.4"
|
||||
|
@ -5,8 +5,8 @@ edition = "2021"
|
||||
description = "Send a request to the server to shut it down"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.10"
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
askama = "0.11.0"
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
fluent-templates = { version = "0.8", features = ["handlebars"] }
|
||||
handlebars = { version = "4.3", features = ["dir_source"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
handlebars = { version = "4.2.1", features = ["dir_source"] }
|
||||
serde_json = "1.0"
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-utils = "3"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-utils = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,8 +4,8 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.18"
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
|
||||
env_logger = "0.10"
|
||||
tera = "1.8.0"
|
||||
|
@ -6,5 +6,5 @@ edition = "2021"
|
||||
[dependencies]
|
||||
env_logger = "0.10"
|
||||
tinytemplate = "1.1"
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
serde_json = "1"
|
||||
|
@ -5,7 +5,7 @@ publish = false
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
env_logger = "0.10"
|
||||
yarte = { version = "0.15", features = ["bytes-buf", "html-min"] }
|
||||
derive_more = "0.99"
|
||||
|
@ -5,4 +5,4 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger = "0.10"
|
||||
actix-web = "4"
|
||||
actix-web = { workspace = true }
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user