From 3c640ec120bc04fa71f8053f05cb272736e5a427 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 12 Sep 2024 14:56:33 -0400 Subject: [PATCH] chore: fix rand optionality --- actix-session/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actix-session/Cargo.toml b/actix-session/Cargo.toml index b680df12f..bfb0bb1c8 100644 --- a/actix-session/Cargo.toml +++ b/actix-session/Cargo.toml @@ -20,7 +20,7 @@ all-features = true [features] default = [] cookie-session = [] -redis-session = ["dep:redis", "dep:rand"] +redis-session = ["dep:redis"] redis-session-native-tls = ["redis-session", "redis/tokio-native-tls-comp"] redis-session-rustls = ["redis-session", "redis/tokio-rustls-comp"] redis-pool = ["dep:deadpool-redis"] @@ -32,7 +32,7 @@ actix-web = { version = "4", default-features = false, features = ["cookies", "s anyhow = "1" derive_more = { version = "1", features = ["display", "error", "from"] } -rand = { version = "0.8", optional = true } +rand = "0.8" serde = { version = "1" } serde_json = { version = "1" } tracing = { version = "0.1.30", default-features = false, features = ["log"] }