diff --git a/Cargo.toml b/Cargo.toml index 4acb7371..855637c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -89,6 +89,7 @@ awc = "3" env_logger = "0.10" futures-util = { version = "0.3.17", default-features = false, features = ["std"] } log = "0.4" +rand = "0.8" serde = { version = "1", features = ["derive"] } serde_json = "1" tokio = { version = "1.13.1", features = ["sync"] } diff --git a/auth/cookie-auth/Cargo.toml b/auth/cookie-auth/Cargo.toml index 3a5d5ef2..8c0f9fb3 100644 --- a/auth/cookie-auth/Cargo.toml +++ b/auth/cookie-auth/Cargo.toml @@ -9,4 +9,4 @@ actix-identity.workspace = true actix-session = { workspace = true, features = ["cookie-session"] } env_logger.workspace = true -rand = "0.8" +rand.workspace = true diff --git a/background-jobs/Cargo.toml b/background-jobs/Cargo.toml index 324880a9..4ddda692 100644 --- a/background-jobs/Cargo.toml +++ b/background-jobs/Cargo.toml @@ -12,7 +12,7 @@ chrono = { version = "0.4.20", default-features = false, features = ["clock", "s dotenv = "0.15" env_logger.workspace = true log.workspace = true -rand = "0.8" +rand.workspace = true serde.workspace = true tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } tokio-util = "0.7.4" diff --git a/basics/error-handling/Cargo.toml b/basics/error-handling/Cargo.toml index be198930..e08d6d48 100644 --- a/basics/error-handling/Cargo.toml +++ b/basics/error-handling/Cargo.toml @@ -9,4 +9,4 @@ actix-web.workspace = true derive_more = "0.99.5" env_logger.workspace = true log.workspace = true -rand = "0.8" +rand.workspace = true diff --git a/websockets/chat-actorless/Cargo.toml b/websockets/chat-actorless/Cargo.toml index c5267aaf..50ed1206 100644 --- a/websockets/chat-actorless/Cargo.toml +++ b/websockets/chat-actorless/Cargo.toml @@ -13,5 +13,5 @@ derive_more = "0.99.5" env_logger.workspace = true futures-util.workspace = true log.workspace = true -rand = "0.8" +rand.workspace = true tokio = { workspace = true, features = ["rt", "time", "macros"] } diff --git a/websockets/chat-broker/Cargo.toml b/websockets/chat-broker/Cargo.toml index c42cfaab..49c68af1 100644 --- a/websockets/chat-broker/Cargo.toml +++ b/websockets/chat-broker/Cargo.toml @@ -16,4 +16,4 @@ actix-web-actors.workspace = true env_logger.workspace = true log.workspace = true -rand = "0.8" +rand.workspace = true diff --git a/websockets/chat-tcp/Cargo.toml b/websockets/chat-tcp/Cargo.toml index a7783bbd..a46ec167 100644 --- a/websockets/chat-tcp/Cargo.toml +++ b/websockets/chat-tcp/Cargo.toml @@ -23,7 +23,7 @@ bytes = "1" env_logger.workspace = true futures-util = { workspace = true, features = ["sink"] } log.workspace = true -rand = "0.8" +rand.workspace = true serde.workspace = true serde_json.workspace = true tokio = { workspace = true, features = ["full"] } diff --git a/websockets/chat/Cargo.toml b/websockets/chat/Cargo.toml index 61dd2043..b5032bbb 100644 --- a/websockets/chat/Cargo.toml +++ b/websockets/chat/Cargo.toml @@ -15,6 +15,6 @@ actix-web-actors.workspace = true env_logger.workspace = true log.workspace = true -rand = "0.8" +rand.workspace = true serde = "1" serde_json.workspace = true