Cargo Features

arrow-flight has no features set by default.

[dependencies]
arrow-flight = { version = "54.0.0", features = ["flight-sql-experimental", "tls", "cli", "tokio"] }
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

tls

Enables tls of tonic

Required by the flight_sql_client binary

cli

Enable CLI tools

Enables clap, tracing-log and tracing-subscriber, chrono-tz of arrow-array, tls-webpki-roots 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

Features from optional dependencies

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications