# 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"
name = "hdbconnect-arrow"
version = "0.3.11"
authors = ["Andrei G <andrei.g@my.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apache Arrow integration for hdbconnect SAP HANA driver"
readme = "README.md"
keywords = [
    "sap",
    "hana",
    "arrow",
    "database",
    "analytics",
]
categories = [
    "database",
    "api-bindings",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/bug-ops/pyhdb-rs"

[features]
async = ["dep:hdbconnect_async"]
default = []
profiling = ["dep:dhat"]
test-utils = ["dep:bigdecimal"]

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

[[bench]]
name = "conversion"
path = "benches/conversion.rs"
harness = false
required-features = ["test-utils"]

[dependencies.arrow]
version = "58.3"
features = [
    "ffi",
    "ipc",
]
default-features = false

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

[dependencies.arrow-buffer]
version = "58.0"

[dependencies.arrow-data]
version = "58.0"

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

[dependencies.bigdecimal]
version = "0.4"
optional = true

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

[dependencies.hdbconnect]
version = "0.32"

[dependencies.hdbconnect_async]
version = "0.32"
optional = true

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.criterion]
version = "4.3.0"
package = "codspeed-criterion-compat"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "warn"
unused_qualifications = "warn"
