[workspace]
members = ["xtask"]
exclude = ["xtask/arrow-odbc-runner", "xtask/odbc-bcp-runner"]
resolver = "3"
[workspace.lints.rust]
missing_docs = "deny"
[workspace.lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
[package]
name = "arrow-sql-server"
version = "0.3.1"
edition = "2024"
rust-version = "1.88"
license = "Apache-2.0"
repository = "https://github.com/mag1cfrog/arrow-sql-server"
documentation = "https://docs.rs/arrow-sql-server"
homepage = "https://github.com/mag1cfrog/arrow-sql-server"
description = "High-performance Apache Arrow RecordBatch bulk writer for Microsoft SQL Server."
readme = "README.md"
keywords = ["arrow", "sql-server", "tiberius", "tds"]
categories = ["database"]
include = [
"Cargo.lock",
"Cargo.toml",
"LICENSE",
"README.md",
"src/**",
"tests/**",
"examples/**",
"docs/README.md",
"docs/benchmarks.md",
"docs/getting-started.md",
"docs/integration-tests.md",
"docs/observability.md",
"docs/performance.md",
"docs/type-mapping.md",
]
[lints]
workspace = true
[lib]
name = "arrow_sql_server"
path = "src/lib.rs"
[features]
bench-profile = ["tiberius/bulk-load-profile"]
integration-tests = []
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
arrow-array = { version = "58.3.0", features = ["chrono-tz"] }
arrow-buffer = "58.3.0"
arrow-schema = "58.3.0"
chrono = { version = "0.4.40", default-features = false }
futures-util = { version = "0.3", default-features = false, features = ["io"] }
snafu = "0.9.1"
tiberius = { package = "tiberius-raw-bulk", version = "=0.12.3-raw-bulk.15", default-features = false, features = [
"tds73",
"winauth",
"native-tls",
] }
tokio = { version = "1", default-features = false, features = ["net"] }
tokio-util = { version = "0.7", default-features = false, features = ["compat"] }
tracing = "0.1"
[dev-dependencies]
arrow-data = "58.3.0"
tokio = { version = "1", features = ["macros", "net", "rt"] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"registry",
"std",
] }