forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
193 lines (174 loc) · 7.01 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
[workspace]
members = [
"src/adapter",
"src/alloc",
"src/audit-log",
"src/avro",
"src/avro-derive",
"src/aws-s3-util",
"src/aws-secrets-controller",
"src/build-id",
"src/build-info",
"src/ccsr",
"src/catalog",
"src/cloud-api",
"src/cluster",
"src/clusterd",
"src/cluster-client",
"src/compute",
"src/compute-client",
"src/compute-types",
"src/controller",
"src/controller-types",
"src/environmentd",
"src/expr",
"src/expr-parser",
"src/expr-test-util",
"src/frontegg-auth",
"src/frontegg-client",
"src/http-util",
"src/interchange",
"src/kafka-util",
"src/lowertest",
"src/lowertest-derive",
"src/metabase",
"src/mz",
"src/npm",
"src/orchestrator",
"src/orchestrator-kubernetes",
"src/orchestrator-process",
"src/orchestrator-tracing",
"src/ore",
"src/persist",
"src/persist-cli",
"src/persist-client",
"src/persist-txn",
"src/persist-types",
"src/pgcopy",
"src/pgrepr",
"src/pgrepr-consts",
"src/pgtest",
"src/pgwire",
"src/pid-file",
"src/postgres-util",
"src/prof",
"src/proto",
"src/repr",
"src/repr-test-util",
"src/rocksdb",
"src/rocksdb-types",
"src/s3-datagen",
"src/secrets",
"src/segment",
"src/service",
"src/ssh-util",
"src/sql",
"src/sql-lexer",
"src/sql-parser",
"src/sqllogictest",
"src/stash",
"src/stash-debug",
"src/storage",
"src/storage-client",
"src/storage-controller",
"src/storage-operators",
"src/storage-types",
"src/test-macro",
"src/testdrive",
"src/timely-util",
"src/tracing",
"src/transform",
"src/cloud-resources",
"src/walkabout",
"src/workspace-hack",
"test/metabase/smoketest",
"test/test-util",
"src/regexp",
]
exclude = [
# Exclude the wasm crate to avoid needless cache invalidations.
"src/sql-lexer-wasm",
]
# Use Cargo's new feature resolver, which can handle target-specific features.
# Explicit opt-in is required even with the 2021 edition because we use a
# virtual workspace.
# See: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver
resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.72.0"
[profile.dev.package]
# Compile the backtrace crate and its dependencies with all optimizations, even
# in dev builds, since otherwise backtraces can take 20s+ to symbolize. With
# optimizations enabled, symbolizing a backtrace takes less than 1s.
addr2line = { opt-level = 3 }
adler = { opt-level = 3 }
backtrace = { opt-level = 3 }
gimli = { opt-level = 3 }
miniz_oxide = { opt-level = 3 }
object = { opt-level = 3 }
rustc-demangle = { opt-level = 3 }
[profile.release]
# Emit full debug info, allowing us to easily analyze core dumps from
# staging (and, in an emergency, also prod).
#
# This does not negatively impact the sizes of the main binaries
# (clusterd and environmentd), since we split the debuginfo from those
# and ship it separately to an s3 bucket before building their
# docker containers.
debug = 2
# IMPORTANT: when patching a dependency, you should only depend on "main",
# "master", or an upstream release branch (e.g., "v7.x"). Do *not* depend on a
# feature/patch branch (e.g., "fix-thing" or "pr-1234"). Feature/patch branches
# tend to get rewritten or disappear (e.g., because a PR is force pushed or gets
# merged), after which point it becomes impossible to build that historical
# version of Materialize.
[patch.crates-io]
# Projects that do not reliably release to crates.io.
timely = { git = "https://github.com/MaterializeInc/timely-dataflow.git" }
timely_bytes = { git = "https://github.com/MaterializeInc/timely-dataflow.git" }
timely_communication = { git = "https://github.com/MaterializeInc/timely-dataflow.git" }
timely_container = { git = "https://github.com/MaterializeInc/timely-dataflow.git" }
timely_logging = { git = "https://github.com/MaterializeInc/timely-dataflow.git" }
differential-dataflow = { git = "https://github.com/MaterializeInc/differential-dataflow.git" }
dogsdogsdogs = { git = "https://github.com/MaterializeInc/differential-dataflow.git" }
# Waiting on https://github.com/sfackler/rust-postgres/pull/752.
postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
postgres-protocol = { git = "https://github.com/MaterializeInc/rust-postgres" }
postgres-types = { git = "https://github.com/MaterializeInc/rust-postgres" }
postgres-openssl = { git = "https://github.com/MaterializeInc/rust-postgres" }
postgres_array = { git = "https://github.com/MaterializeInc/rust-postgres-array" }
# Waiting on https://github.com/MaterializeInc/serde-value/pull/35.
serde-value = { git = "https://github.com/MaterializeInc/serde-value.git" }
# Waiting for a new release of strip-ansi-escapes that avoids the indirect
# dependency on arrayvec v0.5.2 via a dependency on vte v0.10.1.
vte = { git = "https://github.com/MaterializeInc/vte", rev = "45670c47cebd7af050def2f80a307bdeec7caba3" }
# Waiting on https://github.com/hyperium/tonic/pull/1398.
tonic-build = { git = "https://github.com/MaterializeInc/tonic", rev = "0d86e360ab45779770ca150c8487fe7940c299a9" }
# Waiting on https://github.com/MaterializeInc/tracing/pull/1 to be submitted
# upstream.
tracing-opentelemetry = { git = "https://github.com/MaterializeInc/tracing-opentelemetry.git" }
# Waiting on https://github.com/launchdarkly/rust-server-sdk/pull/20 to make
# it into a release.
launchdarkly-server-sdk = { git = "https://github.com/MaterializeInc/rust-server-sdk" }
# Waiting on https://github.com/AltSysrq/proptest/pull/264.
proptest = { git = "https://github.com/MaterializeInc/proptest.git" }
proptest-derive = { git = "https://github.com/MaterializeInc/proptest.git" }
# Waiting on https://github.com/edenhill/librdkafka/pull/4051.
rdkafka = { git = "https://github.com/MaterializeInc/rust-rdkafka.git" }
rdkafka-sys = { git = "https://github.com/MaterializeInc/rust-rdkafka.git" }
# Waiting on https://github.com/openssh-rust/openssh/pull/120 to make it into
# a release.
openssh = { git = "https://github.com/MaterializeInc/openssh.git" }
# Waiting for a new release of kube-client compatible with base64 0.21.0
kube-client = { git = "https://github.com/MaterializeInc/kube-rs.git", rev = "838a7981483005e1af7c1338c48a4d0540a33ce4" }
kube-core = { git = "https://github.com/MaterializeInc/kube-rs.git", rev = "838a7981483005e1af7c1338c48a4d0540a33ce4" }
# Waiting on `lru` dep to update to `0.11.0`
mysql_async = { git = "https://github.com/MaterializeInc/mysql_async.git" }
# Removes dependencies required for WASM support that create duplicated deps.
reqwest-middleware = { git = "https://github.com/MaterializeInc/reqwest-middleware.git" }
reqwest-retry = { git = "https://github.com/MaterializeInc/reqwest-middleware.git" }
[patch."https://github.com/frankmcsherry/columnation"]
# Projects that do not reliably release to crates.io.
columnation = { git = "https://github.com/MaterializeInc/columnation.git" }