diff --git a/Cargo.toml b/Cargo.toml deleted file mode 100644 index 33e3be6..0000000 --- a/Cargo.toml +++ /dev/null @@ -1,6 +0,0 @@ -[package] -name = "ticketsystem" -version = "0.1.0" -edition = "2024" - -[dependencies] diff --git a/backend/Cargo.toml b/backend/Cargo.toml new file mode 100644 index 0000000..c4c14c9 --- /dev/null +++ b/backend/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "backend" +version = "0.1.0" +edition = "2024" + +[dependencies] +axum = "0.8.9" +serde = { version = "1.0.228", features = ["derive"] } +sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio", "tls-native-tls"] } +tokio = { version = "1.52.1", features = ["tr-multi-thread", "macros"] } diff --git a/src/main.rs b/backend/src/main.rs similarity index 100% rename from src/main.rs rename to backend/src/main.rs