Add tower crate

This commit is contained in:
Ethan Girouard 2024-03-01 14:33:26 -05:00
parent f587a70155
commit 37d57eee14
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146
2 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View File

@ -1853,6 +1853,7 @@ dependencies = [
"serde",
"time",
"tokio",
"tower",
"wasm-bindgen",
]

View File

@ -43,6 +43,7 @@ pbkdf2 = { version = "0.12.2", features = ["simple"], optional = true }
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 }
[features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
@ -66,6 +67,7 @@ ssr = [
"futures",
"tokio",
"axum",
"tower",
]
# Defines a size-optimized profile for the WASM bundle in release mode