-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCargo.toml
More file actions
157 lines (150 loc) · 5.26 KB
/
Copy pathCargo.toml
File metadata and controls
157 lines (150 loc) · 5.26 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[package]
authors = ["Matthew Turner <matthew.m.turner@outlook.com>"]
default-run = "dft"
description = "An opinionated and batteries included DataFusion implementation"
edition = "2021"
homepage = "https://github.com/datafusion-contrib/datafusion-dft"
keywords = ["arrow", "datafusion", "query", "sql"]
license = "Apache-2.0"
name = "datafusion-dft"
readme = "README.md"
repository = "https://github.com/datafusion-contrib/datafusion-dft"
version = "0.2.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
arrow-flight = { features = [
"flight-sql-experimental",
], optional = true, version = "58" }
axum = { features = ["macros"], optional = true, version = "0.7.9" }
clap = { features = ["derive"], version = "4.5.27" }
color-eyre = "0.6.3"
crossterm = { features = ["event-stream"], optional = true, version = "0.29" }
datafusion = { version = "54" }
datafusion-app = { path = "crates/datafusion-app", version = "0.1.0" }
# Optional (not a dev-dependency) so that plain `cargo test` does not compile
# librocksdb; used from feature-gated test code to generate fixture databases.
datafusion-functions-rocksdb = { optional = true, path = "crates/datafusion-functions-rocksdb", version = "0.1.0" }
directories = "5.0.1"
env_logger = "0.11.5"
futures = "0.3.30"
http = "1"
http-body = "1"
indicatif = "0.17"
itertools = "0.13.0"
jiff = { optional = true, version = "0.2.5" }
lazy_static = "1.4.0"
log = "0.4.22"
metrics = { optional = true, version = "0.24.0" }
metrics-exporter-prometheus = { optional = true, version = "0.16.0" }
object_store = "0.13"
parquet = "58"
pin-project-lite = { version = "0.2.14" }
prost = "0.14"
ratatui = { optional = true, version = "0.30" }
ratatui-textarea = { features = ["search"], optional = true, version = "0.8" }
serde = { features = ["derive"], version = "1.0.197" }
strum = { features = ["derive"], version = "0.26.2" }
tokio = { features = [
"macros",
"process",
"rt-multi-thread",
"signal",
], version = "1.36.0" }
tokio-stream = { features = ["net"], version = "0.1.15" }
tokio-util = "0.7.10"
toml = "0.8.12"
tonic = { optional = true, version = "0.14" }
tower = { version = "0.5.0" }
tower-http = { features = [
"auth",
"timeout",
"trace",
], optional = true, version = "0.6.2" }
tpchgen = "2.0"
tpchgen-arrow = "2.0"
tracing = { features = ["log"], version = "0.1.41" }
tracing-subscriber = { features = ["env-filter"], version = "0.3.19" }
tui-logger = { features = [
"tracing-support",
], optional = true, version = "0.18" }
url = { features = ["serde"], version = "2.5.2" }
uuid = { optional = true, version = "1.10.0" }
vortex = { optional = true, version = "0.85" }
vortex-datafusion = { optional = true, version = "0.85" }
vortex-file = { optional = true, version = "0.85" }
vortex-session = { optional = true, version = "0.85" }
[dev-dependencies]
assert_cmd = "2.0.16"
# Used (without the libpcap-backed `live` feature) to generate pcap fixtures
datafusion-net = { path = "crates/datafusion-net", version = "0.1.0" }
datafusion-udfs-wasm = { features = [
"serde",
], path = "crates/datafusion-udfs-wasm", version = "0.1.0" }
etherparse = "0.20"
http-body-util = "0.1.3"
insta = { features = ["yaml"], version = "1.40.0" }
predicates = "3.1.2"
reqwest = { features = ["json"], version = "0.12.23" }
serde_json = "1.0.140"
socket2 = "0.5"
tempfile = "3.2.0"
tokio-tungstenite = "0.29"
url = "2.5.2"
# When addding a new feature, also add it to the features tested list in CI (`.github/workflows/test.yml`)
[features]
clickhouse = ["datafusion-app/clickhouse"]
default = ["functions-parquet", "s3"]
deltalake = ["datafusion-app/deltalake"]
flightsql = [
"datafusion-app/flightsql",
"datafusion-app/observability",
"dep:arrow-flight",
"dep:jiff",
"dep:metrics",
"dep:metrics-exporter-prometheus",
"dep:tonic",
"dep:tower-http",
"dep:uuid",
]
functions-arrow = ["datafusion-app/functions-arrow"]
functions-json = ["datafusion-app/functions-json"]
functions-parquet = ["datafusion-app/functions-parquet"]
functions-rocksdb = [
"datafusion-app/functions-rocksdb",
"dep:datafusion-functions-rocksdb",
]
http = [
"axum",
"datafusion-app/observability",
"dep:jiff",
"dep:metrics",
"dep:metrics-exporter-prometheus",
"dep:tower-http",
"dep:uuid",
]
huggingface = ["datafusion-app/huggingface"]
mongodb = ["datafusion-app/mongodb"]
net = ["datafusion-app/net"]
s3 = ["datafusion-app/s3"]
tui = ["dep:crossterm", "dep:ratatui", "dep:ratatui-textarea", "dep:tui-logger"]
udfs-wasm = ["datafusion-app/udfs-wasm"]
vortex = [
"datafusion-app/vortex",
"dep:vortex",
"dep:vortex-datafusion",
"dep:vortex-file",
"dep:vortex-session",
]
websocket = ["datafusion-app/websocket"]
[[bin]]
name = "dft"
path = "src/main.rs"
[lints.clippy]
clone_on_ref_ptr = "deny"
# tpchgen has no arrow 58 compatible release (2.0.2 is arrow 57, 3.0.0 is arrow 59), so we
# use a fork of v2.0.2 with arrow bumped to 58.
# TODO: remove this patch once tpchgen and DataFusion align on an arrow version again
# (tpchgen-arrow 3.0 / arrow 59 should line up with DataFusion 55).
[patch.crates-io]
tpchgen = { git = "https://github.com/matthewmturner/tpchgen-rs", rev = "1e07d12f2677da2ee3b9b502fed8760fac3b7e89" }
tpchgen-arrow = { git = "https://github.com/matthewmturner/tpchgen-rs", rev = "1e07d12f2677da2ee3b9b502fed8760fac3b7e89" }