diff --git a/Cargo.toml b/Cargo.toml index cfade36..bd919a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,3 +86,4 @@ actix-web-lab = "0.18" actix-ws = "0.2.5" env_logger = "0.10" +log = "0.4" diff --git a/auth/cookie-auth/Cargo.toml b/auth/cookie-auth/Cargo.toml index 8008617..522f736 100644 --- a/auth/cookie-auth/Cargo.toml +++ b/auth/cookie-auth/Cargo.toml @@ -8,5 +8,5 @@ actix-web = { workspace = true } actix-identity = { workspace = true } actix-session = { workspace = true, features = ["cookie-session"] } -env_logger = "0.10" +env_logger.workspace = true rand = "0.8" diff --git a/auth/cookie-session/Cargo.toml b/auth/cookie-session/Cargo.toml index 12d78f2..8feaa84 100644 --- a/auth/cookie-session/Cargo.toml +++ b/auth/cookie-session/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" [dependencies] actix-web = { workspace = true } actix-session = { workspace = true, features = ["cookie-session"] } -log = "0.4" -env_logger = "0.10" +log.workspace = true +env_logger.workspace = true diff --git a/auth/redis-session/Cargo.toml b/auth/redis-session/Cargo.toml index 2dd88a6..9dbf842 100644 --- a/auth/redis-session/Cargo.toml +++ b/auth/redis-session/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" actix-web = { workspace = true } actix-session = { workspace = true, features = ["redis-actor-session"] } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/auth/simple-auth-server/Cargo.toml b/auth/simple-auth-server/Cargo.toml index b2d00f4..53c3fc1 100644 --- a/auth/simple-auth-server/Cargo.toml +++ b/auth/simple-auth-server/Cargo.toml @@ -12,7 +12,7 @@ chrono = { version = "0.4", features = ["serde"] } derive_more = "0.99.5" diesel = { version = "2", features = ["postgres", "r2d2", "uuid", "chrono"] } dotenv = "0.15" -env_logger = "0.10" +env_logger.workspace = true once_cell = "1" r2d2 = "0.8" rust-argon2 = "1" diff --git a/background-jobs/Cargo.toml b/background-jobs/Cargo.toml index 83c99eb..af79dda 100644 --- a/background-jobs/Cargo.toml +++ b/background-jobs/Cargo.toml @@ -11,7 +11,7 @@ apalis = { version = "0.3", features = ["redis"] } chrono = { version = "0.4.20", default-features = false, features = ["clock", "serde"] } dotenv = "0.15" env_logger.workspace = true -log = "0.4" +log.workspace = true rand = "0.8" serde = { version = "1", features = ["derive"] } tokio = { version = "1.13.1", features = ["sync", "rt-multi-thread", "macros"] } diff --git a/basics/basics/Cargo.toml b/basics/basics/Cargo.toml index 9ef97c1..20ac414 100644 --- a/basics/basics/Cargo.toml +++ b/basics/basics/Cargo.toml @@ -9,5 +9,5 @@ actix-session = { workspace = true, features = ["cookie-session"] } actix-web = { workspace = true } async-stream = "0.3" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true diff --git a/basics/error-handling/Cargo.toml b/basics/error-handling/Cargo.toml index 27897d0..6170504 100644 --- a/basics/error-handling/Cargo.toml +++ b/basics/error-handling/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" actix-web = { workspace = true } derive_more = "0.99.5" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true rand = "0.8" diff --git a/basics/hello-world/Cargo.toml b/basics/hello-world/Cargo.toml index 0d4e711..a9206ce 100644 --- a/basics/hello-world/Cargo.toml +++ b/basics/hello-world/Cargo.toml @@ -5,4 +5,4 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true diff --git a/basics/nested-routing/Cargo.toml b/basics/nested-routing/Cargo.toml index 21314af..fc27b7f 100644 --- a/basics/nested-routing/Cargo.toml +++ b/basics/nested-routing/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] actix-web = { workspace = true, features = ["openssl"] } -env_logger = "0.10" +env_logger.workspace = true serde = { version = "^1.0", features = ["derive"] } serde_json = "1.0.39" diff --git a/basics/state/Cargo.toml b/basics/state/Cargo.toml index 9a9c05b..7f5402b 100644 --- a/basics/state/Cargo.toml +++ b/basics/state/Cargo.toml @@ -5,4 +5,4 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true diff --git a/basics/static-files/Cargo.toml b/basics/static-files/Cargo.toml index 81c0638..7ce6e88 100644 --- a/basics/static-files/Cargo.toml +++ b/basics/static-files/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" [dependencies] actix-web = { workspace = true } actix-files = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true diff --git a/basics/todo/Cargo.toml b/basics/todo/Cargo.toml index b953294..f26717d 100644 --- a/basics/todo/Cargo.toml +++ b/basics/todo/Cargo.toml @@ -10,8 +10,8 @@ actix-web = { workspace = true } actix-web-lab = { workspace = true } dotenv = "0.15" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true serde = { version = "1", features = ["derive"] } serde_json = "1" sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "offline"] } diff --git a/cors/backend/Cargo.toml b/cors/backend/Cargo.toml index 8444391..3d6292e 100644 --- a/cors/backend/Cargo.toml +++ b/cors/backend/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" actix-web = { workspace = true, features = ["rustls"] } actix-cors = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/data-factory/Cargo.toml b/data-factory/Cargo.toml index 6cd1ed0..4ffa048 100644 --- a/data-factory/Cargo.toml +++ b/data-factory/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true diff --git a/databases/diesel/Cargo.toml b/databases/diesel/Cargo.toml index 94595c1..d3afb04 100644 --- a/databases/diesel/Cargo.toml +++ b/databases/diesel/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" actix-web = { workspace = true } diesel = { version = "2", features = ["sqlite", "r2d2"] } dotenv = "0.15" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" uuid = { version = "1", features = ["v4", "serde"] } diff --git a/databases/redis/Cargo.toml b/databases/redis/Cargo.toml index 0375449..ceeafab 100644 --- a/databases/redis/Cargo.toml +++ b/databases/redis/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true redis = { version = "0.22", default-features = false, features = ["tokio-comp", "connection-manager"] } serde = { version = "1", features = ["derive"] } diff --git a/databases/sqlite/Cargo.toml b/databases/sqlite/Cargo.toml index 3df5029..042162f 100644 --- a/databases/sqlite/Cargo.toml +++ b/databases/sqlite/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true r2d2 = "0.8" r2d2_sqlite = "0.20" # 0.21.0 blocked on sqlx sqlite update rusqlite = "0.27" # 0.28.0 blocked on sqlx sqlite update diff --git a/docker/Cargo.toml b/docker/Cargo.toml index f273590..0845918 100644 --- a/docker/Cargo.toml +++ b/docker/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true diff --git a/forms/multipart-s3/Cargo.toml b/forms/multipart-s3/Cargo.toml index 7d91d5b..5ce4f45 100644 --- a/forms/multipart-s3/Cargo.toml +++ b/forms/multipart-s3/Cargo.toml @@ -12,9 +12,9 @@ aws-config = "0.51" aws-sdk-s3 = "0.21" dotenv = "0.15" -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true sanitize-filename = "0.4" serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/graphql/async-graphql/Cargo.toml b/graphql/async-graphql/Cargo.toml index 5303e1e..5192ad7 100644 --- a/graphql/async-graphql/Cargo.toml +++ b/graphql/async-graphql/Cargo.toml @@ -12,6 +12,6 @@ actix-cors = { workspace = true } async-graphql = "5" async-graphql-actix-web = "5" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true slab = "0.4" diff --git a/graphql/juniper-advanced/Cargo.toml b/graphql/juniper-advanced/Cargo.toml index ace16c4..48a5168 100644 --- a/graphql/juniper-advanced/Cargo.toml +++ b/graphql/juniper-advanced/Cargo.toml @@ -15,8 +15,8 @@ r2d2 = "0.8" r2d2_mysql = "23" dotenv = "0.15" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true serde = { version = "1", features = ["derive"] } serde_json = "1" uuid = { version = "1", features = ["v4", "serde"] } diff --git a/graphql/juniper/Cargo.toml b/graphql/juniper/Cargo.toml index fcb4f5e..48bb76b 100644 --- a/graphql/juniper/Cargo.toml +++ b/graphql/juniper/Cargo.toml @@ -10,7 +10,7 @@ actix-cors = { workspace = true } juniper = "0.15" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/http-proxy/Cargo.toml b/http-proxy/Cargo.toml index f584440..9efdc9c 100644 --- a/http-proxy/Cargo.toml +++ b/http-proxy/Cargo.toml @@ -8,6 +8,6 @@ actix-web = { workspace = true, features = ["openssl"] } awc = "3" clap = { version = "4", features = ["derive"] } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true url = "2.2" diff --git a/https-tls/awc-https/Cargo.toml b/https-tls/awc-https/Cargo.toml index b3f3fc2..c08a65e 100644 --- a/https-tls/awc-https/Cargo.toml +++ b/https-tls/awc-https/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" actix-web = { workspace = true } awc = { version = "3", features = ["rustls"] } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true mime = "0.3" rustls = "0.20" webpki-roots = "0.22" diff --git a/https-tls/openssl-auto-le/Cargo.toml b/https-tls/openssl-auto-le/Cargo.toml index 6ed3089..f21bc94 100644 --- a/https-tls/openssl-auto-le/Cargo.toml +++ b/https-tls/openssl-auto-le/Cargo.toml @@ -9,7 +9,7 @@ actix-files = { workspace = true } acme-micro = "0.12" anyhow = "1" -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true openssl = { version = "0.10", features = ["v110"] } reqwest = "0.11" diff --git a/https-tls/openssl/Cargo.toml b/https-tls/openssl/Cargo.toml index c3b639f..6cfba17 100644 --- a/https-tls/openssl/Cargo.toml +++ b/https-tls/openssl/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" [dependencies] actix-web = { workspace = true, features = ["openssl"] } -env_logger = "0.10" +env_logger.workspace = true openssl = "0.10" diff --git a/https-tls/rustls-client-cert/Cargo.toml b/https-tls/rustls-client-cert/Cargo.toml index d870553..37faa37 100644 --- a/https-tls/rustls-client-cert/Cargo.toml +++ b/https-tls/rustls-client-cert/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] actix-tls = { workspace = true } actix-web = { workspace = true, features = ["rustls"] } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true rustls = "0.20" rustls-pemfile = "1" diff --git a/https-tls/rustls/Cargo.toml b/https-tls/rustls/Cargo.toml index f1bc498..f1c9944 100644 --- a/https-tls/rustls/Cargo.toml +++ b/https-tls/rustls/Cargo.toml @@ -12,7 +12,7 @@ actix-web = { workspace = true, features = ["rustls"] } actix-web-lab = { workspace = true } actix-files = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true rustls = "0.20.2" rustls-pemfile = "1" diff --git a/json/json-decode-error/Cargo.toml b/json/json-decode-error/Cargo.toml index 846f16a..a0734ae 100644 --- a/json/json-decode-error/Cargo.toml +++ b/json/json-decode-error/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true serde = "1" diff --git a/json/json-error/Cargo.toml b/json/json-error/Cargo.toml index a7016e6..a85d25a 100644 --- a/json/json-error/Cargo.toml +++ b/json/json-error/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/json/json-validation/Cargo.toml b/json/json-validation/Cargo.toml index f3198a5..63f8811 100644 --- a/json/json-validation/Cargo.toml +++ b/json/json-validation/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" actix-web = { workspace = true } awc = { version = "3", features = ["openssl"] } -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true serde = { version = "1", features = ["derive"] } serde_json = "1" validator = { version = "0.16", features = ["derive"] } diff --git a/json/json/Cargo.toml b/json/json/Cargo.toml index 20f4880..fa9c53e 100644 --- a/json/json/Cargo.toml +++ b/json/json/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } json = "0.12" -log = "0.4" +log.workspace = true serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/json/jsonrpc/Cargo.toml b/json/jsonrpc/Cargo.toml index d5d64d8..510014e 100644 --- a/json/jsonrpc/Cargo.toml +++ b/json/jsonrpc/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" actix-web = { workspace = true } bytes = "1.1.0" -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.78" diff --git a/middleware/middleware-encrypted-payloads/Cargo.toml b/middleware/middleware-encrypted-payloads/Cargo.toml index 29df7a9..9e7d1ef 100644 --- a/middleware/middleware-encrypted-payloads/Cargo.toml +++ b/middleware/middleware-encrypted-payloads/Cargo.toml @@ -10,9 +10,9 @@ actix-web-lab = { workspace = true } aes-gcm-siv = "0.11" base64 = "0.20" -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true pin-project = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/middleware/middleware-ext-mut/Cargo.toml b/middleware/middleware-ext-mut/Cargo.toml index 01b8085..c290f8b 100644 --- a/middleware/middleware-ext-mut/Cargo.toml +++ b/middleware/middleware-ext-mut/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -log = "0.4" -env_logger = "0.10" +log.workspace = true +env_logger.workspace = true diff --git a/middleware/middleware-http-to-https/Cargo.toml b/middleware/middleware-http-to-https/Cargo.toml index 3aff9f3..dad0d00 100644 --- a/middleware/middleware-http-to-https/Cargo.toml +++ b/middleware/middleware-http-to-https/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" actix-web = { workspace = true, features = ["rustls"] } actix-web-lab = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true rustls = "0.20" rustls-pemfile = "1" diff --git a/middleware/middleware/Cargo.toml b/middleware/middleware/Cargo.toml index c08193a..3df616e 100644 --- a/middleware/middleware/Cargo.toml +++ b/middleware/middleware/Cargo.toml @@ -8,7 +8,7 @@ actix-http = { workspace = true } actix-web = { workspace = true } actix-web-lab = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true pin-project = "1" diff --git a/protobuf/Cargo.toml b/protobuf/Cargo.toml index e56d297..34e7728 100644 --- a/protobuf/Cargo.toml +++ b/protobuf/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" actix-protobuf = { workspace = true } actix-web = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true prost = "0.11" prost-derive = "0.11" diff --git a/run-in-thread/Cargo.toml b/run-in-thread/Cargo.toml index 1522a3d..748180b 100644 --- a/run-in-thread/Cargo.toml +++ b/run-in-thread/Cargo.toml @@ -7,5 +7,5 @@ description = "Run Actix Web in separate thread" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true diff --git a/server-sent-events/Cargo.toml b/server-sent-events/Cargo.toml index 7e3539d..d0ca19b 100644 --- a/server-sent-events/Cargo.toml +++ b/server-sent-events/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] actix-web = { workspace = true } actix-web-lab = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true parking_lot = "0.12" tokio = { version = "1.13.1", features = ["sync"] } tokio-stream = { version = "0.1.8", features = ["time"] } diff --git a/shutdown-server/Cargo.toml b/shutdown-server/Cargo.toml index 615ca45..11abef5 100644 --- a/shutdown-server/Cargo.toml +++ b/shutdown-server/Cargo.toml @@ -8,7 +8,7 @@ description = "Send a request to the server to shut it down" actix-web = { workspace = true } actix-web-lab = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true parking_lot = "0.12" tokio = { version = "1.13.1", features = ["signal"] } diff --git a/templating/askama/Cargo.toml b/templating/askama/Cargo.toml index 5f509a7..f487aa7 100644 --- a/templating/askama/Cargo.toml +++ b/templating/askama/Cargo.toml @@ -4,7 +4,7 @@ version = "1.0.0" edition = "2021" [dependencies] -env_logger = "0.10" +env_logger.workspace = true actix-web = { workspace = true } askama = "0.11.0" diff --git a/templating/minijinja/Cargo.toml b/templating/minijinja/Cargo.toml index 84c719a..7529c44 100644 --- a/templating/minijinja/Cargo.toml +++ b/templating/minijinja/Cargo.toml @@ -8,7 +8,7 @@ actix-web = { workspace = true } actix-web-lab = { workspace = true } actix-utils = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true minijinja = { version = "0.27", features = ["source"] } minijinja-autoreload = "0.27" diff --git a/templating/sailfish/Cargo.toml b/templating/sailfish/Cargo.toml index d6eb919..ba9299b 100644 --- a/templating/sailfish/Cargo.toml +++ b/templating/sailfish/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" actix-web = { workspace = true } actix-web-lab = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true sailfish = "0.5" diff --git a/templating/tera/Cargo.toml b/templating/tera/Cargo.toml index 68ffb86..04c77d6 100644 --- a/templating/tera/Cargo.toml +++ b/templating/tera/Cargo.toml @@ -7,5 +7,5 @@ edition = "2021" actix-web = { workspace = true } actix-web-lab = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true tera = "1.8.0" diff --git a/templating/tinytemplate/Cargo.toml b/templating/tinytemplate/Cargo.toml index fcd0570..3cdffdb 100644 --- a/templating/tinytemplate/Cargo.toml +++ b/templating/tinytemplate/Cargo.toml @@ -4,7 +4,7 @@ version = "1.0.0" edition = "2021" [dependencies] -env_logger = "0.10" +env_logger.workspace = true tinytemplate = "1.1" actix-web = { workspace = true } serde_json = "1" diff --git a/templating/yarte/Cargo.toml b/templating/yarte/Cargo.toml index 832d8fa..2ce5c64 100644 --- a/templating/yarte/Cargo.toml +++ b/templating/yarte/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] actix-web = { workspace = true } -env_logger = "0.10" +env_logger.workspace = true yarte = { version = "0.15", features = ["bytes-buf", "html-min"] } derive_more = "0.99" diff --git a/unix-socket/Cargo.toml b/unix-socket/Cargo.toml index 80a4aab..50261eb 100644 --- a/unix-socket/Cargo.toml +++ b/unix-socket/Cargo.toml @@ -4,5 +4,5 @@ version = "1.0.0" edition = "2021" [dependencies] -env_logger = "0.10" +env_logger.workspace = true actix-web = { workspace = true } diff --git a/websockets/autobahn/Cargo.toml b/websockets/autobahn/Cargo.toml index 1b4d1dd..e25d05c 100644 --- a/websockets/autobahn/Cargo.toml +++ b/websockets/autobahn/Cargo.toml @@ -12,5 +12,5 @@ actix = { workspace = true } actix-web = { workspace = true } actix-web-actors = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true diff --git a/websockets/chat-actorless/Cargo.toml b/websockets/chat-actorless/Cargo.toml index 696f24c..af6d929 100644 --- a/websockets/chat-actorless/Cargo.toml +++ b/websockets/chat-actorless/Cargo.toml @@ -10,8 +10,8 @@ actix-ws = { workspace = true } awc = "3" derive_more = "0.99.5" -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true rand = "0.8" tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] } diff --git a/websockets/chat-broker/Cargo.toml b/websockets/chat-broker/Cargo.toml index 71ae97a..da4eb3c 100644 --- a/websockets/chat-broker/Cargo.toml +++ b/websockets/chat-broker/Cargo.toml @@ -14,6 +14,6 @@ actix-files = { workspace = true } actix-web = { workspace = true } actix-web-actors = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true rand = "0.8" diff --git a/websockets/chat-tcp/Cargo.toml b/websockets/chat-tcp/Cargo.toml index b79f8a3..7aec89b 100644 --- a/websockets/chat-tcp/Cargo.toml +++ b/websockets/chat-tcp/Cargo.toml @@ -20,9 +20,9 @@ actix-web-actors = { workspace = true } byteorder = "1.2" bytes = "1" -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] } -log = "0.4" +log.workspace = true rand = "0.8" serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/websockets/chat/Cargo.toml b/websockets/chat/Cargo.toml index 23c3b0f..4e6b584 100644 --- a/websockets/chat/Cargo.toml +++ b/websockets/chat/Cargo.toml @@ -13,8 +13,8 @@ actix-files = { workspace = true } actix-web = { workspace = true } actix-web-actors = { workspace = true } -env_logger = "0.10" -log = "0.4" +env_logger.workspace = true +log.workspace = true rand = "0.8" serde = "1" serde_json = "1" diff --git a/websockets/echo-actorless/Cargo.toml b/websockets/echo-actorless/Cargo.toml index fb24ccc..ea914db 100644 --- a/websockets/echo-actorless/Cargo.toml +++ b/websockets/echo-actorless/Cargo.toml @@ -9,7 +9,7 @@ actix-web = { workspace = true } actix-ws = { workspace = true } awc = "3" -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std"] } -log = "0.4" +log.workspace = true tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] } diff --git a/websockets/echo/Cargo.toml b/websockets/echo/Cargo.toml index 484f591..16f8f30 100644 --- a/websockets/echo/Cargo.toml +++ b/websockets/echo/Cargo.toml @@ -19,8 +19,8 @@ actix-web = { workspace = true } actix-web-actors = { workspace = true } awc = "3" -env_logger = "0.10" +env_logger.workspace = true futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] } -log = "0.4" +log.workspace = true tokio = { version = "1.13.1", features = ["full"] } tokio-stream = "0.1.8"