# 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 = "ailake-catalog"
version = "0.0.23"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Iceberg Spec v2 catalog backends (Hadoop, REST, Glue, Nessie, JDBC) for AI-Lake"
readme = false
keywords = [
    "iceberg",
    "catalog",
    "lakehouse",
    "parquet",
    "metadata",
]
categories = [
    "database",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ThiagoLange/ai-lakehouse"

[features]
catalog-glue = [
    "dep:aws-sdk-glue",
    "dep:aws-config",
]
catalog-jdbc = ["dep:sqlx"]
catalog-nessie = ["rest-catalog"]
rest-catalog = ["dep:reqwest"]

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

[dependencies.ailake-core]
version = "0.0.23"

[dependencies.ailake-store]
version = "0.0.23"

[dependencies.apache-avro]
version = "0.16"

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

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

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

[dependencies.aws-config]
version = "1"
features = ["behavior-version-latest"]
optional = true

[dependencies.aws-sdk-glue]
version = "1"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.parquet]
version = "52"
features = ["async"]

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

[dependencies.roaring]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls",
    "postgres",
    "mysql",
    "sqlite",
    "any",
]
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "io-util",
    "fs",
    "sync",
    "time",
    "macros",
]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "io-util",
    "fs",
    "sync",
    "time",
    "macros",
]
