Cargo Features
[dependencies]
spark-connect-rs = { version = "0.0.1", default-features = false, features = ["tls", "datafusion", "polars", "tokio"] }
- default = tokio
-
These default features are set whenever
spark-connect-rs
is added without
somewhere in the dependency tree.default-features = false Enables codegen, prost and transport of tonic ^0.11
- tls
-
Enables tls and tls-roots of tonic ^0.11
- datafusion
-
Enables datafusion ^42.0
- polars
-
Enables polars ^0.43 and polars-arrow ^0.43
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- tonic default tls?
-
Enables tonic ^0.11
- tokio default