Cargo Features

arrow-flight has no features set by default.

[dependencies]
arrow-flight = { version = "57.1.0", features = ["flight-sql", "flight-sql-experimental", "tls-aws-lc", "tls-native-roots", "tls-ring", "tls-webpki-roots", "cli"] }
flight-sql flight-sql-experimental?

Enables arrow-arith, arrow-data, arrow-ord, arrow-row, arrow-select, arrow-string, once_cell, and paste

Affects arrow-flight::sql

Required by the flight_sql_client binary

flight-sql-experimental = flight-sql

TODO: Remove in the next release

tls-aws-lc

Enables tls-aws-lc of tonic

tls-native-roots

Enables tls-native-roots of tonic

tls-ring

Enables tls-ring of tonic

Required by the flight_sql_client binary

tls-webpki-roots

Enables tls-webpki-roots of tonic

cli

Enable CLI tools

Enables clap and tokio, tracing-log and tracing-subscriber, chrono-tz of arrow-array, deflate, gzip, tls-webpki-roots and zstd of tonic and anyhow

CLI-related dependencies

and prettyprint of arrow-cast

Cast is needed to work around https://github.com/apache/arrow-rs/issues/3389

Required by the flight_sql_client binary