Skip to content

Commit

Permalink
chore: fix rand optionality
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Sep 12, 2024
1 parent 26ccf8b commit 3c640ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actix-session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"] }
Expand Down

0 comments on commit 3c640ec

Please sign in to comment.