# 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 = "2021"
rust-version = "1.88.0"
name = "jammi-server"
version = "0.40.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OSS Jammi server binary: Arrow Flight SQL, SessionService, TriggerService, and health/metrics endpoints"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/f-inverse/jammi-ai"

[features]
cuda = ["jammi-ai/cuda"]
default = ["train"]
jetstream-broker = ["jammi-db/jetstream-broker"]
metal = ["jammi-ai/metal"]
storage-azure = ["jammi-db/storage-azure"]
storage-cloud = ["jammi-db/storage-cloud"]
storage-gcs = ["jammi-db/storage-gcs"]
storage-r2 = ["jammi-db/storage-r2"]
storage-s3 = ["jammi-db/storage-s3"]
train = []

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

[[bin]]
name = "jammi-server"
path = "src/main.rs"

[[test]]
name = "it"
path = "tests/it/main.rs"

[dependencies.arrow]
version = "57"

[dependencies.arrow-flight]
version = "57"
features = ["flight-sql"]

[dependencies.arrow-schema]
version = "57"

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

[dependencies.axum]
version = "0.8"

[dependencies.bytes]
version = "1"

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

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

[dependencies.datafusion]
version = "52.3"

[dependencies.datafusion-flight-sql-server]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.http-body]
version = "1"

[dependencies.jammi-ai]
version = "0.40.0"

[dependencies.jammi-db]
version = "0.40.0"

[dependencies.jammi-numerics]
version = "0.40.0"

[dependencies.jammi-wire]
version = "0.40.0"

[dependencies.pin-project]
version = "1"

[dependencies.prometheus]
version = "0.14"
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tonic]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tonic-web]
version = "0.14"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
    "serde",
]

[dev-dependencies.arrow-ipc]
version = "57"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.hmac]
version = "0.12"

[dev-dependencies.jammi-admin]
version = "0.40.0"

[dev-dependencies.jammi-client]
version = "0.40.0"

[dev-dependencies.parquet]
version = "57"
features = ["object_store"]

[dev-dependencies.prost]
version = "0.14"

[dev-dependencies.prost-types]
version = "0.14"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.44"
features = ["full"]
