-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
143 lines (136 loc) · 5.91 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
133
134
135
136
137
138
139
140
141
142
143
[workspace]
members = [
"crates/*",
]
resolver = "2"
[workspace.package]
version = "0.2.0"
edition = "2021"
[workspace.dependencies]
thiserror = { version = "2.0.6" }
tokio = { version = "1.42.0", features = ["full"] }
tokio-stream = "0.1.17"
tonic = { version = "0.12.3", features = ["tls", "tls-roots", "gzip", "zstd"] }
tonic-build = "0.12.3"
tonic-reflection = "0.12.3"
tonic-health = "0.12.3"
tonic-types = "0.12.3"
prost-build = "0.13.3"
prost = "0.13.4"
prost-types = "0.13.4"
pbjson = "0.7.0"
pbjson-types = "0.7.0"
pbjson-build = "0.7.0"
tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.6.2", features = ["full"] }
uuid = { version = "1.10.0", features = ["v4"] }
async-trait = "0.1.83"
async-recursion = "1.1.0"
async-stream = "0.3"
lazy_static = "1.5.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_bytes = "0.11"
monostate = "0.1"
regex = "1.10"
glob = "0.3"
chrono = "0.4"
chrono-tz = "0.10.0"
futures = "0.3"
comfy-table = "7.1"
html-escape = "0.2"
syn = "2.0.90"
quote = "1.0.37"
prettyplease = "0.2.24"
phf = { version = "0.11.2", features = ["macros"] }
ryu = "1.0.18"
either = "1.12.0"
num-bigint = "0.4.6"
num-traits = "0.2.19"
serde_arrow = { version = "0.12.2", features = ["arrow-53"] }
mimalloc = { version = "0.1.43", default-features = false }
rand = "0.8.5"
rand_chacha = "0.3.1"
rand_distr = "0.4.3"
url = "2.5.4"
lexical-core = { version = "1.0.5", default-features = false, features = ["write-integers", "write-floats", "parse-integers", "parse-floats"] }
aws-config = "1.5.9"
aws-credential-types = "1.2.1"
clap = { version = "4.5.23", features = ["derive"] }
num_enum = "0.7.3"
log = "0.4.22"
env_logger = "0.11.5"
fastrace = { version = "0.7.4", features = ["enable"] }
fastrace-opentelemetry = "0.7.4"
opentelemetry = "0.26.0"
opentelemetry_sdk = "0.26.0"
opentelemetry-otlp = { version = "0.26.0", features = ["tls", "tls-roots"] }
hdfs-native-object-store = "0.12.1"
figment = { version = "0.10.19", features = ["toml", "env"] }
kube = "0.96.0"
k8s-openapi = { version = "0.23.0", features = ["latest"] }
twox-hash = "2.1.0"
aes = "0.8.4"
aes-gcm = "0.10.3"
cbc = { version = "0.1.2", features = ["std"] }
base64 = "0.22.1"
md-5 = "0.10.6"
######
# The versions of the following dependencies are managed manually.
######
datafusion = { version = "43.0.0", features = ["serde", "pyarrow", "avro"] }
datafusion-common = { version = "43.0.0", features = ["object_store", "pyarrow", "avro"] }
datafusion-expr = "43.0.0"
datafusion-proto = "43.0.0"
datafusion-functions-nested = "43.0.0"
datafusion-functions-json = "0.43.0"
# auto-initialize: Changes [`Python::with_gil`] to automatically initialize the Python interpreter if needed.
pyo3 = { version = "0.22.0", features = ["auto-initialize", "serde"] }
# Should be the equivalent of enabling the pyarrow feature in datafusion since we already have pyo3 in the workspace
arrow = { version = "53.1.0", features = ["ffi", "pyarrow"] }
arrow-cast = { version = "53.1.0" }
arrow-schema = { version = "53.1.0" }
arrow-select = { version = "53.1.0" }
arrow-flight = { version = "53.1.0" }
# The `object_store` version must match the one used in DataFusion.
object_store = { version = "0.11.0", features = ["aws", "gcp", "azure", "http"] }
# We use a patched latest version of sqlparser. The version may be different from the one used in DataFusion.
sqlparser = { git = "https://github.com/lakehq/sqlparser-rs.git", rev = "0908ddb", features = ["serde", "visitor"] }
######
# This is the end of the manually managed dependencies.
# Do not add more dependencies below.
######
[patch.crates-io]
# Override dependencies to use our forked versions.
# You can use `path = "..."` to temporarily point to your local copy of the crates to speed up local development.
datafusion = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-catalog = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-common = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-common-runtime = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-execution = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-expr = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-expr-common = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-functions = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-functions-aggregate = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-functions-aggregate-common = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-functions-nested = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-functions-window = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-functions-window-common = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-optimizer = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-physical-expr = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-physical-expr-common = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-physical-optimizer = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-physical-plan = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-proto = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-proto-common = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
datafusion-sql = { git = "https://github.com/apache/datafusion.git", rev = "6d8313e" }
[profile.release]
# https://doc.rust-lang.org/cargo/reference/profiles.html#release
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = true
panic = 'unwind'
incremental = false
codegen-units = 1