Rust Build / Check (pull_request) Successful in 1m5s
Rust Build / Rustfmt (pull_request) Failing after 27s
Rust Build / Test Suite (pull_request) Successful in 1m39s
Rust Build / Clippy (pull_request) Successful in 1m34s
Rust Build / build (pull_request) Successful in 1m54s
13 lines
381 B
Rust
13 lines
381 B
Rust
#[tokio::main]
|
|
async fn main() {
|
|
// initialize tracing
|
|
tracing_subscriber::fmt::init();
|
|
|
|
let app = textsender_auth::init::app().await;
|
|
|
|
// run our app with hyper, listening globally on port 9080
|
|
let url = textsender_auth::config::get_full();
|
|
let listener = tokio::net::TcpListener::bind(url).await.unwrap();
|
|
axum::serve(listener, app).await.unwrap();
|
|
}
|