[workspace]
resolver = "2"
members = [
    "services/cms-service",
    "services/lms-service",
    "shared/common",
]

[workspace.package]
version = "0.1.0"
edition = "2024"
authors = ["Juan Enrique Allende Cifuentes <juan.allende@gmail.com>"]

[workspace.dependencies]
axum = { version = "0.8", features = ["multipart"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "mysql", "chrono", "uuid"] }
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
jsonwebtoken = "9.3"
bcrypt = "0.17"
dotenvy = "0.15"
tower-http = { version = "0.6", features = ["cors", "trace", "fs", "set-header"] }
reqwest = { version = "0.12", features = ["json", "multipart"] }
hmac = "0.12"
sha2 = "0.10"
hex = "0.4"
openidconnect = { version = "3.5", features = ["reqwest"] }
anyhow = "1.0"
utoipa = { version = "5", features = ["axum_extras", "chrono", "uuid"] }
thiserror = "2.0"
tower_governor = "0.7"
http = "1.3"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
