[package] name = "datafusion-server" description = "Web server library for session-based queries using Arrow and other large datasets as data sources." version = { workspace = true } license = { workspace = true } authors = { workspace = true } keywords = { workspace = true } readme = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } repository = { workspace = true } homepage = { workspace = true } [lib] name = "datafusion_server" path = "src/lib.rs" [features] plugin = ["pyo3", "datafusion/pyarrow"] flight = ["arrow-flight", "tonic"] avro = ["datafusion/avro"] webdav = ["object_store/http"] deltalake = ["delta_kernel"] telemetry = ["metrics", "metrics-exporter-prometheus", "sysinfo"] postgres = ["sqlx/postgres", "sqlx/uuid"] mysql = ["sqlx/mysql"] [dependencies] anyhow = "1.0.90" thiserror = "1.0.64" once_cell = "1.20.2" config = "0.14.0" regex = "1.11.0" bytes = "1.8.0" http-body = "1.0.1" log = { version = "0.4.22", features = ["std"] } simple_logger = { version = "5.0.0", features = ["timestamps"] } serde = { version = "1.0.211", features = ["derive"] } serde_derive = "1.0.211" serde_json = { version = "1.0.132", features = ["preserve_order"] } num-traits = "0.2.19" chrono = { version = "0.4.38", default-features = false, features = ["std", "clock"] } jsonpath-rust = "0.7.2" futures-util = { version = "0.3.31", default-features = false, features = ["alloc"] } futures = "0.3.31" tokio = { version = "1.40.0", features = ["full"] } hyper = { version = "1.5.0", features = ["full"] } tonic = { version = "0.12.3", optional = true } reqwest = { version = "0.12.8", features = ["default-tls", "cookies", "json", "stream"] } tower = "0.5.1" tower-http = { version = "0.6.1", features = ["cors"] } axum = { version = "0.7.7", features = ["multipart"] } axum-extra = { version = "0.9.4", features = ["typed-header"] } multer = { version = "3.1.0" } mime = { version = "0.3.17" } datafusion = { version = "42.1.0" } arrow-flight = { version = "53.1.0", optional = true } pyo3 = { version = "0.22.5", optional = true } object_store = { version = "0.11.1", features = ["aws", "gcp", "azure"] } url = "2.5.2" delta_kernel = { version = "0.3.1", optional = true, features = ["default-engine"] } metrics = { version = "0.24.0", optional = true, default-features = false } metrics-exporter-prometheus = { version = "0.16.0", optional = true, default-features = false } sysinfo = { version = "0.32.0", optional = true } sqlx = { version = "0.8.2", optional = true, default-features = false, features = ["runtime-tokio", "runtime-tokio-rustls", "any", "chrono", "rust_decimal"] }