[package] name = "spark-connect-rs" version = "0.0.1" authors.workspace = true keywords.workspace = true readme.workspace = true edition.workspace = true homepage.workspace = true description.workspace = true license.workspace = true documentation.workspace = true repository.workspace = true rust-version.workspace = true include = [ "build.rs", "src/**/*", "protobuf/**/*", ] [dependencies] tonic = { workspace = true, default-features = false, optional = true } tower = { workspace = true } tokio = { workspace = true, optional = true } futures-util = { workspace = true } http-body = { workspace = true } arrow = { workspace = true } arrow-ipc = { workspace = true } serde_json = { workspace = true } prost = { workspace = true } prost-types = { workspace = true } rand = { workspace = true } uuid = { workspace = true } url = { workspace = true } chrono = { workspace = true } datafusion = { workspace = true, optional = true } polars = { workspace = true, optional = true } polars-arrow = { workspace = true, optional = true } [dev-dependencies] futures = "0.3" tokio = { workspace = true, features = ["rt-multi-thread"] } [build-dependencies] tonic-build = "0.11" [lib] doctest = false [features] default = [ "tokio", "tonic/codegen", "tonic/prost", "tonic/transport", ] tls = [ "tonic/tls", "tonic/tls-roots" ] datafusion = [ "dep:datafusion" ] polars = [ "dep:polars", "dep:polars-arrow" ]