-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
251 lines (244 loc) · 7.39 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
246
247
248
249
250
251
[workspace]
members = [
"agent_api",
"agent_core",
"async_util",
"bigtable",
"bitvec",
"build_info",
"chaos_puppy",
"cluster_api",
"cluster_bench",
"cluster_cli",
"cluster_core",
"cluster_manager",
"codegen",
"election",
"entrust_agent",
"entrust_api",
"entrust_hsm",
"entrust_init",
"entrust_nfast",
"entrust_ops",
"google",
"google_pubsub",
"hsm_api",
"hsm_core",
"jburl",
"load_balancer",
"lru-cache",
"merkle_tree_docgen",
"observability",
"pubsub_api",
"retry_loop",
"secret_manager",
"service_core",
"service_checker",
"software_agent",
"software_hsm",
"software_hsm_client",
"store",
"table",
"testing",
]
default-members = [
"agent_api",
"agent_core",
"async_util",
"bigtable",
"bitvec",
"chaos_puppy",
"cluster_api",
"cluster_bench",
"cluster_cli",
"cluster_core",
"cluster_manager",
"codegen",
"election",
"entrust_ops",
"google",
"google_pubsub",
"hsm_api",
"hsm_core",
"jburl",
"load_balancer",
"lru-cache",
"observability",
"pubsub_api",
"retry_loop",
"secret_manager",
"service_core",
"service_checker",
"software_agent",
"software_hsm",
"software_hsm_client",
"store",
"table",
"testing",
]
# This allows the submodules to reference their workspaces (for dependencies
# and such), rather than this one.
exclude = ["ciborium", "gcp_auth", "sdk"]
resolver = "2"
[workspace.package]
rust-version = "1.75"
version = "0.3.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.dependencies]
agent_api = { path = "agent_api" }
agent_core = { path = "agent_core" }
anyhow = "1.0.79"
async-channel = "2.2.0"
async-trait = "0.1.77"
async_util = { path = "async_util" }
bigtable = { path = "bigtable" }
bindgen = "0.69.1"
bitvec = { path = "bitvec" }
blake2 = { version = "0.10.6", default-features = false }
build_info = { path = "build_info" }
bytes = { version = "1.5.0", default-features = false }
cbor-diag = { version = "0.1.12" }
chacha20poly1305 = { version = "0.10.1", default-features = false, features = [
"alloc",
] }
# Simon audited chrono 0.4.30 in Sept 2023. Didn't review anything behind a feature flag.
# Diego audited chrono's changes from 0.4.30 to 0.4.31 in Jan 2024.
chrono = { version = "=0.4.31", default-features = false }
# ciborium and ciborium-io are pinned because we have a local fork.
ciborium = { version = "=0.2.1", default-features = false }
ciborium-io = { version = "=0.2.1", default-features = false }
clap = { version = "4.4.14", features = ["derive", "string", "env"] }
cluster_api = { path = "cluster_api" }
cluster_core = { path = "cluster_core" }
digest = "0.10.7"
# Diego audited dogstatsd v0.10.0 in Aug 2023.
# Simon audited dogstatsd v0.11.1 in Nov 2023.
dogstatsd = "=0.11.1"
election = { path = "election" }
entrust_api = { path = "entrust_api" }
entrust_nfast = { path = "entrust_nfast" }
expect-test = "1.4.1"
futures = "0.3.30"
# gcp_auth is pinned because we have a local fork.
gcp_auth = { version = "=0.9.0", default-features = false, features = [
"webpki-roots",
] }
google = { path = "google" }
google_pubsub = { path = "google_pubsub" }
hashbrown = { version = "0.14.3", default-features = false, features = [
"inline-more",
"serde",
] }
hdrhistogram = { version = "7.5.4", default-features = false }
# Google and Mozilla audited hex 0.4.3 (`cargo vet`).
hex = { version = "=0.4.3", default-features = false, features=["alloc"] }
hkdf = "0.12.4"
hmac = "0.12.1"
hsm_api = { path = "hsm_api" }
hsm_core = { path = "hsm_core" }
http = "0.2.11"
http-body-util = "0.1.0"
hyper = { version = "1.1.0", features = ["http1", "http2", "server"] }
hyper-util = { version = "0.1.2", features = ["tokio"] }
itertools = { version = "0.12.0" }
jburl = { path = "jburl" }
juicebox_sdk = { path = "sdk/rust/sdk", features = ["reqwest", "tokio"] }
juicebox_marshalling = { path = "sdk/rust/marshalling" }
juicebox_networking = { path = "sdk/rust/networking", features = [
"distributed-tracing",
"reqwest",
] }
juicebox_noise = { path = "sdk/rust/noise" }
juicebox_oprf = { path = "sdk/rust/oprf" }
juicebox_process_group = { path = "sdk/rust/process_group" }
juicebox_realm_api = { path = "sdk/rust/realm/api" }
juicebox_realm_auth = { path = "sdk/rust/realm/auth" }
lru-cache = { path = "lru-cache" }
nix = { version = "0.27.1", default-features = false, features = ["signal"] }
observability = { path = "observability" }
once_cell = "1.19.0"
opentelemetry = "0.21.0"
opentelemetry-otlp = "0.14.0"
opentelemetry_sdk = { version = "0.21.2", features = ["rt-tokio"] }
pin-project = "1.1.3"
pin-project-lite = "0.2.13"
prost = "0.12.3"
prost-types = "0.12.3"
pubsub_api = { path = "pubsub_api" }
rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
rand_core = "0.6.4"
reqwest = { version = "0.11.23", default-features = false, features = [
"rustls-tls",
] }
retry_loop = { path = "retry_loop" }
rustls = "0.22.2"
rustls-pemfile = "2.0"
secret_manager = { path = "secret_manager" }
semver = "1.0.21"
serde = { version = "1.0.195", default-features = false, features = [
"alloc",
"derive",
] }
serde_json = "1.0.111"
service_core = { path = "service_core" }
sha2 = "0.10.8"
software_hsm_client = { path = "software_hsm_client" }
# Diego audited only the spin mutex in spin 0.9.8 (502c9dc) in Aug 2023.
spin = { version = "=0.9.8", default-features = false, features = [
"mutex",
"spin_mutex",
] }
store = { path = "store" }
subtle = { version = "2.5.0", default-features = false }
sysinfo = { version = "0.30" }
table = { path = "table" }
tempfile = "3.9.0"
testing = { path = "testing" }
thiserror = "1.0.56"
tokio = { version = "1.35.1", features = [
"rt-multi-thread",
"macros",
"signal",
] }
tokio-rustls = "0.25.0"
tokio-stream = { version="0.1.14", features = ["sync"] }
tokio-util = { version="0.7.10" }
tonic = { version = "0.10.2", features = [
"channel",
"tls",
"tls-webpki-roots",
] }
tonic-build = "0.10.2"
tower-service = "0.3.2"
tracing = { version = "0.1.40", default-features = false, features = [
"attributes",
] }
tracing-core = { version = "0.1.32" }
tracing-opentelemetry = "0.22.0"
tracing-subscriber = { version = "0.3.18", features = ["json"] }
url = { version = "2.5.0", features = ["serde"] }
x25519-dalek = { version = "2.0", features = [
"reusable_secrets",
"serde",
"static_secrets",
] }
x509-cert = { version = "0.2.5", default-features = false }
# These local forks are checked out as Git submodules.
#
# Defining the patch section here instead of the paths above allows tooling
# like cargo-upgrade (from the cargo-edit project) to report when the forked
# versions fall behind the crates.io versions.
#
# Using Git submodules instead of pointing Cargo to the Git repositories works
# better for offline reproducible builds (for key ceremonies). If we tell Cargo
# about the Git repos, the Git information ends up in Cargo.lock, and we don't
# want to need the full Git repo for offline builds. This also simplifies the
# GitHub Actions workflows, which can easily check out submodules but require
# more configuration to set up Cargo to access private repos.
#
[patch.crates-io]
gcp_auth = { path = "gcp_auth" }
ciborium = { path = "ciborium/ciborium" }
ciborium-io = { path = "ciborium/ciborium-io" }
[profile.release]
debug = true