# 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"
rust-version = "1.88.0"
name = "ballista-core"
version = "52.0.0"
authors = ["Apache DataFusion <dev@datafusion.apache.org>"]
build = "build.rs"
exclude = ["*.proto"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ballista Distributed Compute"
homepage = "https://datafusion.apache.org/ballista/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/apache/datafusion-ballista"

[package.metadata.docs.rs]
rustc-args = [
    "--cfg",
    "docsrs",
]

[features]
arrow-ipc-optimizations = []
build-binary = [
    "aws-config",
    "aws-credential-types",
    "clap",
    "object_store",
]
default = ["arrow-ipc-optimizations"]
docsrs = []
force_hash_collisions = ["datafusion/force_hash_collisions"]
spark-compat = ["dep:datafusion-spark"]

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

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

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

[dependencies.aws-config]
version = "1.8.13"
optional = true

[dependencies.aws-credential-types]
version = "1.2.0"
optional = true

[dependencies.chrono]
version = "0.4"
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
]
optional = true

[dependencies.datafusion]
version = "52"

[dependencies.datafusion-proto]
version = "52"

[dependencies.datafusion-proto-common]
version = "52"

[dependencies.datafusion-spark]
version = "52"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.itertools]
version = "0.14"

[dependencies.log]
version = "0.4"

[dependencies.md-5]
version = "^0.10.0"

[dependencies.object_store]
version = "0.12"
features = [
    "aws",
    "http",
]
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.prost]
version = "0.14"

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

[dependencies.rand]
version = "0.9"

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

[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]

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

[dependencies.tonic]
version = "0.14"

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

[dependencies.url]
version = "2.5"

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

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

[build-dependencies.rustc_version]
version = "0.4.1"

[build-dependencies.tonic-build]
version = "0.14"
features = ["transport"]
default-features = false

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