Cargo Features
[dependencies]
databend-driver = { version = "0.23.2", default-features = false, features = ["rustls", "native-tls", "flight-sql"] }
- default = rustls
-
The
rustls
feature is set by default wheneverdatabend-driver
is added without
somewhere in the dependency tree.default-features = false - rustls default
-
Enable rustls for TLS support
Enables rustls of databend-client
- native-tls
-
Enable native-tls for TLS support
Enables native-tls of databend-client
- flight-sql
-
Enables tonic, arrow-flight and arrow-schema, flight-sql of databend-driver-core