forked from helium/oracles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
174 lines (164 loc) · 4.53 KB
/
Cargo.toml
File metadata and controls
174 lines (164 loc) · 4.53 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
[profile.release]
debug = true
[workspace]
members = [
"coverage_map",
"coverage_point_calculator",
"custom_tracing",
"db_store",
"denylist",
"file_store",
"file_store_oracles",
"ingest",
"iot_config",
"iot_packet_verifier",
"iot_verifier",
"metrics",
"mobile_config",
"mobile_config_cli",
"mobile_packet_verifier",
"mobile_verifier",
"poc_entropy",
"price",
"price_tracker",
"reward_index",
"reward_scheduler",
"solana",
"task_manager",
"hex_assignments",
"aws_local",
"tls_init",
]
resolver = "2"
[workspace.package]
authors = ["Nova Labs <info@nova-labs.com>"]
license = "Apache-2.0"
edition = "2021"
[workspace.dependencies]
anyhow = { version = "1", features = ["backtrace"] }
bs58 = { version = "0.5.1", features = ["check"] }
thiserror = "1"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
http-serde = "2"
http = "1"
chrono = { version = "0", features = ["serde"] }
tokio = { version = "1", default-features = false, features = [
"fs",
"macros",
"signal",
"sync",
"rt-multi-thread",
"rt",
"process",
"time",
] }
tokio-stream = "0"
sqlx = { version = "0.8", default-features = false, features = [
"postgres",
"uuid",
"rust_decimal",
"chrono",
"migrate",
"macros",
"runtime-tokio",
"tls-rustls-aws-lc-rs",
] }
helium-crypto = { version = "0.9.3", default-features = false }
hextree = { git = "https://github.com/jaykickliter/HexTree", branch = "main", features = [
"disktree",
] }
reqwest = { version = "0", default-features = false, features = [
"gzip",
"json",
"http2",
"default-tls",
] }
humantime = "2"
humantime-serde = "1"
metrics = ">=0.22"
metrics-exporter-prometheus = "0"
tracing = "0"
tracing-subscriber = { version = "0", default-features = false, features = [
"env-filter",
"registry",
"fmt",
] }
rust_decimal = { version = "1", features = ["macros"] }
rust_decimal_macros = "1"
base64 = ">=0.21"
sha2 = "0.10"
triggered = "0"
futures = "*"
futures-util = "*"
config = { version = "0", default-features = false, features = ["toml"] }
h3o = { version = "0", features = ["serde"] }
xorf = { version = "0", features = ["serde"] }
bytes = "*"
bincode = "1"
twox-hash = "1"
async-trait = "*"
blake3 = "*"
retainer = "*"
rand = "0.8"
itertools = "0.14"
tokio-util = "0"
uuid = { version = "1", features = ["v4", "serde"] }
tower-http = { version = "0", features = ["trace"] }
derive_builder = "0"
tempfile = "3"
csv = "*"
strum = { version = "0", features = ["derive"] }
strum_macros = "0"
### AWS
aws-config = "1.8"
aws-sdk-s3 = "1.94.0"
aws-sdk-sts = "1.76"
aws-sigv4 = "1.3.3"
aws-credential-types = "1.2.4"
aws-smithy-types-convert = { version = "0.60.9", features = [
"convert-streams",
] }
url = "2.5.4"
### Protobuf
helium-proto = { git = "https://github.com/helium/proto", branch = "master", features = [
"services",
] }
beacon = { git = "https://github.com/helium/proto", branch = "master" }
helium-proto-crypto = { git = "https://github.com/helium/helium-wallet-rs", branch = "master" }
# Pickup versions from above
prost = "*"
tonic = { version = "*", features = ["tls-aws-lc", "tls-native-roots"] }
### TLS
# Updates to `rustls` now support multiple CryptoProvider backends. Namely
# `aws-lc-rs` (default) and `ring` (legacy).
#
# Until more crates have updated to default to `aws-lc-rs` we need to ensure
# that a single CryptoProvider backend is installed. Because of our heavy
# reliance on aws crates, we've chosen `aws-lc-rs`. Also because `rustls` has
# recently chosen that as it's default.
#
# If you're crate needs to use tls, add the following.
# // Cargo.toml
# tls-init = { path = "../tls_init" }
#
# // lib.rs
# `extern crate tls_init;`
#
# `tls_init` uses `ctor` to run a constructor when the code is loaded a single
# time. We need to `extern` the crate to prevent the linker from optimizing the
# codepath away because there are no direct calls into the workspace.
[patch.crates-io]
anchor-lang = { git = "https://github.com/madninja/anchor.git", branch = "madninja/const_pubkey" }
# When attempting to test proto changes without needing to push a branch you can
# patch the github url to point to your local proto repo.
#
# Patching for beacon must point directly to the crate, it will not look in the
# repo for sibling crates.
#
# [patch.'https://github.com/helium/proto']
# helium-proto = { path = "../proto" }
# beacon = { path = "../proto/beacon" }
# [patch.'https://github.com/helium/proto']
# helium-proto = { git = "https://www.github.com/helium/proto.git", branch = "dcyoung/radio-usage-stats-req-v2" }