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

+2 -4
View File
@@ -354,7 +354,7 @@ fn is_main_thread() -> bool {
/// # }
/// ```
pub struct PendingDesktopContext {
pub(crate) receiver: tokio::sync::oneshot::Receiver<DesktopContext>,
pub(crate) receiver: futures_channel::oneshot::Receiver<DesktopContext>,
}
impl PendingDesktopContext {
@@ -366,9 +366,7 @@ impl PendingDesktopContext {
}
/// Try to resolve the pending context into a [`DesktopContext`].
pub async fn try_resolve(
self,
) -> Result<DesktopContext, tokio::sync::oneshot::error::RecvError> {
pub async fn try_resolve(self) -> Result<DesktopContext, futures_channel::oneshot::Canceled> {
self.receiver.await
}
}