# 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.76" name = "spark-connect-core" version = "0.0.1-beta.5" authors = ["Steve Russo <64294847+sjrusso8@users.noreply.github.com>"] include = [ "build.rs", "src/**/*", "spark/connector/connect/common/src/main/protobuf/spark/**/*", ] 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] doctest = false [dependencies.arrow] version = "51" features = ["prettyprint"] [dependencies.arrow-ipc] version = "51" [dependencies.chrono] version = "0.4" [dependencies.datafusion] version = "38.0" optional = true default-features = false [dependencies.getrandom] version = "0.2" optional = true [dependencies.polars] version = "0.40" optional = true default-features = false [dependencies.polars-arrow] version = "0.40" 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.37" features = ["macros"] optional = true default-features = false [dependencies.tonic] version = "0.11" optional = true default-features = false [dependencies.tonic-web-wasm-client] version = "0.5" optional = true [dependencies.url] version = "2.5" [dependencies.uuid] version = "1.8" features = ["v4"] [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1.37" features = [ "macros", "rt-multi-thread", ] default-features = false [build-dependencies.tonic-build] version = "0.11.0" [features] datafusion = ["dep:datafusion"] default = [ "tokio", "tonic/codegen", "tonic/prost", "tonic/transport", ] polars = [ "dep:polars", "dep:polars-arrow", ] tls = [ "tonic/tls", "tonic/tls-roots", ] wasm = [ "tonic-web-wasm-client", "tonic/codegen", "tonic/prost", "getrandom/js", "tokio", ]