mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-20 14:14:49 +01:00
refactor: cdk MSRV
This commit is contained in:
@@ -115,11 +115,14 @@ pub async fn start_mint(
|
||||
}
|
||||
});
|
||||
}
|
||||
let listener =
|
||||
tokio::net::TcpListener::bind(format!("{}:{}", LISTEN_ADDR, LISTEN_PORT)).await?;
|
||||
|
||||
println!("Starting mint");
|
||||
axum::serve(listener, mint_service).await?;
|
||||
axum::Server::bind(
|
||||
&format!("{}:{}", LISTEN_ADDR, LISTEN_PORT)
|
||||
.as_str()
|
||||
.parse()?,
|
||||
)
|
||||
.serve(mint_service.into_make_service())
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user