[package]
edition = "2024"
rust-version = "1.85.1"
name = "haybarn"
version = "1.10505.0-rc.1"
authors = [
"Query Farm LLC <hello@query.farm>",
"DuckDB Labs and contributors",
"wangfenjin <wangfenj@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Haybarn — an ergonomic Rust wrapper for the Haybarn engine, a derived distribution of DuckDB (powered by DuckDB)"
homepage = "https://github.com/Query-farm-haybarn/haybarn-rust"
documentation = "http://docs.rs/haybarn/"
readme = "README.md"
keywords = [
"haybarn",
"duckdb",
"database",
"ffi",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/Query-farm-haybarn/haybarn-rust"
[package.metadata.docs.rs]
features = [
"vtab-full",
"modern-full",
"vscalar",
"vscalar-arrow",
]
all-features = false
no-default-features = true
default-target = "x86_64-unknown-linux-gnu"
[package.metadata.playground]
features = []
all-features = false
[features]
appender-arrow = ["vtab-arrow"]
autocomplete = [
"libhaybarn-sys/autocomplete",
"bundled-cmake",
]
buildtime_bindgen = ["libhaybarn-sys/buildtime_bindgen"]
bundled = ["libhaybarn-sys/bundled"]
bundled-cmake = [
"bundled",
"libhaybarn-sys/bundled-cmake",
"parquet",
]
default = []
extensions-full = [
"json",
"parquet",
"vtab-full",
]
icu = [
"libhaybarn-sys/icu",
"bundled-cmake",
]
json = [
"libhaybarn-sys/json",
"bundled",
]
loadable-extension = [
"vtab",
"haybarn-loadable-macros",
"libhaybarn-sys/loadable-extension",
]
modern-full = [
"chrono",
"serde_json",
"url",
"r2d2",
"uuid",
"polars",
]
parquet = [
"libhaybarn-sys/parquet",
"bundled",
]
polars = [
"dep:polars",
"dep:polars-core",
]
tpcds = [
"libhaybarn-sys/tpcds",
"bundled-cmake",
]
tpch = [
"libhaybarn-sys/tpch",
"bundled-cmake",
]
vscalar = ["vtab-arrow"]
vscalar-arrow = []
vtab = []
vtab-arrow = [
"vtab",
"num",
]
vtab-excel = [
"vtab",
"calamine",
]
vtab-full = [
"vtab-excel",
"vtab-arrow",
"appender-arrow",
]
vtab-loadable = ["loadable-extension"]
[lib]
name = "haybarn"
path = "src/lib.rs"
[[example]]
name = "appender"
path = "examples/appender.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "haybarn_smoke"
path = "examples/haybarn_smoke.rs"
[[example]]
name = "hello-ext"
crate-type = ["cdylib"]
path = "examples/hello-ext/main.rs"
required-features = ["loadable-extension"]
[[example]]
name = "parquet"
path = "examples/parquet.rs"
[[example]]
name = "repl"
path = "examples/repl.rs"
[dependencies.arrow]
version = "58"
features = [
"prettyprint",
"ffi",
]
default-features = false
[dependencies.calamine]
version = "0.28.0"
optional = true
[dependencies.cast]
version = "0.3"
features = ["std"]
[dependencies.chrono]
version = "0.4.22"
features = [
"std",
"clock",
]
optional = true
default-features = false
[dependencies.comfy-table]
version = "~7.1"
[dependencies.fallible-iterator]
version = "0.3"
[dependencies.fallible-streaming-iterator]
version = "0.1"
[dependencies.hashlink]
version = "0.10"
[dependencies.haybarn-loadable-macros]
version = "=1.10505.0-rc.1"
optional = true
[dependencies.libhaybarn-sys]
version = "=1.10505.0-rc.1"
[dependencies.num]
version = "0.4"
features = ["std"]
optional = true
default-features = false
[dependencies.num-integer]
version = "0.1.46"
[dependencies.polars]
version = "0.49.1"
features = ["dtype-full"]
optional = true
[dependencies.polars-core]
version = "0.49.1"
optional = true
[dependencies.r2d2]
version = "0.8.9"
optional = true
[dependencies.rust_decimal]
version = "1.14"
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.strum]
version = "0.27"
features = ["derive"]
[dependencies.url]
version = "2.1"
optional = true
[dependencies.uuid]
version = "1.0"
optional = true
[dev-dependencies.doc-comment]
version = "0.3"
[dev-dependencies.polars-core]
version = "0.49.1"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.rand]
version = "0.9.0"
[dev-dependencies.rustyline]
version = "15"
features = ["case_insensitive_history_search"]
[dev-dependencies.tempfile]
version = "3.1.0"
[dev-dependencies.uuid]
version = "1.0"
features = ["v4"]