# 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.92"
name = "skade"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast Apache Iceberg table writing/reading (incl. identity-partitioned writes) and ergonomic DataFusion SQL over an embedded, pure-Rust catalog (nornir-catalog). Arrow RecordBatch in, SQL out."
readme = "README.md"
keywords = [
    "iceberg",
    "datafusion",
    "arrow",
    "sql",
    "warehouse",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://codeberg.org/nordisk/nornir-catalog"

[features]
default = []
sql = [
    "dep:datafusion",
    "dep:iceberg-datafusion",
]

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

[[test]]
name = "bridge"
path = "tests/bridge.rs"

[[test]]
name = "partition"
path = "tests/partition.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.datafusion]
version = "52.2"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.iceberg]
version = "0.9.1"

[dependencies.iceberg-datafusion]
version = "0.9.1"
optional = true

[dependencies.nornir-catalog]
version = "0.1.4"

[dependencies.parquet]
version = "57"

[dependencies.rayon]
version = "1"

[dependencies.thiserror]
version = "1"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.criterion]
version = "0.5"

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

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