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.
8 lines
208 B
Rust
8 lines
208 B
Rust
#[allow(dead_code)]
|
|
#[rustversion::attr(stable(1.56), test)]
|
|
fn tests() {
|
|
let t = trybuild::TestCases::new();
|
|
t.pass("tests/hook_macro/*-pass.rs");
|
|
t.compile_fail("tests/hook_macro/*-fail.rs");
|
|
}
|