mirror of
https://github.com/actix/examples
synced 2024-11-23 14:31:07 +01:00
move a couple more things to workspace deps
This commit is contained in:
parent
7ca1024742
commit
91ffa11e19
@ -84,6 +84,9 @@ actix-web = "4"
|
||||
actix-web-actors = "4.1"
|
||||
actix-web-lab = "0.18"
|
||||
actix-ws = "0.2.5"
|
||||
awc = "3"
|
||||
|
||||
env_logger = "0.10"
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
log = "0.4"
|
||||
tokio = { version = "1.13.1", features = ["sync"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
casbin = "2"
|
||||
loge = { version = "0.4", default-features = false, features = ["colored", "chrono"] }
|
||||
tokio = { version = "1.13.1", features = ["sync"] }
|
||||
tokio = { workspace = true, features = ["sync"] }
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-identity = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-identity.workspace = true
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
|
||||
env_logger.workspace = true
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
log.workspace = true
|
||||
env_logger.workspace = true
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-session = { workspace = true, features = ["redis-actor-session"] }
|
||||
|
||||
env_logger.workspace = true
|
||||
@ -13,5 +13,5 @@ serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
actix-test = { workspace = true }
|
||||
actix-test.workspace = true
|
||||
time = "0.3"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-identity = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-identity.workspace = true
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
@ -14,5 +14,5 @@ env_logger.workspace = true
|
||||
log.workspace = true
|
||||
rand = "0.8"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
tokio = { version = "1.13.1", features = ["sync", "rt-multi-thread", "macros"] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
tokio-util = "0.7.4"
|
||||
|
@ -4,9 +4,9 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-files = { workspace = true }
|
||||
actix-files.workspace = true
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
async-stream = "0.3"
|
||||
env_logger.workspace = true
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
derive_more = "0.99.5"
|
||||
env_logger.workspace = true
|
||||
|
@ -4,5 +4,5 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
env_logger.workspace = true
|
||||
|
@ -4,5 +4,5 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
env_logger.workspace = true
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-files.workspace = true
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,10 +4,10 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-files = { workspace = true }
|
||||
actix-files.workspace = true
|
||||
actix-session = { workspace = true, features = ["cookie-session"] }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
dotenv = "0.15"
|
||||
env_logger.workspace = true
|
||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
actix-cors = { workspace = true }
|
||||
actix-cors.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
diesel = { version = "2", features = ["sqlite", "r2d2"] }
|
||||
dotenv = "0.15"
|
||||
env_logger.workspace = true
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
mongodb = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
config = "0.13.1"
|
||||
deadpool-postgres = { version = "0.10.2", features = ["serde"] }
|
||||
derive_more = "0.99.17"
|
||||
|
@ -4,10 +4,10 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
redis = { version = "0.22", default-features = false, features = ["tokio-comp", "connection-manager"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -4,10 +4,10 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
r2d2 = "0.8"
|
||||
r2d2_sqlite = "0.20" # 0.21.0 blocked on sqlx sqlite update
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,5 +4,5 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -4,18 +4,18 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-multipart = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-multipart.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
aws-config = "0.51"
|
||||
aws-sdk-s3 = "0.21"
|
||||
|
||||
dotenv = "0.15"
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
sanitize-filename = "0.4"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1.13.1", features = ["io-util", "fs"] }
|
||||
tokio = { workspace = true, features = ["io-util", "fs"] }
|
||||
|
@ -9,9 +9,9 @@ repository = "https://github.com/actix/examples"
|
||||
readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
actix-multipart = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-multipart.workspace = true
|
||||
actix-web.workspace = true
|
||||
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
sanitize-filename = "0.4"
|
||||
uuid = { version = "1", features = ["v4"] }
|
||||
|
@ -4,10 +4,10 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-cors = { workspace = true }
|
||||
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 = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-cors = { workspace = true }
|
||||
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 = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-cors = { workspace = true }
|
||||
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 = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
@ -5,13 +5,13 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true, features = ["openssl"] }
|
||||
awc = "3"
|
||||
awc.workspace = true
|
||||
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
reqwest = { version = "0.11", features = ["stream"] }
|
||||
tokio = { version = "1.13.1", features = ["sync"] }
|
||||
tokio.workspace = true
|
||||
tokio-stream = { version = "0.1.3", features = ["sync"] }
|
||||
url = "2.2"
|
||||
|
@ -7,6 +7,7 @@ use actix_web::{
|
||||
use awc::Client;
|
||||
use clap::Parser;
|
||||
use futures_util::StreamExt as _;
|
||||
use tokio::sync::mpsc;
|
||||
use tokio_stream::wrappers::UnboundedReceiverStream;
|
||||
use url::Url;
|
||||
|
||||
@ -71,7 +72,7 @@ async fn forward_reqwest(
|
||||
new_url.set_path(path);
|
||||
new_url.set_query(req.uri().query());
|
||||
|
||||
let (tx, rx) = tokio::sync::mpsc::unbounded_channel();
|
||||
let (tx, rx) = mpsc::unbounded_channel();
|
||||
|
||||
actix_web::rt::spawn(async move {
|
||||
while let Some(chunk) = payload.next().await {
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
awc = { version = "3", features = ["rustls"] }
|
||||
|
||||
env_logger.workspace = true
|
||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true, features = ["openssl"] }
|
||||
actix-files = { workspace = true }
|
||||
actix-files.workspace = true
|
||||
|
||||
acme-micro = "0.12"
|
||||
anyhow = "1"
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-tls = { workspace = true }
|
||||
actix-tls.workspace = true
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -9,8 +9,8 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-files = { workspace = true }
|
||||
actix-web-lab.workspace = true
|
||||
actix-files.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,7 +4,7 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,11 +4,11 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
awc = { version = "3", features = ["openssl"] }
|
||||
actix-web.workspace = true
|
||||
awc = { workspace = true, features = ["openssl"] }
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
@ -4,10 +4,10 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
json = "0.12"
|
||||
log.workspace = true
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
@ -4,11 +4,11 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
bytes = "1.1.0"
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0.78"
|
||||
|
@ -4,14 +4,14 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-http = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-http.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
aes-gcm-siv = "0.11"
|
||||
base64 = "0.20"
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
pin-project = "1"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
@ -4,6 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
log.workspace = true
|
||||
env_logger.workspace = true
|
||||
|
@ -5,10 +5,10 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true, features = ["rustls"] }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
rustls = "0.20"
|
||||
rustls-pemfile = "1"
|
||||
|
@ -4,11 +4,11 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-http = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-http.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
pin-project = "1"
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-protobuf = { workspace = true }
|
||||
actix-web = { workspace = true }
|
||||
actix-protobuf.workspace = true
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||
description = "Run Actix Web in separate thread"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,11 +4,11 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
env_logger.workspace = true
|
||||
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
parking_lot = "0.12"
|
||||
tokio = { version = "1.13.1", features = ["sync"] }
|
||||
tokio.workspace = true
|
||||
tokio-stream = { version = "0.1.8", features = ["time"] }
|
||||
|
@ -5,8 +5,8 @@ edition = "2021"
|
||||
description = "Send a request to the server to shut it down"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger.workspace = true
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
askama = "0.11.0"
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
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 = { workspace = true }
|
||||
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 = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-utils = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
actix-utils.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,8 +4,8 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,8 +4,8 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web-lab = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
tera = "1.8.0"
|
||||
|
@ -6,5 +6,5 @@ edition = "2021"
|
||||
[dependencies]
|
||||
env_logger.workspace = true
|
||||
tinytemplate = "1.1"
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
serde_json = "1"
|
||||
|
@ -5,7 +5,7 @@ publish = false
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
env_logger.workspace = true
|
||||
yarte = { version = "0.15", features = ["bytes-buf", "html-min"] }
|
||||
derive_more = "0.99"
|
||||
|
@ -5,4 +5,4 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
env_logger.workspace = true
|
||||
actix-web = { workspace = true }
|
||||
actix-web.workspace = true
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user