# 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.70"
name = "databricks-zerobus-ingest-sdk"
version = "1.0.1"
authors = ["Databricks"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance Rust client for streaming data ingestion into Databricks Delta tables using the Zerobus service"
documentation = "https://docs.rs/databricks-zerobus-ingest-sdk"
readme = "README.md"
keywords = [
    "databricks",
    "delta",
    "streaming",
    "ingestion",
    "zerobus",
]
categories = [
    "database",
    "api-bindings",
]
license-file = "LICENSE"
repository = "https://github.com/databricks/zerobus-sdk"

[features]
arrow-flight = [
    "dep:arrow-flight",
    "dep:arrow-array",
    "dep:arrow-schema",
    "dep:arrow-ipc",
    "dep:futures",
]
default = []
testing = []

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

[dependencies.arrow-array]
version = "56.2.0"
optional = true
default-features = false

[dependencies.arrow-flight]
version = "56.2.0"
optional = true
default-features = false

[dependencies.arrow-ipc]
version = "56.2.0"
features = [
    "lz4",
    "zstd",
]
optional = true
default-features = false

[dependencies.arrow-schema]
version = "56.2.0"
optional = true
default-features = false

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

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.hyper-http-proxy]
version = "1.1"
default-features = false

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "tokio",
]

[dependencies.prost]
version = "0.13.3"

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.smallvec]
version = "1.15.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.42.0"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "sync",
]

[dependencies.tokio-retry]
version = "0.3"

[dependencies.tokio-stream]
version = "0.1.16"

[dependencies.tokio-util]
version = "0.7.17"
features = ["rt"]

[dependencies.tonic]
version = "0.13"
features = [
    "tls-native-roots",
    "transport",
]

[dependencies.tracing]
version = "0.1.41"

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

[build-dependencies.protoc-bin-vendored]
version = "3.0.0"

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