Cargo Features

[dependencies]
connectorx = { version = "0.3.2", default-features = false, features = ["all", "branch", "dst_arrow", "dst_arrow2", "fptr", "src_bigquery", "src_csv", "src_dummy", "src_mssql", "src_mysql", "src_oracle", "src_postgres", "src_sqlite", "federation", "fed_exec", "integrated-auth-gssapi", "ndarray"] }
default = fptr

The fptr feature is set by default whenever connectorx is added without default-features = false somewhere in the dependency tree.

all = dst_arrow, dst_arrow2, fed_exec, federation, src_bigquery, src_csv, src_dummy, src_mssql, src_mysql, src_oracle, src_postgres, src_sqlite
branch
dst_arrow all? = arrow

Affects destinations::arrow, connectorx::arrow_batch_iter, connectorx::get_arrow, constants::RECORD_BATCH_SIZE

dst_arrow2 all? = arrow2, polars

Affects destinations::arrow2, connectorx::get_arrow2, constants::RECORD_BATCH_SIZE

fptr default
src_bigquery all? = gcp-bigquery-client, tokio

Affects sources::bigquery

src_csv all? = csv, regex

Affects sources::csv

src_dummy all? = num-traits

Affects sources::dummy

src_mssql all? = bb8, bb8-tiberius, futures, num-traits, rust_decimal, tiberius, tokio, tokio-util, urlencoding, uuid

Affects sources::mssql, constants::DB_BUFFER_SIZE

src_mysql all? = mysql_common, num-traits, r2d2, r2d2_mysql, rust_decimal

Affects sources::mysql, constants::DB_BUFFER_SIZE

src_oracle all? = oracle, r2d2, r2d2-oracle, urlencoding

Affects constants::ORACLE_ARRAY_SIZE, sources::oracle, sql::limit1_query_oracle, constants::DB_BUFFER_SIZE

src_postgres all? = csv, hex, native-tls, num-traits, openssl, postgres, postgres-native-tls, postgres-openssl, r2d2, r2d2_postgres, rust_decimal, rust_decimal_macros, uuid

Affects sources::postgres, constants::DB_BUFFER_SIZE

src_sqlite all? = fallible-streaming-iterator, r2d2, r2d2_sqlite, rusqlite, urlencoding

Affects sources::sqlite

federation all? = j4rs

Affects constants::J4RS_BASE_PATH, constants::J4RS_BASE_PATH, constants::CX_REWRITER_PATH, constants::POSTGRES_JDBC_DRIVER, constants::MYSQL_JDBC_DRIVER, constants::DUCKDB_JDBC_DRIVER, connectorx::fed_rewriter

fed_exec all? = datafusion, tokio

Affects connectorx::fed_dispatcher

integrated-auth-gssapi

Enables tiberius ^0.5

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.

arrow dst_arrow?

Enables arrow ^26

arrow2 dst_arrow2?

Enables arrow2 ^0.17

bb8 src_mssql?

Enables bb8 ^0.7

bb8-tiberius src_mssql?

Enables bb8-tiberius ^0.5

csv src_csv? src_postgres?
fallible-streaming-iterator src_sqlite?
futures src_mssql?
gcp-bigquery-client src_bigquery?

Enables gcp-bigquery-client ^0.13.0

hex src_postgres?
native-tls src_postgres?
ndarray implicit feature
num-traits src_dummy? src_mssql? src_mysql? src_postgres?
openssl src_postgres?
oracle src_oracle?
polars dst_arrow2?

Enables polars ^0.32

postgres src_postgres?
postgres-native-tls src_postgres?
postgres-openssl src_postgres?
mysql_common src_mysql?

Enables mysql_common ^0.29

r2d2 src_mysql? src_oracle? src_postgres? src_sqlite?
r2d2-oracle src_oracle?

Enables r2d2-oracle ^0.5.0

r2d2_mysql src_mysql?

Enables r2d2_mysql ^23

r2d2_postgres src_postgres?
r2d2_sqlite src_sqlite?

Enables r2d2_sqlite ^0.20.0

regex src_csv?
rusqlite src_sqlite?

Enables rusqlite ^0.27.0

rust_decimal src_mssql? src_mysql? src_postgres?
rust_decimal_macros src_postgres?
tiberius integrated-auth-gssapi? src_mssql?

Enables tiberius ^0.5

tokio fed_exec? src_bigquery? src_mssql?
tokio-util src_mssql?

Enables tokio-util ^0.6

urlencoding src_mssql? src_oracle? src_sqlite?
uuid src_mssql? src_postgres?

Enables uuid ^0.8

j4rs federation?

Enables j4rs ^0.13

datafusion fed_exec?

Enables datafusion ^14