forked from lakehq/sail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
80 lines (77 loc) · 3.36 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
[workspace]
members = [
"crates/*",
]
resolver = "2"
[workspace.dependencies]
tracing = { version = "0.1.40", features = ["attributes", "std", "log"] }
tracing-opentelemetry = { version = "0.24.0" }
tracing-subscriber = { version = "0.3.18", features = ["registry", "std", "smallvec", "fmt", "ansi", "tracing-log", "std", "env-filter", "json"] }
opentelemetry = { version = "0.23.0", features = ["trace", "metrics"] }
opentelemetry_sdk = { version = "0.23.0", features = ["trace", "metrics", "rt-tokio", "rt-tokio-current-thread"] }
opentelemetry-semantic-conventions = "0.15.0"
opentelemetry-otlp = { version = "0.16.0", features = ["trace", "metrics", "grpc-tonic", "tls", "tls-roots"] }
opentelemetry-proto = { version = "0.6.0" }
opentelemetry-stdout = { version = "0.4.0", features = ["trace"] }
opentelemetry-resource-detectors = "0.2.0"
thiserror = { version = "1.0.62" }
tokio = { version = "1.38.0", features = ["full"] }
tokio-stream = "0.1.15"
tonic = { version = "0.11", features = ["tls", "tls-roots"] }
tonic-build = "0.11"
tonic-reflection = "0.11"
tonic-health = "0.11"
tonic-types = "0.11"
prost = "0.12"
prost-types = "0.12"
pbjson = "0.6"
pbjson-types = "0.6"
pbjson-build = "0.6"
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.4", features = ["full"] }
uuid = { version = "1.10.0", features = ["v4"] }
async-trait = "0.1.81"
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.9"
futures = "0.3"
comfy-table = "7.1"
html-escape = "0.2"
syn = "2.0.71"
quote = "1.0.36"
prettyplease = "0.2.20"
phf = { version = "0.11.2", features = ["macros"] }
ryu = "1.0.18"
either = "1.12.0"
#
# The versions of the following dependencies are managed manually.
#
datafusion = { version = "39.0.0", features = ["serde", "pyarrow"] }
datafusion-common = { version = "39.0.0", features = ["object_store", "pyarrow"] }
datafusion-expr = "39.0.0"
datafusion-functions-array = "39.0.0"
# auto-initialize: Changes [`Python::with_gil`] to automatically initialize the Python interpreter if needed.
# 0.21 breaks when datafusion has pyarrow enabled
pyo3 = { version = "0.21.2", 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 = "52.0.0", features = ["ffi", "pyarrow"] }
arrow-cast = { version = "52.0.0" }
# 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 = "f631629", features = ["serde", "visitor"] }
serde_arrow = { version = "0.11", features = ["arrow-52"] }
[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.
# Use datafusion patch until version 40.0.0 is released
datafusion = { git = "https://github.com/apache/datafusion.git", rev = "49aee89" }
datafusion-common = { git = "https://github.com/apache/datafusion.git", rev = "49aee89" }
datafusion-expr = { git = "https://github.com/apache/datafusion.git", rev = "49aee89" }
datafusion-functions-array = { git = "https://github.com/apache/datafusion.git", rev = "49aee89" }