Add tower-http crate

This commit is contained in:
2024-03-01 14:35:03 -05:00
parent 37d57eee14
commit 939b14403f
2 changed files with 34 additions and 0 deletions

View File

@ -44,6 +44,7 @@ futures = { version = "0.3.30", default-features = false, optional = true }
tokio = { version = "1", optional = true }
axum = { version = "0.6.4", optional = true }
tower = { veresion = "0.4.13", optional = true }
tower-http = { version = "0.4", optional = true, features = ["fs"] }
[features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
@ -68,6 +69,7 @@ ssr = [
"tokio",
"axum",
"tower",
"tower-http",
]
# Defines a size-optimized profile for the WASM bundle in release mode