[package] name = "backend" version = { workspace = true } edition = { workspace = true } [dependencies] migration = { workspace = true } actix-web = "4" actix-session = { version = "0.10", features = ["redis-session"] } actix-cors = "0.7" actix-files = "0.6" tracing-actix-web = "0.7.16" argon2 = "0.5.3" thiserror = "2" env_logger = "0.11" log = "0.4" serde = { version = "1", features = ["derive"] } validator = { version = "0.20.0", features = ["derive"] } sea-orm = { version = "1.1", features = [ "sqlx-postgres", "runtime-tokio-rustls", "macros", ] } uuid = "1" utoipa = { version = "*", features = ["actix_extras", "chrono", "uuid"] } # utoipa-actix-web = "*" # TODO: Test this for better actix-web integration utoipa-swagger-ui = { version = "*", features = ["actix-web"] } dotenvy = "0.15" [dev-dependencies] temp-env = "*" serial_test = "*" tokio = { version = "1", features = ["time"] } serde_json = "1" lazy_static = "1.5" # Testcontainers testcontainers = { version = "0.24" } testcontainers-modules = { version = "0.12.1", features = [ "redis", "postgres", ] } # Only needed for tests right now rand = "*" [features] serve = [] [[bin]] name = "backend" path = "src/main.rs" [lints.clippy] all = "warn"