# 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 = "arrow-tiberius"
version = "0.1.4"
build = false
include = [
    "Cargo.lock",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "src/**",
    "tests/**",
    "examples/**",
    "docs/README.md",
    "docs/benchmarks.md",
    "docs/integration-tests.md",
    "docs/observability.md",
    "docs/type-mapping.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apache Arrow and SQL Server bridge through Tiberius"
documentation = "https://docs.rs/arrow-tiberius"
readme = "README.md"
keywords = [
    "arrow",
    "sql-server",
    "tiberius",
    "tds",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/mag1cfrog/arrow-tiberius"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bench-profile = ["tiberius/bulk-load-profile"]
integration-tests = []

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

[[example]]
name = "backend_selection"
path = "examples/backend_selection.rs"

[[example]]
name = "planning_diagnostics"
path = "examples/planning_diagnostics.rs"

[[example]]
name = "policy_dependent_planning"
path = "examples/policy_dependent_planning.rs"

[[example]]
name = "schema_to_ddl"
path = "examples/schema_to_ddl.rs"

[[example]]
name = "sqlserver_batch_write"
path = "examples/sqlserver_batch_write.rs"

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

[dependencies.arrow-array]
version = "58.3.0"
features = ["chrono-tz"]

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

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

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

[dependencies.futures-util]
version = "0.3"
features = ["io"]
default-features = false

[dependencies.snafu]
version = "0.9.1"

[dependencies.tiberius]
version = "=0.12.3-raw-bulk.14"
features = [
    "tds73",
    "winauth",
    "native-tls",
]
default-features = false
package = "tiberius-raw-bulk"

[dependencies.tokio]
version = "1"
features = ["net"]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.arrow-data]
version = "58.3.0"

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

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "std",
]
default-features = false

[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
