-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
250 lines (241 loc) · 11.7 KB
/
Copy pathCargo.toml
File metadata and controls
250 lines (241 loc) · 11.7 KB
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
[workspace]
members = [
"rs/cli",
"rs/decentralization",
"rs/ic-management-backend",
"rs/ic-management-types",
"rs/ic-observability/config-writer-common",
"rs/ic-observability/log-noise-filter-backend",
"rs/ic-observability/log-noise-filter-downloader",
"rs/ic-observability/multiservice-discovery",
"rs/ic-observability/multiservice-discovery-downloader",
"rs/ic-observability/multiservice-discovery-shared",
"rs/ic-observability/obs-canister-clients",
"rs/ic-observability/prometheus-config-updater",
"rs/ic-observability/service-discovery",
"rs/ic-observability/sns-downloader",
"rs/log-fetcher",
"rs/canister-log-fetcher",
"rs/slack-notifications",
"rs/dre-canisters/trustworthy-node-metrics/src/trustworthy-node-metrics-types",
"rs/ic-observability/general-testnet-service-discovery",
]
resolver = "2"
[workspace.package]
version = "0.8.1"
edition = "2024"
authors = ["IC Decentralized Reliability Engineering (DRE) Team"]
description = "Tooling for managing the Internet Computer"
documentation = "https://github.com/dfinity/dre/"
license = "Apache-2.0"
[workspace.dependencies]
actix-web = { version = "4.11.0", default-features = false, features = [
"compress-gzip",
"macros",
] }
actix-rt = "2.11.0"
ahash = "0.8.12"
anyhow = "1.0.99"
async-recursion = "1.1.1"
async-trait = "0.1.89"
axum-otel-metrics = "0.11.0"
axum = "0.8.8"
backoff = { version = "0.4.0", features = ["tokio"] }
backon = "1.5.2"
candid = "0.10.18"
chrono = { version = "0.4.42", features = ["serde"] }
clap-num = "1.2"
clap = { version = "4.5", features = [
"derive",
"env",
"usage",
"color",
"help",
"error-context",
"suggestions",
"wrap_help",
"string",
"cargo",
] }
clap_complete = "4.5.57"
colored = "2.2.0"
comfy-table = "7.2.0"
assert_cmd = "2.0.17"
crossbeam = "0.8.4"
crossbeam-channel = "0.5.15"
cryptoki = "0.7.0"
custom_error = "1.9.2"
decentralization = { path = "rs/decentralization" }
trustworthy-node-metrics-types = { path = "rs/dre-canisters/trustworthy-node-metrics/src/trustworthy-node-metrics-types" }
dialoguer = "0.11.0"
dirs = "5.0.1"
dotenv = "0.15.0"
base64 = "0.22.1"
edit = "0.1.5"
env_logger = "0.11.8"
erased-serde = "0.4.6"
flate2 = "1.1.2"
fs-err = "3.1.1"
fs2 = "0.4.3"
function_name = "0.3"
futures = "0.3.31"
futures-util = "0.3.31"
hex = "0.4.3"
humantime = "2.2.0"
humantime-serde = "1.1.1"
ic-agent = "0.49.1"
# Disable default features to drop `rustls-ring`; use the aws-lc-rs provider
# instead so the whole workspace standardizes on a single rustls CryptoProvider
# (matching the ic repo). All other default features are re-enabled explicitly.
octocrab = { version = "0.41.2", default-features = false, features = [
"follow-redirect",
"retry",
"rustls",
"rustls-aws-lc-rs",
"timeout",
"tracing",
"default-client",
] }
self_update = { version = "0.41.0", default-features = false, features = [
"archive-tar",
"rustls",
] }
ic-base-types = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-canister-client = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-canister-client-sender = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-canisters = { path = "rs/ic-canisters" }
ic-http-types = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-config = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-crypto-utils-threshold-sig-der = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-dummy-getrandom-for-wasm = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-http-endpoints-metrics = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-interfaces-registry = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-management-backend = { path = "rs/ic-management-backend" }
ic-management-canister-types-private = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-management-types = { path = "rs/ic-management-types" }
ic-metrics = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nervous-system-canisters = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nervous-system-common = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nervous-system-runtime = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nns-common = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nns-constants = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nns-governance = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nns-governance-api = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-protobuf = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-canister-client = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-canister-api = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-client = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-client-fake = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-client-helpers = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-common-proto = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-keys = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-local-registry = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-local-store = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-local-store-artifacts = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-nns-data-provider = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-subnet-type = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-registry-transport = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-sys = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-types = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nervous-system-root = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nervous-system-clients = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-nervous-system-proto = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-sns-wasm = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
cycles-minting-canister = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-icrc1-test-utils = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
rosetta-core = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
icp-ledger = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
icrc-ledger-types = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-metrics-encoder = "1.1.1"
ic-transport-types = "0.49.1"
ic-utils = { version = "0.49.1", features = ["raw"] }
itertools = "0.13.0"
keyring = { version = "3.6.3", features = [
"apple-native",
"sync-secret-service",
] }
lazy_static = "1.5.0"
log = "0.4.28"
lru = "0.12.5"
num-traits = "0.2"
opentelemetry = { version = "0.29", features = ["metrics"] }
opentelemetry_sdk = "0.29"
opentelemetry-prometheus = "0.29.1"
pretty_assertions = "1.4.1"
pretty_env_logger = "0.5.0"
# TLS is provided by the workspace `reqwest` dependency configured with
# `rustls-tls-webpki-roots-no-provider` (aws-lc-rs provider). Don't enable a
# rustls feature here, since prometheus-http-query only exposes the `ring`-based
# variant which would reintroduce the dual-provider ambiguity.
prometheus-http-query = { version = "0.8.3", default-features = false }
prometheus = { version = "0.14.0", features = ["process"] }
prost = "0.14.3"
rand = { version = "0.9.2", features = ["std_rng"] }
rand_seeder = "0.3.0"
regex = "1.11.2"
registry-canister = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
reqwest = { version = "0.12", default-features = false, features = [
# Use the "-no-provider" variant so reqwest does not force the `ring`
# rustls CryptoProvider. We standardize on `aws-lc-rs` (matching the ic
# repo) and install it as the process-level default at startup.
"rustls-tls-webpki-roots-no-provider",
"blocking",
] }
# Match the ic repo: standardize the rustls CryptoProvider on `aws-lc-rs`.
rustls = { version = "0.23", default-features = false, features = [
"aws_lc_rs",
"std",
"tls12",
] }
retry = "2.1.0"
rstest = { version = "0.23.0", default-features = false }
rust_decimal = "1.37.2"
rust_decimal_macros = "1.37.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.143", default-features = false, features = [
"preserve_order",
] }
serde_yaml = "0.9.34"
shlex = "1.3.0"
sha2 = "0.10.9"
simple_asn1 = "0.6.3"
slog-async = { version = "2.8.0", features = ["nested-values"] }
slog-term = "2.9.2"
slog = { version = "2.7.0", features = [
"max_level_trace",
"nested-values",
"release_max_level_debug",
"release_max_level_trace",
] }
spinners = "4.1.1"
strum = { version = "0.26.3", features = ["derive"] }
strum_macros = "0.26.4"
tabled = "0.18.0"
csv_to_table = "0.3"
tabular = "0.2"
tempfile = "3.22.0"
thiserror = "2.0.16"
tokio = { version = "1.47.1", features = ["full"] }
tokio-util = "0.7.16"
url = "2.5.7"
wiremock = "=0.6.4"
human_bytes = "0.4"
mockall = "0.13.1"
csv = "1.3.1"
# dre-canisters dependencies
ic-cdk = { version = "^0.18.7" }
ic-cdk-timers = { version = "^0.12.2" }
ic-cdk-macros = { version = "^0.18.7" }
ic-stable-structures = "0.6.9"
dfn_core = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
rewards-calculation = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
ic-node-rewards-canister-api = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
# dre-airflow deps, should be replaced with dre-airflow once
indexmap = { version = "2.11.1", features = ["serde"] }
[patch.crates-io]
ic-error-types = { git = "https://github.com/dfinity/ic.git", rev = "98ed17c502df46abd46d2dabe1f4332232855901" }
[profile.release]
# Add debug information to the release build (does NOT reduce the level of optimization!)
# Makes flamegraphs and backtraces more readable.
# https://doc.rust-lang.org/cargo/reference/manifest.html#the-profile-sections
debug = true