-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
181 lines (154 loc) · 5.53 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
[workspace]
members = ["clade", "object_store_factory"]
[workspace.dependencies]
arrow = { version = "53.3.0", features = ["test_utils"] }
arrow-buffer = "53.3.0"
arrow-csv = "53.3.0"
arrow-flight = "53.3.0"
# For the JSON format support
# https://github.com/apache/arrow-rs/pull/2868
# https://github.com/apache/arrow-rs/pull/2724
arrow-integration-test = "53.3.0"
arrow-row = "53.3.0"
arrow-schema = "53.3.0"
async-trait = "0.1.83"
datafusion = { version = "44.0.0", features = ["backtrace"] }
datafusion-common = "44.0.0"
datafusion-expr = "44.0.0"
datafusion-functions-nested = "44.0.0"
futures = "0.3"
iceberg = { git = "https://github.com/splitgraph/iceberg-rust", rev = "cb5c36565b641d2309d4e96fcf6a1ee21308aa0d" }
iceberg-datafusion = { git = "https://github.com/splitgraph/iceberg-rust", rev = "cb5c36565b641d2309d4e96fcf6a1ee21308aa0d" }
itertools = ">=0.10.0"
object_store = { version = "0.11", features = ["aws", "azure", "gcp"] }
prost = "0.13"
serde = "1.0.213"
serde_json = "1.0.132"
tempfile = "3"
tokio = { version = "1.40", features = ["macros", "rt", "rt-multi-thread", "signal", "process"] }
tonic = "0.12"
tracing = { version = "0.1", features = ["log"] }
tracing-log = "0.2"
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }
url = "2.5"
[package]
name = "seafowl"
build = "build.rs"
version = "0.5.8"
edition = "2021"
readme = "README.md"
description = "Seafowl is an analytical database designed for modern data-driven Web applications."
authors = ["Splitgraph, Inc. <[email protected]>"]
keywords = ["database", "http", "web"]
homepage = "https://seafowl.io"
license = "Apache-2.0"
include = [
"src/**/*.rs",
"Cargo.toml",
"build.rs",
"migrations",
]
[features]
catalog-postgres = ["sqlx/postgres"]
default = ["catalog-postgres", "frontend-arrow-flight", "frontend-postgres", "remote-tables"]
frontend-arrow-flight = ["dep:tonic", "dep:arrow-flight", "arrow-flight/flight-sql-experimental"]
frontend-postgres = ["convergence", "convergence-arrow"]
remote-tables = ["dep:datafusion-remote-tables"]
[dependencies]
arrow = { workspace = true }
arrow-buffer = { workspace = true }
arrow-csv = { workspace = true }
arrow-flight = { workspace = true, optional = true }
# For the JSON format support
# https://github.com/apache/arrow-rs/pull/2868
# https://github.com/apache/arrow-rs/pull/2724
arrow-integration-test = { workspace = true }
arrow-row = { workspace = true }
arrow-schema = { workspace = true }
async-trait = { workspace = true }
base64 = "0.22.1"
bytes = "1.8.0"
chrono = { version = "0.4", default-features = false }
clade = { path = "clade" }
clap = { version = "4.5.21", features = [ "derive" ] }
config = "0.14.0"
# PG wire protocol support
convergence = { git = "https://github.com/splitgraph/convergence", branch = "datafusion-44-upgrade", optional = true }
convergence-arrow = { git = "https://github.com/splitgraph/convergence", branch = "datafusion-44-upgrade", optional = true }
dashmap = "6.1.0"
datafusion = { workspace = true }
datafusion-common = { workspace = true }
datafusion-expr = { workspace = true }
datafusion-functions-nested = { workspace = true }
datafusion-remote-tables = { path = "./datafusion_remote_tables", optional = true }
deltalake = { git = "https://github.com/splitgraph/delta-rs", rev = "a639dea6289839161baae15ff368db74dbac2074", features = ["datafusion", "s3"] }
fastrand = "2.2.0"
futures = "0.3"
hex = ">=0.4.0"
iceberg = { workspace = true }
iceberg-datafusion = { workspace = true }
indexmap = "2.6.0"
itertools = { workspace = true }
lazy_static = ">=1.4.0"
metrics = { version = "0.23.0" }
metrics-exporter-prometheus = { version = "0.15.3" }
moka = { version = "0.12.5", default-features = false, features = ["future", "atomic64", "quanta"] }
object_store = { workspace = true }
object_store_factory = { path = "object_store_factory" }
opendal = { version = "0.50" }
parquet = "53.3.0"
percent-encoding = "2.2.0"
prost = { workspace = true }
# Needs to be in non-dev because repository::testutils can't be
# imported by tests::end_to_end if it's cfg(test).
rand = "0.8"
regex = ">=1.6.0"
reqwest = { version = "0.12.8", features = [ "stream" ] }
rmp = "0.8.11"
rmp-serde = "1.1.1"
rmpv = { version = "1.0.0", features = ["with-serde"] }
rustyline = "14.0"
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = ">=0.10.1"
sqlparser = { version = "0.53", features = ["visitor"] }
sqlx = { version = "0.7.1", features = [ "runtime-tokio-rustls", "sqlite", "any", "uuid" ] }
strum = ">=0.24"
strum_macros = ">=0.24"
tempfile = "3"
thiserror = "2"
tokio = { workspace = true }
tokio-graceful-shutdown = { version = "0.15" }
tonic = { workspace = true, optional = true }
tower = "0.5"
tracing = { workspace = true }
tracing-log = "0.2"
tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }
url = "2.5"
uuid = "1.11.0"
warp = "0.3.6"
# For WASM user-defined functions
wasi-common = "25.0.0"
wasmtime = "25.0.2"
wasmtime-wasi = "27.0.0"
[dev-dependencies]
assert_cmd = "2"
assert_unordered = "0.3"
aws-config = { version = "1.5.10", features = ["behavior-version-latest"] }
aws-credential-types = { version = "1.2.1", features = ["hardcoded-credentials"] }
aws-sdk-sts = { version = "1.46.0", features = ["behavior-version-latest"] }
rstest = "*"
serial_test = "3"
tonic-reflection = "0.12"
wiremock = "0.6"
[build-dependencies]
anyhow = "1.0.91" # for build.rs
vergen-gitcl = { version = "1", features = ["build", "cargo", "rustc"] }
[profile.release]
codegen-units = 1
lto = true
strip = true
[profile.release-with-debug]
debug = true
inherits = "release"
strip = false