yew/examples/ssr_router/Cargo.toml
dependabot[bot] 8d64ce0e00
Bump tokio from 1.43.0 to 1.43.1 (#3840)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.43.0 to 1.43.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.43.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.43.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 17:54:03 +09:00

42 lines
1.1 KiB
TOML

[package]
name = "ssr_router"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "ssr_router_hydrate"
required-features = ["hydration"]
[[bin]]
name = "ssr_router_server"
required-features = ["ssr"]
[dependencies]
yew = { path = "../../packages/yew" }
function_router = { path = "../function_router" }
log = "0.4"
futures = { version = "0.3", features = ["std"], default-features = false }
hyper-util = "0.1.9"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
wasm-logger = "0.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.43.1", features = ["full"] }
axum = "0.8"
tower = { version = "0.5", features = ["make"] }
tower-http = { version = "0.6", features = ["fs"] }
env_logger = "0.11"
clap = { version = "4", features = ["derive"] }
hyper = { version = "1.4", features = ["server", "http1"] }
[target.'cfg(unix)'.dependencies]
jemallocator = "0.5"
[features]
ssr = ["yew/ssr"]
hydration = ["yew/hydration"]