-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
79 lines (73 loc) · 2.76 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
[package]
name = "dft"
description = "Terminal based, extensible, interactive data analysis tool using SQL "
homepage = "https://github.com/datafusion-contrib/datafusion-tui"
repository = "https://github.com/datafusion-contrib/datafusion-tui"
readme = "README.md"
authors = ["Matthew Turner <[email protected]>"]
license = "Apache-2.0"
keywords = ["arrow", "query", "sql", "datafusion"]
version = "0.1.0"
edition = "2021"
default-run = "dft"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
arrow-flight = { version = "53.0.0", features = ["flight-sql-experimental"] , optional = true }
async-trait = "0.1.80"
clap = { version = "4.5.1", features = ["derive"] }
color-eyre = "0.6.3"
crossterm = { version = "0.28.1", features = ["event-stream"] }
datafusion = "43.0.0"
datafusion-common = "43.0.0"
datafusion-functions-json = { version = "0.43.0", optional = true }
datafusion-functions-parquet = { version = "0.1.0", path = "crates/datafusion-functions-parquet", optional = true }
deltalake = { version = "0.22.0", features = ["datafusion"], optional = true }
directories = "5.0.1"
env_logger = "0.11.5"
futures = "0.3.30"
http = "1"
http-body = "1"
itertools = "0.13.0"
lazy_static = "1.4.0"
log = "0.4.22"
metrics = {version = "0.24.0", optional = true }
metrics-exporter-prometheus = {version = "0.16.0", optional = true }
num_cpus = "1.16.0"
object_store = { version = "0.11.0", features = ["aws"], optional = true }
parking_lot = "0.12.3"
pin-project-lite = {version = "0.2.14" }
prost = "0.13.1"
ratatui = "0.28.0"
serde = { version = "1.0.197", features = ["derive"] }
strum = "0.26.2"
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }
tokio-stream = { version = "0.1.15", features = ["net"] }
tokio-util = "0.7.10"
toml = "0.8.12"
tonic = { version = "0.12.3", optional = true }
tower = {version = "0.5.0" }
tui-logger = {version = "0.12", features = ["tracing-support"]}
tui-textarea = { version = "0.6.1", features = ["search"] }
url = { version = "2.5.2", optional = true }
uuid = {version = "1.10.0" }
[dev-dependencies]
assert_cmd = "2.0.16"
insta = { version = "1.40.0", features = ["yaml"] }
predicates = "3.1.2"
tempfile = "3.2.0"
url = "2.5.2"
# When addding a new feature, also add it to the features tested list in CI (`.github/workflows/rust.yml`)
[features]
default = ["functions-parquet"]
deltalake = ["dep:deltalake"]
flightsql = ["dep:arrow-flight", "dep:tonic"]
experimental-flightsql-server = ["flightsql"]
s3 = ["object_store/aws", "url"]
functions-json = ["dep:datafusion-functions-json"]
functions-parquet = ["dep:datafusion-functions-parquet"]
metrics = ["dep:metrics", "dep:metrics-exporter-prometheus"]
[[bin]]
name = "dft"
path = "src/main.rs"
[lints.clippy]
clone_on_ref_ptr = "deny"