Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to axum 0.8.x breaks DioxusRouterExt #3479

Open
jsbaudler opened this issue Jan 1, 2025 · 0 comments
Open

Upgrade to axum 0.8.x breaks DioxusRouterExt #3479

jsbaudler opened this issue Jan 1, 2025 · 0 comments
Labels
dependencies Pull requests that update a dependency file fullstack related to the fullstack crate

Comments

@jsbaudler
Copy link

jsbaudler commented Jan 1, 2025

Problem

After upgrading to axum 0.8.x, the serve_dioxus_application method is no longer found on Router, breaking Dioxus fullstack applications.

Steps To Reproduce

Steps to reproduce the behavior:

  • Update axum to 0.8 in Cargo.toml
  • Run cargo build on a project using serve_dioxus_application
  • Observe compiler error:
error[E0599]: no method named `serve_dioxus_application` found for type `Router` in the current scope
   |
   |     .serve_dioxus_application(ServeConfigBuilder::default(), App);
   |     -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Router<_>`

Expected behavior

serve_dioxus_application should remain available after upgrading axum, allowing seamless server setup of Dioxus applications.

Environment:

  • Dioxus version: 0.6.1
  • Rust version: 1.83.0
  • OS info: MacOS
  • App platform: web

Announcing axum 0.8.0

@ealmloff ealmloff added dependencies Pull requests that update a dependency file fullstack related to the fullstack crate labels Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file fullstack related to the fullstack crate
Projects
None yet
Development

No branches or pull requests

2 participants