upgrade dependencies

This commit is contained in:
2024-11-23 16:22:28 +01:00
parent 418c23d4cb
commit c0bf4e1079
3 changed files with 300 additions and 174 deletions

View File

@@ -29,8 +29,8 @@ async fn main() {
// run it with hyper
let addr = SocketAddr::from(([127, 0, 0, 1], 3067));
axum::Server::bind(&addr)
.serve(app.into_make_service())
let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();
axum::serve(listener, app.into_make_service())
.await
.unwrap();
}