Cargo Features
[dependencies]
spark-connect-core = { version = "0.0.1-beta.4", default-features = false, features = ["tls", "wasm", "tokio"] }
- default = tokio
-
These default features are set whenever
spark-connect-core
is added without
somewhere in the dependency tree.default-features = false - tls
- wasm = tonic-web-wasm-client
-
Enables codegen and prost of tonic and js of getrandom
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
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.