-
Notifications
You must be signed in to change notification settings - Fork 35
/
Cargo.toml
249 lines (244 loc) · 6.79 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
[workspace]
members = [
"g3bench",
"g3fcgen",
"g3iploc",
"g3iploc/utils/db",
"g3keymess",
"g3keymess/proto",
"g3keymess/utils/ctl",
"g3mkcert",
"g3proxy",
"g3proxy/proto",
"g3proxy/utils/ctl",
"g3proxy/utils/ftp",
"g3proxy/utils/lua",
"g3tiles",
"g3tiles/proto",
"g3tiles/utils/ctl",
"lib/g3-build-env",
"lib/g3-cert-agent",
"lib/g3-clap",
"lib/g3-compat",
"lib/g3-ctl",
"lib/g3-daemon",
"lib/g3-datetime",
"lib/g3-dpi",
"lib/g3-fluentd",
"lib/g3-ftp-client",
"lib/g3-geoip-db",
"lib/g3-geoip-types",
"lib/g3-h2",
"lib/g3-hickory-client",
"lib/g3-histogram",
"lib/g3-http",
"lib/g3-icap-client",
"lib/g3-imap-proto",
"lib/g3-io-ext",
"lib/g3-ip-locate",
"lib/g3-journal",
"lib/g3-json",
"lib/g3-msgpack",
"lib/g3-openssl",
"lib/g3-redis-client",
"lib/g3-resolver",
"lib/g3-runtime",
"lib/g3-slog-types",
"lib/g3-smtp-proto",
"lib/g3-socket",
"lib/g3-socks",
"lib/g3-statsd-client",
"lib/g3-stdlog",
"lib/g3-syslog",
"lib/g3-tls-cert",
"lib/g3-tls-ticket",
"lib/g3-types",
"lib/g3-udpdump",
"lib/g3-xcrypt",
"lib/g3-yaml",
]
default-members = [
"g3bench",
"g3fcgen",
"g3iploc",
"g3iploc/utils/db",
"g3mkcert",
"g3proxy",
"g3proxy/utils/ctl",
"g3proxy/utils/ftp",
"g3proxy/utils/lua",
"g3tiles",
"g3tiles/utils/ctl",
"g3keymess",
"g3keymess/proto",
"g3keymess/utils/ctl",
]
resolver = "2"
[workspace.package]
license = "Apache-2.0"
edition = "2021"
[workspace.dependencies]
#
anyhow = "1.0"
thiserror = "2.0"
rand = "0.8"
fastrand = "2.0"
memchr = "2.4"
constant_time_eq = "0.3"
uuid = "1.3"
base64 = "0.22"
regex = "1.11"
arc-swap = "1.2"
chrono = { version = "0.4.37", default-features = false }
governor = { version = "0.7", default-features = false }
ascii = "1.0"
humanize-rs = "0.1"
#
portable-atomic = "1.9"
itoa = "1.0"
atoi = "2.0"
ryu = "1.0"
num-traits = "0.2"
#
bytes = "1.0"
smallvec = "1.11"
smol_str = { version = "0.3", default-features = false }
ahash = "0.8"
rustc-hash = "2.0"
fnv = "1"
indexmap = "2.6"
ip_network = "0.4"
ip_network_table = "0.2"
radix_trie = "0.2"
fixedbitset = "0.5"
bitflags = "2.4"
lru = { version = "0.12", default-features = false }
#
digest = "0.10.7"
md-5 = "0.10.0"
sha2 = "0.10.0"
sha-1 = "0.10.0"
blake3 = { version = "1.5", default-features = false }
hex = "0.4.2"
hex-literal = "0.4"
#
idna = "1.0"
url = "2.1"
mime = "0.3"
percent-encoding = "2.1"
http = "1.0"
h2 = "0.4"
h3-quinn = "0.0.7"
h3 = "0.0.6"
#
log = "0.4"
slog = "2"
hdrhistogram = { version = "7.5", default-features = false }
#
clap = "4.5.20"
clap_complete = "4.5.36"
#
tokio = "1.41.0"
tokio-util = "0.7"
tokio-test = "0.4"
futures-util = "0.3"
atomic-waker = "1.1"
async-trait = "0.1"
async-recursion = "1.1"
pin-project-lite = "0.2"
#
rustls-pki-types = { version = "1", default-features = false }
rustls = { version = "0.23.15", default-features = false, features = ["std", "tls12", "brotli"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["tls12"] }
quinn = { version = "0.11", default-features = false, features = ["runtime-tokio"] }
quinn-udp = { version = "0.5.6", default-features = false, features = ["fast-apple-datapath"] }
#
openssl = { package = "variant-ssl", version = "0.15.5" }
openssl-sys = { package = "variant-ssl-sys", version = "0.15.5" }
openssl-probe = "0.1"
#
flume = { version = "0.11", default-features = false }
#
c-ares = { version = "11.0", default-features = false }
c-ares-resolver = { version = "10.0", default-features = false }
c-ares-sys = { version = "10.0", default-features = false }
hickory-proto = { version = "0.24.0", default-features = false }
hickory-client = { version = "0.24.0", default-features = false }
#
capnp-rpc = "0.20"
capnp = "0.20"
capnpc = "0.20"
#
libc = "0.2.156"
rustix = { version = "0.38", default-features = false }
windows-sys = "0.59"
#
serde = "1.0"
yaml-rust = { package = "yaml-rust2", version = "0.9" }
serde_json = "1.0"
rmp-serde = "1"
rmp = "0.8"
rmpv = "1.0"
#
redis = { version = "0.27", default-features = false }
#
mlua = "0.10"
pyo3 = { version = "0.23", default-features = false, features = ["auto-initialize"] }
#
cfg-if = "1.0"
#
g3-build-env = { version = "0.1", path = "lib/g3-build-env" }
g3-cert-agent = { version = "0.1", path = "lib/g3-cert-agent" }
g3-clap = { version = "0.1", path = "lib/g3-clap" }
g3-compat = { version = "0.1", path = "lib/g3-compat" }
g3-ctl = { version = "0.1", path = "lib/g3-ctl" }
g3-daemon = { version = "0.2", path = "lib/g3-daemon" }
g3-datetime = { version = "0.1", path = "lib/g3-datetime" }
g3-dpi = { version = "0.1", path = "lib/g3-dpi" }
g3-fluentd = { version = "0.1", path = "lib/g3-fluentd" }
g3-ftp-client = { version = "0.3", path = "lib/g3-ftp-client" }
g3-geoip-db = { version = "0.2", path = "lib/g3-geoip-db" }
g3-geoip-types = { version = "0.1", path = "lib/g3-geoip-types" }
g3-h2 = { version = "0.1", path = "lib/g3-h2" }
g3-hickory-client = { version = "0.1", path = "lib/g3-hickory-client" }
g3-histogram = { version = "0.1", path = "lib/g3-histogram" }
g3-http = { version = "0.3", path = "lib/g3-http" }
g3-icap-client = { version = "0.2", path = "lib/g3-icap-client" }
g3-imap-proto = { version = "0.1", path = "lib/g3-imap-proto" }
g3-io-ext = { version = "0.7", path = "lib/g3-io-ext" }
g3-ip-locate = { version = "0.1", path = "lib/g3-ip-locate" }
g3-journal = { version = "0.2", path = "lib/g3-journal" }
g3-json = { version = "0.3", path = "lib/g3-json" }
g3-msgpack = { version = "0.2", path = "lib/g3-msgpack" }
g3-openssl = { version = "0.3", path = "lib/g3-openssl" }
g3-redis-client = { version = "0.1", path = "lib/g3-redis-client" }
g3-resolver = { version = "0.6", path = "lib/g3-resolver" }
g3-runtime = { version = "0.3", path = "lib/g3-runtime" }
g3-slog-types = { version = "0.1", path = "lib/g3-slog-types" }
g3-smtp-proto = { version = "0.1", path = "lib/g3-smtp-proto" }
g3-socket = { version = "0.4", path = "lib/g3-socket" }
g3-socks = { version = "0.2", path = "lib/g3-socks" }
g3-statsd-client = { version = "0.1", path = "lib/g3-statsd-client" }
g3-stdlog = { version = "0.1", path = "lib/g3-stdlog" }
g3-syslog = { version = "0.6", path = "lib/g3-syslog" }
g3-tls-cert = { version = "0.5", path = "lib/g3-tls-cert" }
g3-tls-ticket = { version = "0.1", path = "lib/g3-tls-ticket" }
g3-types = { version = "0.5", path = "lib/g3-types" }
g3-udpdump = { version = "0.1", path = "lib/g3-udpdump" }
g3-xcrypt = { version = "0.1", path = "lib/g3-xcrypt" }
g3-yaml = { version = "0.5.0", path = "lib/g3-yaml" }
[profile.release-lto]
inherits = "release"
strip = true
lto = true
[profile.release-dbg]
inherits = "release"
debug = 1
debug-assertions = false
[profile.release-z]
inherits = "release"
opt-level = "z"
panic = "abort"
codegen-units = 1
strip = true
lto = true