feat: add logic for journey->train identifier resolving, add recording of journeys, build api bearer auth

This commit is contained in:
2025-05-11 01:12:23 +02:00
parent 6b389e2d95
commit 41651dac21
25 changed files with 2833 additions and 125 deletions

View File

@ -4,4 +4,22 @@ version = "0.1.0"
edition = "2021"
[dependencies]
sqlx = { version = "0.8.2", features = ["postgres", "runtime-tokio-rustls", "any"] }
sqlx = { version = "0.8.5", features = ["postgres", "runtime-tokio-rustls", "any", "macros", "uuid", "chrono"] }
uuid = { version = "1.16.0", features = ["v4"] }
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.140"
url = { version = "2.5.2", features = ["serde"] }
urlencoding = "2.1.3"
config = "0.15.11"
openidconnect = "3.5.0"
tokio = { version = "1.45.0", features = ["full"] }
axum = { version = "0.8.4", features = ["tracing", "multipart", "macros", "http2"] }
axum-core = { version = "0.5.2", features = ["tracing"] }
axum-extra = { version = "0.10.1", features = ["cookie", "form"] }
axum-auth = { version = "0.8.1", features = ["auth-bearer"] }
reqwest = { version = "0.12.15", features = ["json"] }
strum = { version = "0.27.1", features = ["derive"] }
strum_macros = "0.27.1"
chrono = { version = "0.4.41", features = ["alloc"] }
async-trait = "0.1.88"