[dependencies]
actix-cors = "0.7.0"
actix-files = "0.6.6"
actix-service = "2.0.3"
actix-web = "4.8.0"
anyhow = "1.0.86"
async-trait = "0.1.70"
aws-sdk-s3 = "1"
bigdecimal = "0.4.8"
colored = "3.0.0"
csv = "1.4"
dirs = "5.0"
dotenv = "0.15.0"
flate2 = "1.0"
futures = "0.3.31"
num-bigint = "0.4.6"
num_cpus = "1.16.0"
once_cell = "1.19.0"
redis = "1.0.2"
regex = "1.11"
rust_decimal = "1.37.2"
scylla = "1.1.0"
sentry = "0.36.0"
sentry-tracing = "0.36.0"
serde_json = "1.0.111"
serde_urlencoded = "0.7.1"
serde_yaml = "0.9.34"
sha256 = "1.4.0"
socket2 = "0.6.1"
strsim = "0.11.1"
supabase_rs = "0.5.1"
tar = "0.4"
thiserror = "1.0.44"
tracing = "0.1.40"
uuid = "1.16.0"
which = "4.4"

[dependencies.aws-config]
features = ["behavior-version-latest"]
version = "1"

[dependencies.axum]
features = [
    "ws",
    "json",
]
optional = true
version = "0.7"

[dependencies.chrono]
features = ["serde"]
version = "0.4"

[dependencies.clap]
features = ["derive"]
version = "4.3.7"

[dependencies.moka]
features = ["future"]
version = "0.12.7"

[dependencies.reqwest]
features = [
    "json",
    "blocking",
    "rustls-tls",
]
version = "0.12.4"

[dependencies.serde]
features = ["derive"]
version = "1.0.196"

[dependencies.sqlx]
features = [
    "runtime-tokio-rustls",
    "postgres",
    "macros",
    "uuid",
    "chrono",
]
version = "0.8.6"

[dependencies.tokio]
features = ["full"]
version = "1.38.1"

[dependencies.tokio-postgres]
features = [
    "array-impls",
    "with-chrono-0_4",
    "with-serde_json-1",
    "with-uuid-1",
]
version = "0.7.13"

[dependencies.tracing-subscriber]
features = [
    "env-filter",
    "time",
    "chrono",
    "ansi",
]
version = "0.3"

[dev-dependencies.testcontainers]
features = ["blocking"]
version = "0.21"

[features]
cdc = ["dep:axum"]
default = ["cdc"]

[package]
authors = ["floris@xylex.group"]
description = "Database gateway API"
documentation = "https://athena-db.com/docs"
edition = "2024"
license = "MIT"
name = "athena_rs"
version = "2.5.0"

[[test]]
name = "sequin"
path = "tests/sequin.rs"
required-features = ["cdc"]
