Add tower-sessions-redis-store crate

This commit is contained in:
2024-03-31 14:40:21 -04:00
parent 37db254f50
commit 64a1c45dad
2 changed files with 152 additions and 0 deletions

View File

@ -33,6 +33,7 @@ tower = { veresion = "0.4.13", optional = true }
tower-http = { version = "0.5", optional = true, features = ["fs"] }
thiserror = "1.0.57"
tower-sessions = { version = "0.11", default-features = false }
tower-sessions-redis-store = { version = "0.11", optional = true }
[patch.crates-io]
gloo-net = { git = "https://github.com/rustwasm/gloo.git", rev = "a823fab7ecc4068e9a28bd669da5eaf3f0a56380" }
@ -56,6 +57,7 @@ ssr = [
"axum",
"tower",
"tower-http",
"tower-sessions-redis-store",
]
# Defines a size-optimized profile for the WASM bundle in release mode