[[bench]]
harness = false
name = "metrics_export"

[[bench]]
harness = false
name = "metrics_recording"

[[bench]]
harness = false
name = "gateway_e2e"

[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"
aws-smithy-types = "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"
hex = "0.4"
num-bigint = "0.4.6"
num_cpus = "1.16.0"
once_cell = "1.19.0"
redis = "1.0.2"
regex = "1.11"
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"
tracing-appender = "0.2.4"
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",
    "env",
]
version = "4.3.7"

[dependencies.console-subscriber]
optional = true
version = "0.4.1"

[dependencies.deadpool-postgres]
optional = true
version = "0.14"

[dependencies.humantime]
optional = true
version = "2.3"

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

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

[dependencies.rust_decimal]
features = [
    "serde",
    "serde-with-float",
]
version = "1.37.2"

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

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

[dependencies.tokio]
features = [
    "full",
    "tracing",
]
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.tokio-util]
features = ["rt"]
version = "0.7"

[dependencies.tracing-loki]
optional = true
version = "0.2.6"

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

[dependencies.url]
optional = true
version = "2"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"

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

[features]
cdc = ["dep:axum"]
deadpool_experimental = ["dep:deadpool-postgres"]
default = [
    "cdc",
    "deadpool_experimental",
    "provisioning",
    "s3_backups",
    "execution_window_experimental",
    "metrics",
    "pipelines",
    "webhooks",
    "vacuum_health",
    "wss",
    "storage",
    "tokio-console",
]
execution_window_experimental = []
loki = [
    "dep:tracing-loki",
    "dep:url",
]
metrics = []
pipelines = []
provisioning = []
s3_backups = []
storage = ["s3_backups"]
tokio-console = [
    "dep:console-subscriber",
    "dep:humantime",
]
vacuum_health = []
webhooks = []
wss = []

[package]
authors = ["floris@xylex.group"]
description = "Hyper performant polyglot Database driver"
documentation = "https://athena-db.com/docs"
edition = "2024"
include = [
    "/src/**",
    "/sql/**",
    "/benches/**",
    "/examples/**",
    "/tests/sequin.rs",
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.md",
    "/CHANGELOG.md",
    "/config.yaml",
    "/config/pipelines.yaml",
    "/openapi.yaml",
    "/openapi-wss.yaml",
]
license = "MIT"
name = "athena_rs"
rust-version = "1.85"
version = "3.6.1"

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