Files
services_manager_server/Cargo.toml
Bulat Kurbanov 36124043b6 Run SQLx migrations at startup
Add an initial services table migration and enable the sqlx
"migrate" feature. Introduce run_migrations in db.rs, run
migrations on startup, and pass the PgPool into the router.
2026-01-16 10:35:45 +01:00

38 lines
867 B
TOML

[package]
name = "services_manager_server"
version = "0.1.0"
edition = "2021"
[profile.release]
opt-level = 3
debug = false
strip = true
lto = true
codegen-units = 1
panic = 'abort'
[profile.profiling]
inherits = "release"
debug = true
strip = false
[dependencies]
once_cell = "1.21.1"
serde = { version = "1.0.219", features = ["derive"] }
tokio = { version = "1.44.2", features = ["full"] }
axum = { version = "0.8.1", features = ["json"] }
axum-prometheus = "0.9.0"
chrono = { version = "0.4.40", features = ["serde"] }
sentry = { version = "0.42.0", features = ["debug-images"] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"]}
sentry-tracing = "0.42.0"
tower-http = { version = "0.6.2", features = ["trace"] }
sqlx = { version = "0.8.3", features = ["runtime-tokio", "postgres", "macros", "chrono", "migrate"] }