# 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"
name = "lake-client"
version = "0.1.5-alpha.2"
authors = ["TiDB Cloud Authors <engineering@tidbcloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TiDB Cloud Lake Client for Rust"
readme = "README.md"
keywords = [
    "lake",
    "tidbcloud",
    "database",
    "sdk",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/tidbcloud/lakesql"

[features]
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]

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

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

[dependencies.arrow-array]
version = "56"

[dependencies.arrow-ipc]
version = "56"
features = [
    "lz4",
    "zstd",
]

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.10.1"

[dependencies.cookie]
version = "0.18.1"

[dependencies.jiff]
version = "0.2.10"
features = ["tzdb-bundle-always"]

[dependencies.log]
version = "0.4"
features = ["kv"]

[dependencies.once_cell]
version = "1.21"

[dependencies.parking_lot]
version = "0.12.3"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "multipart",
    "stream",
    "cookies",
]
default-features = false

[dependencies.semver]
version = "1.0.14"

[dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.tokio]
version = "1.44"
features = [
    "macros",
    "rt-multi-thread",
]

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

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

[dependencies.tokio-util]
version = "0.7"
features = ["io-util"]

[dependencies.url]
version = "2.5"
default-features = false

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

[dev-dependencies.chrono]
version = "0.4.40"
features = ["clock"]
default-features = false
