# 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.5.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Arrow Flight SQL server and health probe for Jammi AI"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/f-inverse/jammi-ai"

[features]
cuda = [
    "dep:jammi-ai",
    "jammi-ai/cuda",
]
metal = [
    "dep:jammi-ai",
    "jammi-ai/metal",
]

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

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

[dependencies.arrow]
version = "57"

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

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

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

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

[dependencies.axum]
version = "0.8"

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

[dependencies.datafusion]
version = "52.3"

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

[dependencies.futures]
version = "0.3"

[dependencies.jammi-ai]
version = "0.5.0"
optional = true

[dependencies.jammi-engine]
version = "0.5.0"

[dependencies.prost]
version = "0.14"

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

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

[dependencies.serde_json]
version = "1"

[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.tracing]
version = "0.1"

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

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

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

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

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

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

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

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