# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "athena_rs"
version = "2.5.0"
authors = ["floris@xylex.group"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database gateway API"
documentation = "https://athena-db.com/docs"
readme = "README.md"
license = "MIT"

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

[lib]
name = "athena_rs"
path = "src/lib.rs"

[[bin]]
name = "athena_rs"
path = "src/main.rs"

[[example]]
name = "athena_client_sdk"
path = "examples/athena_client_sdk.rs"

[[example]]
name = "supabase_health_tracking"
path = "examples/supabase_health_tracking.rs"

[[test]]
name = "api_keys"
path = "tests/api_keys.rs"

[[test]]
name = "backup"
path = "tests/backup.rs"

[[test]]
name = "cache"
path = "tests/cache.rs"

[[test]]
name = "column_resolver"
path = "tests/column_resolver.rs"

[[test]]
name = "error"
path = "tests/error.rs"

[[test]]
name = "fetch"
path = "tests/fetch.rs"

[[test]]
name = "gateway"
path = "tests/gateway.rs"

[[test]]
name = "headers"
path = "tests/headers.rs"

[[test]]
name = "health"
path = "tests/health.rs"

[[test]]
name = "join_e2e"
path = "tests/join_e2e.rs"

[[test]]
name = "management"
path = "tests/management.rs"

[[test]]
name = "openapi"
path = "tests/openapi.rs"

[[test]]
name = "provision"
path = "tests/provision.rs"

[[test]]
name = "provision_api"
path = "tests/provision_api.rs"

[[test]]
name = "schema"
path = "tests/schema.rs"

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

[[test]]
name = "sqlx_driver"
path = "tests/sqlx_driver.rs"

[[test]]
name = "supabase_client"
path = "tests/supabase_client.rs"

[[test]]
name = "table_id_map"
path = "tests/table_id_map.rs"

[dependencies.actix-cors]
version = "0.7.0"

[dependencies.actix-files]
version = "0.6.6"

[dependencies.actix-service]
version = "2.0.3"

[dependencies.actix-web]
version = "4.8.0"

[dependencies.anyhow]
version = "1.0.86"

[dependencies.async-trait]
version = "0.1.70"

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

[dependencies.aws-sdk-s3]
version = "1"

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

[dependencies.bigdecimal]
version = "0.4.8"

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

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

[dependencies.colored]
version = "3.0.0"

[dependencies.csv]
version = "1.4"

[dependencies.dirs]
version = "5.0"

[dependencies.dotenv]
version = "0.15.0"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3.31"

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

[dependencies.num-bigint]
version = "0.4.6"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.redis]
version = "1.0.2"

[dependencies.regex]
version = "1.11"

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

[dependencies.rust_decimal]
version = "1.37.2"

[dependencies.scylla]
version = "1.1.0"

[dependencies.sentry]
version = "0.36.0"

[dependencies.sentry-tracing]
version = "0.36.0"

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

[dependencies.serde_json]
version = "1.0.111"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha256]
version = "1.4.0"

[dependencies.socket2]
version = "0.6.1"

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

[dependencies.strsim]
version = "0.11.1"

[dependencies.supabase_rs]
version = "0.5.1"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "1.0.44"

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

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

[dependencies.tracing]
version = "0.1.40"

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

[dependencies.uuid]
version = "1.16.0"

[dependencies.which]
version = "4.4"

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