diff --git a/Cargo.toml b/Cargo.toml index 29b2ac4..df9da5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,18 @@ [package] -name = "user-server" +name = "test_exercise" version = "0.1.0" edition = "2024" + + [dependencies] +axum = {version = "0.8.4", features = ["macros"]} +tokio = {version = "1.47.1", features = ["full"]} +utoipa = "5.4.0" +sqlx = {version = "0.6.0", features = ["runtime-tokio-native-tls","postgres"]} +config = "0.15.6" +utoipa-axum = {version = "0.2.0" } +utoipa-scalar = { version = "0.3", features = ["axum"] } +tracing = "0.1.41" +serde = "1.0.228" +tracing-subscriber = "0.3.20" diff --git a/src/main.rs b/src/main.rs index e7a11a9..c7eaf09 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,6 @@ -fn main() { - println!("Hello, world!"); +use test_exercise::router; + +#[tokio::main] +async fn main() { + router().await; }