Building fullstack applications with Rust is powerful, but version transitions and crate interoperability can be a minefield. This skill provides expert-level guidance for Dioxus 0.7.3 integrated with Axum 0.8, ensuring your agent writes modern, idiomatic, and bug-free Rust code.
This skill handles the nuances of the Dioxus 0.7 lifecycle, including the removal of cx and Scope, the move to Signal-based state management, and the implementation of type-safe server functions. It covers:
Modern Dioxus 0.7 Patterns: use_signal, use_server_future, and #[component] macros.
Fullstack Integration: Bridging Axum 0.8 middleware, tower-sessions, and sqlx queries.
Cross-Platform Safety: Proper cfg gating for WASM vs. Server targets and asset! management.
Authentication & State: Context providers, global signals, and secure session handling.
Standard LLMs often hallucinate deprecated Dioxus 0.6 syntax or struggle with the specific feature-flag requirements of fullstack Rust projects. This skill prevents “trait not satisfied” errors and compilation failures by enforcing strict architectural patterns, such as avoiding compile-time sqlx macros and correctly handling async suspensions during SSR.