Implement shutdown signal in main.rs

This commit is contained in:
Mathias Wagner
2025-09-09 10:38:24 +02:00
parent efe4549f82
commit 5a9e1e2e2b
2 changed files with 33 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ edition = "2021"
[dependencies]
axum = "0.8.4"
tokio = { version = "1.47.1", features = ["full"] }
tokio = { version = "1.47.1", features = ["full", "signal"] }
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "sqlite", "chrono", "uuid"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"