Skip to content

Commit

Permalink
Axum removed the axum::Server re-export
Browse files Browse the repository at this point in the history
  • Loading branch information
Gentle committed Dec 13, 2023
1 parent b578ec8 commit 840d2d3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions integrations/axum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ pub async fn generate_request_and_parts(
/// .route("/api/*fn_name", post(leptos_axum::handle_server_fns));
///
/// // run our app with hyper
/// // `axum::Server` is a re-export of `hyper::Server`
/// axum::Server::bind(&addr)
/// hyper::Server::bind(&addr)
/// .serve(app.into_make_service())
/// .await
/// .unwrap();
Expand Down Expand Up @@ -442,8 +441,7 @@ pub type PinnedHtmlStream =
/// ));
///
/// // run our app with hyper
/// // `axum::Server` is a re-export of `hyper::Server`
/// axum::Server::bind(&addr)
/// hyper::Server::bind(&addr)
/// .serve(app.into_make_service())
/// .await
/// .unwrap();
Expand Down Expand Up @@ -543,8 +541,7 @@ where
/// ));
///
/// // run our app with hyper
/// // `axum::Server` is a re-export of `hyper::Server`
/// axum::Server::bind(&addr)
/// hyper::Server::bind(&addr)
/// .serve(app.into_make_service())
/// .await
/// .unwrap();
Expand Down Expand Up @@ -1011,8 +1008,7 @@ fn provide_contexts(
/// ));
///
/// // run our app with hyper
/// // `axum::Server` is a re-export of `hyper::Server`
/// axum::Server::bind(&addr)
/// hyper::Server::bind(&addr)
/// .serve(app.into_make_service())
/// .await
/// .unwrap();
Expand Down

0 comments on commit 840d2d3

Please sign in to comment.