[package]
name = "freeorion-test-web"
version = "0.1.0"
authors = ["O01eg <o01eg@yandex.ru>"]
edition = "2021"
resolver = "2"

[features]
non-proxied = ["actix-files"]

[dependencies]
clap = "4.0"
serde = "1.0"
serde_derive = "1.0"
toml = "0.8"
actix-files = { version = "0.6.0", optional = true }
awc = "3.0.0"
log = "0.4"
env_logger = "0.11"
handlebars = "6.0"
deadpool-postgres = "0.14"
ttl_cache = "0.5"
tokio = "1.15"
chrono = "0.4"
pct-str = "2.0"
sha2 = "0.10.2"
base64 = "0.22"

[dependencies.uuid]
version = "1.0" # for tokio-postgres
features = ["serde", "v4"]

[dependencies.tokio-postgres]
version = "0.7.7"
features = ["with-uuid-1", "with-chrono-0_4"]

[dependencies.lettre]
version = "0.11"
default-features = false
features = ["hostname", "tokio1", "tokio1-rustls-tls", "smtp-transport", "builder"]

[dependencies.actix-web]
version = "4.2.1"
features = ["secure-cookies"]