# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "datafusion-table-providers" version = "0.2.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Extend the capabilities of DataFusion to support additional data sources via implementations of the `TableProvider` trait." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/datafusion-contrib/datafusion-table-providers" [lib] name = "datafusion_table_providers" path = "src/lib.rs" [[example]] name = "duckdb" path = "examples/duckdb.rs" [[example]] name = "duckdb_external_table" path = "examples/duckdb_external_table.rs" [[example]] name = "duckdb_function" path = "examples/duckdb_function.rs" [[example]] name = "flight-sql" path = "examples/flight-sql.rs" [[example]] name = "mysql" path = "examples/mysql.rs" [[example]] name = "postgres" path = "examples/postgres.rs" [[example]] name = "sqlite" path = "examples/sqlite.rs" [[test]] name = "integration" path = "tests/integration.rs" [dependencies.arrow] version = "53" [dependencies.arrow-array] version = "53" optional = true [dependencies.arrow-cast] version = "53" optional = true [dependencies.arrow-flight] version = "53" features = [ "flight-sql-experimental", "tls", ] optional = true [dependencies.arrow-json] version = "53" [dependencies.arrow-schema] version = "53" features = ["serde"] optional = true [dependencies.async-stream] version = "0.3.5" optional = true [dependencies.async-trait] version = "0.1.80" [dependencies.bb8] version = "0.8" optional = true [dependencies.bb8-postgres] version = "0.8" optional = true [dependencies.bigdecimal] version = "0.4.5" [dependencies.byteorder] version = "1.5.0" [dependencies.chrono] version = "0.4.38" [dependencies.datafusion] version = "42.0.0" [dependencies.datafusion-expr] version = "42.0.0" optional = true [dependencies.datafusion-federation] version = "0.3.0" features = ["sql"] optional = true [dependencies.datafusion-physical-expr] version = "42.0.0" optional = true [dependencies.datafusion-physical-plan] version = "42.0.0" optional = true [dependencies.datafusion-proto] version = "42.0.0" optional = true [dependencies.duckdb] version = "1.1.1" features = [ "bundled", "r2d2", "vtab", "vtab-arrow", "appender-arrow", ] optional = true [dependencies.dyn-clone] version = "1.0.17" optional = true [dependencies.fallible-iterator] version = "0.3.0" [dependencies.fundu] version = "2.0.1" [dependencies.futures] version = "0.3.30" [dependencies.geo-types] version = "0.7.13" [dependencies.itertools] version = "0.13.0" [dependencies.mysql_async] version = "0.34.1" features = [ "native-tls-tls", "chrono", ] optional = true [dependencies.native-tls] version = "0.2.11" optional = true [dependencies.num-bigint] version = "0.4.4" [dependencies.pem] version = "3.0.4" optional = true [dependencies.postgres-native-tls] version = "0.5.0" optional = true [dependencies.prost] version = "0.13.2" optional = true [dependencies.r2d2] version = "0.8.10" optional = true [dependencies.rusqlite] version = "0.31.0" optional = true [dependencies.sea-query] version = "0.32.0-rc.1" features = [ "backend-sqlite", "backend-postgres", "postgres-array", "with-rust_decimal", "with-bigdecimal", "with-time", "with-chrono", ] [dependencies.secrecy] version = "0.8.0" [dependencies.serde] version = "1.0.209" optional = true [dependencies.serde_json] version = "1.0.124" [dependencies.snafu] version = "0.8.3" [dependencies.time] version = "0.3.36" [dependencies.tokio] version = "1.38.0" features = [ "macros", "fs", ] [dependencies.tokio-postgres] version = "0.7.10" features = [ "with-chrono-0_4", "with-uuid-1", "with-serde_json-1", "with-geo-types-0_7", ] optional = true [dependencies.tokio-rusqlite] version = "0.5.1" optional = true [dependencies.tonic] version = "0.12" features = [ "tls-native-roots", "tls-webpki-roots", ] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.trust-dns-resolver] version = "0.23.2" [dependencies.url] version = "2.5.1" [dependencies.uuid] version = "1.9.1" optional = true [dev-dependencies.anyhow] version = "1.0.86" [dev-dependencies.arrow-schema] version = "53.1.0" [dev-dependencies.bollard] version = "0.16.1" [dev-dependencies.geozero] version = "0.13.0" features = ["with-wkb"] [dev-dependencies.prost] version = "0.13" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.reqwest] version = "0.12.5" [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.secrecy] version = "0.8.0" [dev-dependencies.test-log] version = "0.2.16" features = ["trace"] [dev-dependencies.tokio-stream] version = "0.1.15" features = ["net"] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] duckdb = [ "dep:duckdb", "dep:r2d2", "dep:uuid", "dep:dyn-clone", "dep:async-stream", ] duckdb-federation = [ "duckdb", "federation", ] federation = ["dep:datafusion-federation"] flight = [ "dep:arrow-array", "dep:arrow-cast", "dep:arrow-flight", "dep:arrow-schema", "dep:datafusion-expr", "dep:datafusion-physical-expr", "dep:datafusion-physical-plan", "dep:datafusion-proto", "dep:serde", "dep:tonic", ] mysql = [ "dep:mysql_async", "dep:async-stream", ] mysql-federation = [ "mysql", "federation", ] postgres = [ "dep:tokio-postgres", "dep:uuid", "dep:postgres-native-tls", "dep:bb8", "dep:bb8-postgres", "dep:native-tls", "dep:pem", "dep:async-stream", ] postgres-federation = [ "postgres", "federation", ] sqlite = [ "dep:rusqlite", "dep:tokio-rusqlite", ] sqlite-federation = [ "sqlite", "federation", ]