-
Notifications
You must be signed in to change notification settings - Fork 54
/
Cargo.toml
245 lines (232 loc) · 6.83 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
[workspace]
resolver = "2"
members = ["crates/*"]
exclude = ["crates/derive-typescript"]
[workspace.package]
version = "0.0.0"
edition = "2021"
rust-version = "1.65"
authors = ["Estuary developers <engineering@estuary.dev>"]
readme = "./README.md"
homepage = "https://estuary.dev/"
repository = "https://github.com/estuary/flow"
license = "BSL"
[workspace.dependencies]
addr = { version = "0.15.4", default-features = false, features = ["std"] }
anyhow = "1.0"
async-compression = { version = "0.3", features = [
"futures-io",
"gzip",
"tokio",
"zstd",
] }
async-stripe = { version = "0.37", features = ["runtime-tokio-hyper"] }
async-trait = "0.1"
atty = "0.2"
apache-avro = { version = "0.16.0", features = ["snappy"] }
base64 = "0.13"
bigdecimal = "0.3.0"
# TODO(johnny): bitvec had a breaking 1.0 release we've not upgraded to yet.
bitvec = "0.19"
bytecount = { version = "0.6.3", features = ["runtime-dispatch-simd"] }
bytes = "1.6"
bytesize = "1.1.0"
bumpalo = { version = "3.14", features = ["collections"] }
bytelines = "2.4"
byteorder = "1.4"
caseless = "0.2"
chardetng = "0.1"
chrono = { version = "0.4", features = ["serde"] }
clap = { package = "clap", version = "4", features = ["derive", "env"] }
colored_json = "3"
comfy-table = "6.1"
# The `console_error_panic_hook` crate causes panics in a Rust WASM module to be logged
# with `console.error`.
console_error_panic_hook = { version = "0.1.6" }
aes-siv = "0.7.0"
crypto-common = "0.1.6"
crossterm = "0.25"
csv = "1.1"
dirs = "4.0"
deadpool = "0.12.1"
encoding_rs = { version = "0.8", features = ["serde"] }
exponential-backoff = "1.1.0"
fancy-regex = "0.10"
flate2 = "1.0"
futures = "0.3"
futures-core = "0.3"
futures-util = "0.3"
fxhash = "0.2" # Used in `json` crate. Replace with xxhash.
hex = "0.4.3"
hexdump = "0.1"
humantime = "2.1"
humantime-serde = "1.1"
itertools = "0.10"
indexmap = { version = "1.8", features = ["serde"] }
ipnetwork = { version = "0.19", features = ["serde"] }
iri-string = "0.6.0"
jemallocator = { version = "0.3", features = ["profiling"] }
jemalloc-ctl = "0.3"
json-patch = "0.3"
jsonwebtoken = { version = "9", default-features = false }
js-sys = "0.3.60"
kafka-protocol = "0.13.0"
lazy_static = "1.4"
libc = "0.2"
librocksdb-sys = { version = "0.16.0", default-features = false, features = [
"snappy",
"rtti",
] }
log = "0.4" # only used to configure logging of dependencies
lz4 = "1.24.0"
lz4_flex = "0.11.0"
mime = "0.3"
memchr = "2.5"
metrics = "0.23.0"
metrics-exporter-prometheus = "0.15.3"
prometheus = "0.13.4"
md5 = "0.7.0"
num-bigint = "0.4"
open = "3"
parquet = { version = "53", features = ["json"] }
pathfinding = "3.0"
pbjson = "0.7"
pbjson-types = "0.7"
percent-encoding = "2.1"
pin-project-lite = "0.2"
postgrest = "1.6"
page-turner = "0.8.2"
prost = "0.13"
protobuf = "3.1"
protobuf-json-mapping = "3.1"
protobuf-parse = "3.1"
regex = "1.5"
reqwest = { version = "0.11", default-features = false, features = [
"json",
"rustls-tls",
"stream",
] }
rocksdb = { version = "0.22", default-features = false, features = [
"snappy",
"rtti",
] }
rkyv = { version = "0.7", features = ["archive_le"] }
rsasl = { version = "2.1.0", default-features = false, features = [
"provider",
"config_builder",
"registry_static",
"scram-sha-1",
"scram-sha-2",
"plain",
] }
rusqlite = { version = "0.29", features = ["bundled-full"] }
rustyline = "11.0"
schemars = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value", "float_roundtrip"] }
serde_yaml = "0.8"
serde-transcode = "1.1"
serde-wasm-bindgen = "0.4"
size = "0.4"
socket2 = "0.5.7"
strsim = "0.10"
strum = { version = "0.24", features = ["derive"] }
strum_macros = "0.24"
superslice = "1.0"
sqlx = { version = "0.6", features = [
"chrono",
"ipnetwork",
"json",
"macros",
"postgres",
"runtime-tokio-native-tls",
"uuid",
] }
typestate = "0.8.0"
tokio-rustls = "0.26.0"
rustls = { version = "0.23.10", features = ["aws_lc_rs"] }
rustls-pemfile = "2.1.3"
webpki = "0.22.4"
tempfile = "3.3"
portpicker = "0.1.1"
tempdir = "0.3"
thiserror = "1.0"
time = { version = "0.3", features = [
"serde-well-known",
"macros",
"formatting",
"parsing",
] }
tinyvec = { version = "1.6", features = ["alloc"] }
# We CANNOT enable the tokio "process" feature: https://github.com/tokio-rs/tokio/issues/3520
# Instead, use the async-process crate which encapsulates a work-around.
tokio = { version = "1", features = [
"fs",
"io-util",
"macros",
"net",
"rt-multi-thread",
"signal",
"sync",
"time",
] }
tokio-util = { version = "0.7", features = ["io", "compat", "rt"] }
tonic = { version = "0.12", features = ["tls", "tls-roots"] }
hyper-util = "0.1"
tower = { version = "0.5", features = ["util"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"time",
"json",
"env-filter",
"fmt",
] }
rustls-native-certs = "0.7.2"
zeroize = "1.6"
unicode-bom = "1.1"
unicode-normalization = "0.1"
url = { version = "2.2", features = ["serde"] }
uuid = { version = "1.1", features = ["serde", "v4"] }
validator = { version = "0.15", features = ["derive"] }
quickcheck = "1.0"
quickcheck_macros = "1.0"
wasm-bindgen = "0.2.62"
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
# compared to the default allocator's ~10K. It is slower than the default
# allocator, however. It is an optional dependency for WASM modules.
wee_alloc = { version = "0.4" }
xxhash-rust = { version = "0.8", features = ["xxh3"] }
yaml-merge-keys = { version = "0.5", features = ["serde_yaml"] }
zip = "0.5"
zstd = "0.11.2"
derivative = "2.2.0"
# Used exclusively as dev-dependencies
assert_cmd = "2.0"
criterion = "0.3"
glob = "0.3"
insta = { version = "1.20", features = ["redactions", "json", "yaml"] }
pretty_assertions = "1.4.0"
rand = { version = "0.8", features = ["small_rng"] }
rand_distr = { version = "0.4" }
serial_test = "0.9"
wasm-bindgen-test = "0.3.13"
# Used exclusively as build-dependencies
cbindgen = "0.23"
pbjson-build = "0.7"
prost-build = "0.13"
tonic-build = "0.12"
warp = "0.3.3" # TODO(johnny) remove me in favor of axum
axum = { version = "0.7", features = ["macros"] }
axum-server = { version = "0.7", features = ["tls-rustls"] }
axum-extra = { version = "0.9", features = ["typed-header"] }
[profile.release]
incremental = true
debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
[patch.'crates-io']
rocksdb = { git = "https://github.com/jgraettinger/rust-rocksdb", branch = "from-raw" }
librocksdb-sys = { git = "https://github.com/jgraettinger/rust-rocksdb", branch = "from-raw" }
# Recommended by sqlx authors to speed up build-time checks.
# https://github.com/launchbadge/sqlx#compile-time-verification
[profile.dev.package.sqlx-macros]
opt-level = 3