codify "platform" into resolution logic, server-fn/fullstack overhaul (#4596)

overhaul dioxus fullstack using a new implementation of server_fn

This PR is a complete rewrite of dioxus fullstack designed to improve compatibility with axum and to fix a number of compilation errors based on feature flag unification plumbing through macros.
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-10-03 18:26:19 -07:00
1 parent 8421c3aef0
commit f2b1c6d97f
424 files changed
+17284 -6624

No files matched your search

+17
View File
@@ -16,6 +16,23 @@ impl ExprNode {
impl Parse for ExprNode {
fn parse(input: syn::parse::ParseStream) -> syn::Result<Self> {
// // If it's a single-line expression, we want to parse it without braces, fixing some issues with rust 2024 lifetimes
// use syn::braced;
// let forked = input.fork();
// if forked.peek(syn::token::Brace) {
// let content;
// let _brace = braced!(content in forked);
// let as_expr: Result<syn::Expr, syn::Error> = content.parse();
// if as_expr.is_ok() && content.is_empty() {
// let content;
// let _brace = braced!(content in input);
// return Ok(Self {
// expr: content.parse()?,
// dyn_idx: DynIdx::default(),
// });
// }
// }
Ok(Self {
expr: input.parse()?,
dyn_idx: DynIdx::default(),