# 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 = "2021" rust-version = "1.81" name = "spark-connect-rs" version = "0.0.1" authors = ["Steve Russo <64294847+sjrusso8@users.noreply.github.com>"] build = "build.rs" include = [ "build.rs", "src/**/*", "protobuf/**/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Apache Spark Connect Client for Rust" homepage = "https://github.com/sjrusso8/spark-connect-rs" documentation = "https://docs.rs/spark-connect-rs" readme = "README.md" keywords = [ "spark", "spark_connect", ] license = "Apache-2.0" repository = "https://github.com/sjrusso8/spark-connect-rs" [lib] name = "spark_connect_rs" path = "src/lib.rs" doctest = false [dependencies.arrow] version = "53" features = ["prettyprint"] [dependencies.arrow-ipc] version = "53" [dependencies.chrono] version = "0.4.38" [dependencies.datafusion] version = "42.0" optional = true default-features = false [dependencies.futures-util] version = "0.3.31" [dependencies.http-body] version = "0.4.6" [dependencies.polars] version = "0.43" optional = true default-features = false [dependencies.polars-arrow] version = "0.43" features = ["arrow_rs"] optional = true default-features = false [dependencies.prost] version = "0.12" [dependencies.prost-types] version = "0.12" [dependencies.rand] version = "0.8" [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1.40" features = ["macros"] optional = true default-features = false [dependencies.tonic] version = "0.11" optional = true default-features = false [dependencies.tower] version = "0.5" [dependencies.url] version = "2.5" [dependencies.uuid] version = "1.8" features = ["v4"] [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1.40" features = [ "macros", "rt-multi-thread", ] default-features = false [build-dependencies.tonic-build] version = "0.11" [features] datafusion = ["dep:datafusion"] default = [ "tokio", "tonic/codegen", "tonic/prost", "tonic/transport", ] polars = [ "dep:polars", "dep:polars-arrow", ] tls = [ "tonic/tls", "tonic/tls-roots", ]