mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Some initial implementation. * Read prepared state during hydration. * Decode each state with bincode. * Feature gate prepared state. * Update documentation. * Switch from base64 to String. * cargo +nightly fmt. * Fix test. * Add some tests. * Minor adjustments. * Remove unused marker. * Update example. * Add use_transitive_state. * Remove unused dead code notation. * Opt for better code size. * Add tests for use_transitive_state. * Fix cargo fmt. * Fix rustdoc. * Asynchronously decode data during hydration. * Fix feature flags. * Fix docs. * Feature flags on ssr_router. * Adjust workflow to reflect feature flags. * Fix features. * Restore wasm-bindgen-futures to be wasm32 only. * Revert wasm-bindgen-futures. * Second attempt to remove wasm-bindgen-futures. * Remove spaces as well. * Address reviews. * Better diagnostic message. * Update diagnostic messages.
31 lines
824 B
TOML
31 lines
824 B
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
|
|
|
|
[dependencies]
|
|
yew = { path = "../../packages/yew" }
|
|
function_router = { path = "../function_router" }
|
|
log = "0.4"
|
|
|
|
[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.15.0", features = ["full"] }
|
|
axum = "0.5"
|
|
tower = { version = "0.4", features = ["make"] }
|
|
tower-http = { version = "0.3", features = ["fs"] }
|
|
env_logger = "0.9"
|
|
num_cpus = "1.13"
|
|
tokio-util = { version = "0.7", features = ["rt"] }
|
|
once_cell = "1.5"
|
|
clap = { version = "3.1.7", features = ["derive"] }
|
|
|
|
[features]
|
|
ssr = ["yew/ssr"]
|
|
hydration = ["yew/hydration"]
|