-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
132 lines (129 loc) · 3.7 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[package]
name = "datafusion-table-providers"
version = "0.2.3"
readme = "README.md"
edition = "2021"
repository = "https://github.com/datafusion-contrib/datafusion-table-providers"
license = "Apache-2.0"
description = "Extend the capabilities of DataFusion to support additional data sources via implementations of the `TableProvider` trait."
[dependencies]
arrow-flight = { version = "53", optional = true, features = [
"flight-sql-experimental",
"tls",
] }
arrow-odbc = { version = "14.0", optional = true }
async-stream = { version = "0.3.6", optional = true }
async-trait = "0.1"
bb8 = { version = "0.8", optional = true }
bb8-postgres = { version = "0.8", optional = true }
bigdecimal = "0.4.6"
byteorder = "1.5.0"
chrono = "0.4.38"
dashmap = "6.1.0"
datafusion = { version = "43", default-features = false }
datafusion-federation = { version = "0.3.1", features = [
"sql",
], optional = true }
datafusion-proto = { version = "43", optional = true }
duckdb = { version = "1.1.1", features = [
"bundled",
"r2d2",
"vtab",
"vtab-arrow",
"appender-arrow",
], optional = true }
dyn-clone = { version = "1.0", optional = true }
fallible-iterator = "0.3.0"
fundu = "2.0.1"
futures = "0.3"
geo-types = "0.7"
itertools = "0.13.0"
mysql_async = { version = "0.34", features = [
"native-tls-tls",
"chrono",
], optional = true }
native-tls = { version = "0.2.12", optional = true }
num-bigint = "0.4"
odbc-api = { version = "10.0.0", optional = true }
pem = { version = "3.0.4", optional = true }
postgres-native-tls = { version = "0.5.0", optional = true }
prost = { version = "0.13", optional = true }
r2d2 = { version = "0.8.10", optional = true }
rusqlite = { version = "0.32.1", optional = true }
sea-query = { version = "0.32.0", features = [
"backend-sqlite",
"backend-postgres",
"postgres-array",
"with-rust_decimal",
"with-bigdecimal",
"with-time",
"with-chrono",
] }
secrecy = "0.8.0"
serde = { version = "1.0", optional = true }
serde_json = "1.0"
sha2 = "0.10.8"
snafu = "0.8.5"
time = "0.3.36"
tokio = { version = "1.41", features = ["macros", "fs"] }
tokio-postgres = { version = "0.7.12", features = [
"with-chrono-0_4",
"with-uuid-1",
"with-serde_json-1",
"with-geo-types-0_7",
], optional = true }
tokio-rusqlite = { version = "0.6.0", optional = true }
tonic = { version = "0.12", optional = true, features = [
"tls-native-roots",
"tls-webpki-roots",
] }
tracing = "0.1.40"
trust-dns-resolver = "0.23.2"
url = "2.5.4"
uuid = { version = "1.11.0", optional = true }
[dev-dependencies]
anyhow = "1.0"
bollard = "0.18.1"
geozero = { version = "0.14.0", features = ["with-wkb"] }
insta = { version = "1.41.1", features = ["filters"] }
prost = { version = "0.13" }
rand = "0.8.5"
reqwest = "0.12.9"
rstest = "0.23.0"
test-log = { version = "0.2.16", features = ["trace"] }
tokio-stream = { version = "0.1.16", features = ["net"] }
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-flight",
"datafusion/serde",
"dep:datafusion-proto",
"dep:serde",
"dep:tonic",
]
mysql = ["dep:mysql_async", "dep:async-stream"]
mysql-federation = ["mysql", "federation"]
odbc = ["dep:odbc-api", "dep:arrow-odbc", "dep:async-stream", "dep:dyn-clone"]
odbc-federation = ["odbc", "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"]