summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Cargo.lock1069
-rw-r--r--Cargo.toml8
-rw-r--r--docker-compose.yml22
-rw-r--r--src/config.rs22
-rw-r--r--src/main.rs15
-rw-r--r--src/requests/device.rs7
-rw-r--r--src/requests/start.rs8
8 files changed, 720 insertions, 432 deletions
diff --git a/.gitignore b/.gitignore
index f337b94..8fecb9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
1/target 1/target
2/postgres-data 2/postgres-data
3webol-cli.toml 3webol-cli.toml
4/devices
diff --git a/Cargo.lock b/Cargo.lock
index 25f23fe..efeb4e9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 3
4 4
5[[package]] 5[[package]]
6name = "addr2line" 6name = "addr2line"
7version = "0.21.0" 7version = "0.22.0"
8source = "registry+https://github.com/rust-lang/crates.io-index" 8source = "registry+https://github.com/rust-lang/crates.io-index"
9checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" 9checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678"
10dependencies = [ 10dependencies = [
11 "gimli", 11 "gimli",
12] 12]
@@ -19,63 +19,64 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
19 19
20[[package]] 20[[package]]
21name = "anstream" 21name = "anstream"
22version = "0.6.12" 22version = "0.6.14"
23source = "registry+https://github.com/rust-lang/crates.io-index" 23source = "registry+https://github.com/rust-lang/crates.io-index"
24checksum = "96b09b5178381e0874812a9b157f7fe84982617e48f71f4e3235482775e5b540" 24checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b"
25dependencies = [ 25dependencies = [
26 "anstyle", 26 "anstyle",
27 "anstyle-parse", 27 "anstyle-parse",
28 "anstyle-query", 28 "anstyle-query",
29 "anstyle-wincon", 29 "anstyle-wincon",
30 "colorchoice", 30 "colorchoice",
31 "is_terminal_polyfill",
31 "utf8parse", 32 "utf8parse",
32] 33]
33 34
34[[package]] 35[[package]]
35name = "anstyle" 36name = "anstyle"
36version = "1.0.4" 37version = "1.0.7"
37source = "registry+https://github.com/rust-lang/crates.io-index" 38source = "registry+https://github.com/rust-lang/crates.io-index"
38checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" 39checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b"
39 40
40[[package]] 41[[package]]
41name = "anstyle-parse" 42name = "anstyle-parse"
42version = "0.2.2" 43version = "0.2.4"
43source = "registry+https://github.com/rust-lang/crates.io-index" 44source = "registry+https://github.com/rust-lang/crates.io-index"
44checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" 45checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4"
45dependencies = [ 46dependencies = [
46 "utf8parse", 47 "utf8parse",
47] 48]
48 49
49[[package]] 50[[package]]
50name = "anstyle-query" 51name = "anstyle-query"
51version = "1.0.0" 52version = "1.1.0"
52source = "registry+https://github.com/rust-lang/crates.io-index" 53source = "registry+https://github.com/rust-lang/crates.io-index"
53checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" 54checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391"
54dependencies = [ 55dependencies = [
55 "windows-sys 0.48.0", 56 "windows-sys 0.52.0",
56] 57]
57 58
58[[package]] 59[[package]]
59name = "anstyle-wincon" 60name = "anstyle-wincon"
60version = "3.0.1" 61version = "3.0.3"
61source = "registry+https://github.com/rust-lang/crates.io-index" 62source = "registry+https://github.com/rust-lang/crates.io-index"
62checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" 63checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19"
63dependencies = [ 64dependencies = [
64 "anstyle", 65 "anstyle",
65 "windows-sys 0.48.0", 66 "windows-sys 0.52.0",
66] 67]
67 68
68[[package]] 69[[package]]
69name = "anyhow" 70name = "anyhow"
70version = "1.0.80" 71version = "1.0.86"
71source = "registry+https://github.com/rust-lang/crates.io-index" 72source = "registry+https://github.com/rust-lang/crates.io-index"
72checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" 73checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"
73 74
74[[package]] 75[[package]]
75name = "async-trait" 76name = "async-trait"
76version = "0.1.74" 77version = "0.1.80"
77source = "registry+https://github.com/rust-lang/crates.io-index" 78source = "registry+https://github.com/rust-lang/crates.io-index"
78checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" 79checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca"
79dependencies = [ 80dependencies = [
80 "proc-macro2", 81 "proc-macro2",
81 "quote", 82 "quote",
@@ -83,16 +84,22 @@ dependencies = [
83] 84]
84 85
85[[package]] 86[[package]]
87name = "atomic-waker"
88version = "1.1.2"
89source = "registry+https://github.com/rust-lang/crates.io-index"
90checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
91
92[[package]]
86name = "autocfg" 93name = "autocfg"
87version = "1.1.0" 94version = "1.3.0"
88source = "registry+https://github.com/rust-lang/crates.io-index" 95source = "registry+https://github.com/rust-lang/crates.io-index"
89checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 96checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
90 97
91[[package]] 98[[package]]
92name = "backtrace" 99name = "backtrace"
93version = "0.3.69" 100version = "0.3.73"
94source = "registry+https://github.com/rust-lang/crates.io-index" 101source = "registry+https://github.com/rust-lang/crates.io-index"
95checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" 102checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
96dependencies = [ 103dependencies = [
97 "addr2line", 104 "addr2line",
98 "cc", 105 "cc",
@@ -105,9 +112,15 @@ dependencies = [
105 112
106[[package]] 113[[package]]
107name = "base64" 114name = "base64"
108version = "0.21.5" 115version = "0.21.7"
116source = "registry+https://github.com/rust-lang/crates.io-index"
117checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
118
119[[package]]
120name = "base64"
121version = "0.22.1"
109source = "registry+https://github.com/rust-lang/crates.io-index" 122source = "registry+https://github.com/rust-lang/crates.io-index"
110checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" 123checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
111 124
112[[package]] 125[[package]]
113name = "bitflags" 126name = "bitflags"
@@ -117,9 +130,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
117 130
118[[package]] 131[[package]]
119name = "bitflags" 132name = "bitflags"
120version = "2.4.1" 133version = "2.5.0"
121source = "registry+https://github.com/rust-lang/crates.io-index" 134source = "registry+https://github.com/rust-lang/crates.io-index"
122checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" 135checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
123dependencies = [ 136dependencies = [
124 "serde", 137 "serde",
125] 138]
@@ -135,9 +148,9 @@ dependencies = [
135 148
136[[package]] 149[[package]]
137name = "bumpalo" 150name = "bumpalo"
138version = "3.14.0" 151version = "3.16.0"
139source = "registry+https://github.com/rust-lang/crates.io-index" 152source = "registry+https://github.com/rust-lang/crates.io-index"
140checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" 153checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
141 154
142[[package]] 155[[package]]
143name = "byteorder" 156name = "byteorder"
@@ -147,18 +160,15 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
147 160
148[[package]] 161[[package]]
149name = "bytes" 162name = "bytes"
150version = "1.5.0" 163version = "1.6.0"
151source = "registry+https://github.com/rust-lang/crates.io-index" 164source = "registry+https://github.com/rust-lang/crates.io-index"
152checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" 165checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
153 166
154[[package]] 167[[package]]
155name = "cc" 168name = "cc"
156version = "1.0.84" 169version = "1.0.99"
157source = "registry+https://github.com/rust-lang/crates.io-index" 170source = "registry+https://github.com/rust-lang/crates.io-index"
158checksum = "0f8e7c90afad890484a21653d08b6e209ae34770fb5ee298f9c699fcc1e5c856" 171checksum = "96c51067fd44124faa7f870b4b1c969379ad32b2ba805aa959430ceaa384f695"
159dependencies = [
160 "libc",
161]
162 172
163[[package]] 173[[package]]
164name = "cfg-if" 174name = "cfg-if"
@@ -168,9 +178,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
168 178
169[[package]] 179[[package]]
170name = "clap" 180name = "clap"
171version = "4.5.1" 181version = "4.5.7"
172source = "registry+https://github.com/rust-lang/crates.io-index" 182source = "registry+https://github.com/rust-lang/crates.io-index"
173checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da" 183checksum = "5db83dced34638ad474f39f250d7fea9598bdd239eaced1bdf45d597da0f433f"
174dependencies = [ 184dependencies = [
175 "clap_builder", 185 "clap_builder",
176 "clap_derive", 186 "clap_derive",
@@ -178,9 +188,9 @@ dependencies = [
178 188
179[[package]] 189[[package]]
180name = "clap_builder" 190name = "clap_builder"
181version = "4.5.1" 191version = "4.5.7"
182source = "registry+https://github.com/rust-lang/crates.io-index" 192source = "registry+https://github.com/rust-lang/crates.io-index"
183checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb" 193checksum = "f7e204572485eb3fbf28f871612191521df159bc3e15a9f5064c66dba3a8c05f"
184dependencies = [ 194dependencies = [
185 "anstream", 195 "anstream",
186 "anstyle", 196 "anstyle",
@@ -190,18 +200,18 @@ dependencies = [
190 200
191[[package]] 201[[package]]
192name = "clap_complete" 202name = "clap_complete"
193version = "4.5.1" 203version = "4.5.5"
194source = "registry+https://github.com/rust-lang/crates.io-index" 204source = "registry+https://github.com/rust-lang/crates.io-index"
195checksum = "885e4d7d5af40bfb99ae6f9433e292feac98d452dcb3ec3d25dfe7552b77da8c" 205checksum = "d2020fa13af48afc65a9a87335bda648309ab3d154cd03c7ff95b378c7ed39c4"
196dependencies = [ 206dependencies = [
197 "clap", 207 "clap",
198] 208]
199 209
200[[package]] 210[[package]]
201name = "clap_derive" 211name = "clap_derive"
202version = "4.5.0" 212version = "4.5.5"
203source = "registry+https://github.com/rust-lang/crates.io-index" 213source = "registry+https://github.com/rust-lang/crates.io-index"
204checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" 214checksum = "c780290ccf4fb26629baa7a1081e68ced113f1d3ec302fa5948f1c381ebf06c6"
205dependencies = [ 215dependencies = [
206 "heck", 216 "heck",
207 "proc-macro2", 217 "proc-macro2",
@@ -211,15 +221,15 @@ dependencies = [
211 221
212[[package]] 222[[package]]
213name = "clap_lex" 223name = "clap_lex"
214version = "0.7.0" 224version = "0.7.1"
215source = "registry+https://github.com/rust-lang/crates.io-index" 225source = "registry+https://github.com/rust-lang/crates.io-index"
216checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" 226checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70"
217 227
218[[package]] 228[[package]]
219name = "colorchoice" 229name = "colorchoice"
220version = "1.0.0" 230version = "1.0.1"
221source = "registry+https://github.com/rust-lang/crates.io-index" 231source = "registry+https://github.com/rust-lang/crates.io-index"
222checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" 232checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
223 233
224[[package]] 234[[package]]
225name = "config" 235name = "config"
@@ -243,22 +253,22 @@ dependencies = [
243 253
244[[package]] 254[[package]]
245name = "console" 255name = "console"
246version = "0.15.7" 256version = "0.15.8"
247source = "registry+https://github.com/rust-lang/crates.io-index" 257source = "registry+https://github.com/rust-lang/crates.io-index"
248checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" 258checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
249dependencies = [ 259dependencies = [
250 "encode_unicode", 260 "encode_unicode",
251 "lazy_static", 261 "lazy_static",
252 "libc", 262 "libc",
253 "unicode-width", 263 "unicode-width",
254 "windows-sys 0.45.0", 264 "windows-sys 0.52.0",
255] 265]
256 266
257[[package]] 267[[package]]
258name = "const-random" 268name = "const-random"
259version = "0.1.17" 269version = "0.1.18"
260source = "registry+https://github.com/rust-lang/crates.io-index" 270source = "registry+https://github.com/rust-lang/crates.io-index"
261checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" 271checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
262dependencies = [ 272dependencies = [
263 "const-random-macro", 273 "const-random-macro",
264] 274]
@@ -285,9 +295,9 @@ dependencies = [
285 295
286[[package]] 296[[package]]
287name = "core-foundation" 297name = "core-foundation"
288version = "0.9.3" 298version = "0.9.4"
289source = "registry+https://github.com/rust-lang/crates.io-index" 299source = "registry+https://github.com/rust-lang/crates.io-index"
290checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" 300checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
291dependencies = [ 301dependencies = [
292 "core-foundation-sys", 302 "core-foundation-sys",
293 "libc", 303 "libc",
@@ -295,15 +305,15 @@ dependencies = [
295 305
296[[package]] 306[[package]]
297name = "core-foundation-sys" 307name = "core-foundation-sys"
298version = "0.8.4" 308version = "0.8.6"
299source = "registry+https://github.com/rust-lang/crates.io-index" 309source = "registry+https://github.com/rust-lang/crates.io-index"
300checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" 310checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
301 311
302[[package]] 312[[package]]
303name = "cpufeatures" 313name = "cpufeatures"
304version = "0.2.11" 314version = "0.2.12"
305source = "registry+https://github.com/rust-lang/crates.io-index" 315source = "registry+https://github.com/rust-lang/crates.io-index"
306checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" 316checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
307dependencies = [ 317dependencies = [
308 "libc", 318 "libc",
309] 319]
@@ -326,9 +336,9 @@ dependencies = [
326 336
327[[package]] 337[[package]]
328name = "data-encoding" 338name = "data-encoding"
329version = "2.4.0" 339version = "2.6.0"
330source = "registry+https://github.com/rust-lang/crates.io-index" 340source = "registry+https://github.com/rust-lang/crates.io-index"
331checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" 341checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
332 342
333[[package]] 343[[package]]
334name = "digest" 344name = "digest"
@@ -362,6 +372,17 @@ dependencies = [
362] 372]
363 373
364[[package]] 374[[package]]
375name = "displaydoc"
376version = "0.2.4"
377source = "registry+https://github.com/rust-lang/crates.io-index"
378checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d"
379dependencies = [
380 "proc-macro2",
381 "quote",
382 "syn",
383]
384
385[[package]]
365name = "dlv-list" 386name = "dlv-list"
366version = "0.5.2" 387version = "0.5.2"
367source = "registry+https://github.com/rust-lang/crates.io-index" 388source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -378,9 +399,9 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
378 399
379[[package]] 400[[package]]
380name = "encoding_rs" 401name = "encoding_rs"
381version = "0.8.33" 402version = "0.8.34"
382source = "registry+https://github.com/rust-lang/crates.io-index" 403source = "registry+https://github.com/rust-lang/crates.io-index"
383checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" 404checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59"
384dependencies = [ 405dependencies = [
385 "cfg-if", 406 "cfg-if",
386] 407]
@@ -393,19 +414,19 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
393 414
394[[package]] 415[[package]]
395name = "errno" 416name = "errno"
396version = "0.3.6" 417version = "0.3.9"
397source = "registry+https://github.com/rust-lang/crates.io-index" 418source = "registry+https://github.com/rust-lang/crates.io-index"
398checksum = "7c18ee0ed65a5f1f81cac6b1d213b69c35fa47d4252ad41f1486dbd8226fe36e" 419checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
399dependencies = [ 420dependencies = [
400 "libc", 421 "libc",
401 "windows-sys 0.48.0", 422 "windows-sys 0.52.0",
402] 423]
403 424
404[[package]] 425[[package]]
405name = "fastrand" 426name = "fastrand"
406version = "2.0.1" 427version = "2.1.0"
407source = "registry+https://github.com/rust-lang/crates.io-index" 428source = "registry+https://github.com/rust-lang/crates.io-index"
408checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" 429checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
409 430
410[[package]] 431[[package]]
411name = "fnv" 432name = "fnv"
@@ -430,39 +451,40 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
430 451
431[[package]] 452[[package]]
432name = "form_urlencoded" 453name = "form_urlencoded"
433version = "1.2.0" 454version = "1.2.1"
434source = "registry+https://github.com/rust-lang/crates.io-index" 455source = "registry+https://github.com/rust-lang/crates.io-index"
435checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" 456checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
436dependencies = [ 457dependencies = [
437 "percent-encoding", 458 "percent-encoding",
438] 459]
439 460
440[[package]] 461[[package]]
441name = "futures-channel" 462name = "futures-channel"
442version = "0.3.29" 463version = "0.3.30"
443source = "registry+https://github.com/rust-lang/crates.io-index" 464source = "registry+https://github.com/rust-lang/crates.io-index"
444checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" 465checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
445dependencies = [ 466dependencies = [
446 "futures-core", 467 "futures-core",
468 "futures-sink",
447] 469]
448 470
449[[package]] 471[[package]]
450name = "futures-core" 472name = "futures-core"
451version = "0.3.29" 473version = "0.3.30"
452source = "registry+https://github.com/rust-lang/crates.io-index" 474source = "registry+https://github.com/rust-lang/crates.io-index"
453checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" 475checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
454 476
455[[package]] 477[[package]]
456name = "futures-io" 478name = "futures-io"
457version = "0.3.29" 479version = "0.3.30"
458source = "registry+https://github.com/rust-lang/crates.io-index" 480source = "registry+https://github.com/rust-lang/crates.io-index"
459checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" 481checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
460 482
461[[package]] 483[[package]]
462name = "futures-macro" 484name = "futures-macro"
463version = "0.3.29" 485version = "0.3.30"
464source = "registry+https://github.com/rust-lang/crates.io-index" 486source = "registry+https://github.com/rust-lang/crates.io-index"
465checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" 487checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
466dependencies = [ 488dependencies = [
467 "proc-macro2", 489 "proc-macro2",
468 "quote", 490 "quote",
@@ -471,21 +493,21 @@ dependencies = [
471 493
472[[package]] 494[[package]]
473name = "futures-sink" 495name = "futures-sink"
474version = "0.3.29" 496version = "0.3.30"
475source = "registry+https://github.com/rust-lang/crates.io-index" 497source = "registry+https://github.com/rust-lang/crates.io-index"
476checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" 498checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
477 499
478[[package]] 500[[package]]
479name = "futures-task" 501name = "futures-task"
480version = "0.3.29" 502version = "0.3.30"
481source = "registry+https://github.com/rust-lang/crates.io-index" 503source = "registry+https://github.com/rust-lang/crates.io-index"
482checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" 504checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
483 505
484[[package]] 506[[package]]
485name = "futures-util" 507name = "futures-util"
486version = "0.3.29" 508version = "0.3.30"
487source = "registry+https://github.com/rust-lang/crates.io-index" 509source = "registry+https://github.com/rust-lang/crates.io-index"
488checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" 510checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
489dependencies = [ 511dependencies = [
490 "futures-core", 512 "futures-core",
491 "futures-io", 513 "futures-io",
@@ -510,9 +532,9 @@ dependencies = [
510 532
511[[package]] 533[[package]]
512name = "getrandom" 534name = "getrandom"
513version = "0.2.11" 535version = "0.2.15"
514source = "registry+https://github.com/rust-lang/crates.io-index" 536source = "registry+https://github.com/rust-lang/crates.io-index"
515checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" 537checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
516dependencies = [ 538dependencies = [
517 "cfg-if", 539 "cfg-if",
518 "libc", 540 "libc",
@@ -521,23 +543,23 @@ dependencies = [
521 543
522[[package]] 544[[package]]
523name = "gimli" 545name = "gimli"
524version = "0.28.0" 546version = "0.29.0"
525source = "registry+https://github.com/rust-lang/crates.io-index" 547source = "registry+https://github.com/rust-lang/crates.io-index"
526checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" 548checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
527 549
528[[package]] 550[[package]]
529name = "h2" 551name = "h2"
530version = "0.3.21" 552version = "0.4.5"
531source = "registry+https://github.com/rust-lang/crates.io-index" 553source = "registry+https://github.com/rust-lang/crates.io-index"
532checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" 554checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab"
533dependencies = [ 555dependencies = [
556 "atomic-waker",
534 "bytes", 557 "bytes",
535 "fnv", 558 "fnv",
536 "futures-core", 559 "futures-core",
537 "futures-sink", 560 "futures-sink",
538 "futures-util", 561 "http",
539 "http 0.2.10", 562 "indexmap",
540 "indexmap 1.9.3",
541 "slab", 563 "slab",
542 "tokio", 564 "tokio",
543 "tokio-util", 565 "tokio-util",
@@ -546,39 +568,33 @@ dependencies = [
546 568
547[[package]] 569[[package]]
548name = "hashbrown" 570name = "hashbrown"
549version = "0.12.3"
550source = "registry+https://github.com/rust-lang/crates.io-index"
551checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
552
553[[package]]
554name = "hashbrown"
555version = "0.13.2" 571version = "0.13.2"
556source = "registry+https://github.com/rust-lang/crates.io-index" 572source = "registry+https://github.com/rust-lang/crates.io-index"
557checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" 573checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
558 574
559[[package]] 575[[package]]
560name = "hashbrown" 576name = "hashbrown"
561version = "0.14.3" 577version = "0.14.5"
562source = "registry+https://github.com/rust-lang/crates.io-index" 578source = "registry+https://github.com/rust-lang/crates.io-index"
563checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" 579checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
564 580
565[[package]] 581[[package]]
566name = "heck" 582name = "heck"
567version = "0.4.1" 583version = "0.5.0"
568source = "registry+https://github.com/rust-lang/crates.io-index" 584source = "registry+https://github.com/rust-lang/crates.io-index"
569checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 585checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
570 586
571[[package]] 587[[package]]
572name = "hermit-abi" 588name = "hermit-abi"
573version = "0.3.3" 589version = "0.3.9"
574source = "registry+https://github.com/rust-lang/crates.io-index" 590source = "registry+https://github.com/rust-lang/crates.io-index"
575checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" 591checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
576 592
577[[package]] 593[[package]]
578name = "http" 594name = "http"
579version = "0.2.10" 595version = "1.1.0"
580source = "registry+https://github.com/rust-lang/crates.io-index" 596source = "registry+https://github.com/rust-lang/crates.io-index"
581checksum = "f95b9abcae896730d42b78e09c155ed4ddf82c07b4de772c64aee5b2d8b7c150" 597checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
582dependencies = [ 598dependencies = [
583 "bytes", 599 "bytes",
584 "fnv", 600 "fnv",
@@ -586,111 +602,235 @@ dependencies = [
586] 602]
587 603
588[[package]] 604[[package]]
589name = "http" 605name = "http-body"
590version = "1.0.0" 606version = "1.0.0"
591source = "registry+https://github.com/rust-lang/crates.io-index" 607source = "registry+https://github.com/rust-lang/crates.io-index"
592checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" 608checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643"
593dependencies = [ 609dependencies = [
594 "bytes", 610 "bytes",
595 "fnv", 611 "http",
596 "itoa",
597] 612]
598 613
599[[package]] 614[[package]]
600name = "http-body" 615name = "http-body-util"
601version = "0.4.5" 616version = "0.1.2"
602source = "registry+https://github.com/rust-lang/crates.io-index" 617source = "registry+https://github.com/rust-lang/crates.io-index"
603checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" 618checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
604dependencies = [ 619dependencies = [
605 "bytes", 620 "bytes",
606 "http 0.2.10", 621 "futures-util",
622 "http",
623 "http-body",
607 "pin-project-lite", 624 "pin-project-lite",
608] 625]
609 626
610[[package]] 627[[package]]
611name = "httparse" 628name = "httparse"
612version = "1.8.0" 629version = "1.9.3"
613source = "registry+https://github.com/rust-lang/crates.io-index"
614checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
615
616[[package]]
617name = "httpdate"
618version = "1.0.3"
619source = "registry+https://github.com/rust-lang/crates.io-index" 630source = "registry+https://github.com/rust-lang/crates.io-index"
620checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 631checksum = "d0e7a4dd27b9476dc40cb050d3632d3bba3a70ddbff012285f7f8559a1e7e545"
621 632
622[[package]] 633[[package]]
623name = "hyper" 634name = "hyper"
624version = "0.14.27" 635version = "1.3.1"
625source = "registry+https://github.com/rust-lang/crates.io-index" 636source = "registry+https://github.com/rust-lang/crates.io-index"
626checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" 637checksum = "fe575dd17d0862a9a33781c8c4696a55c320909004a67a00fb286ba8b1bc496d"
627dependencies = [ 638dependencies = [
628 "bytes", 639 "bytes",
629 "futures-channel", 640 "futures-channel",
630 "futures-core",
631 "futures-util", 641 "futures-util",
632 "h2", 642 "h2",
633 "http 0.2.10", 643 "http",
634 "http-body", 644 "http-body",
635 "httparse", 645 "httparse",
636 "httpdate",
637 "itoa", 646 "itoa",
638 "pin-project-lite", 647 "pin-project-lite",
639 "socket2 0.4.10", 648 "smallvec",
640 "tokio", 649 "tokio",
641 "tower-service",
642 "tracing",
643 "want", 650 "want",
644] 651]
645 652
646[[package]] 653[[package]]
647name = "hyper-tls" 654name = "hyper-tls"
648version = "0.5.0" 655version = "0.6.0"
649source = "registry+https://github.com/rust-lang/crates.io-index" 656source = "registry+https://github.com/rust-lang/crates.io-index"
650checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" 657checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
651dependencies = [ 658dependencies = [
652 "bytes", 659 "bytes",
660 "http-body-util",
653 "hyper", 661 "hyper",
662 "hyper-util",
654 "native-tls", 663 "native-tls",
655 "tokio", 664 "tokio",
656 "tokio-native-tls", 665 "tokio-native-tls",
666 "tower-service",
657] 667]
658 668
659[[package]] 669[[package]]
660name = "idna" 670name = "hyper-util"
661version = "0.4.0" 671version = "0.1.5"
662source = "registry+https://github.com/rust-lang/crates.io-index" 672source = "registry+https://github.com/rust-lang/crates.io-index"
663checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" 673checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56"
664dependencies = [ 674dependencies = [
665 "unicode-bidi", 675 "bytes",
666 "unicode-normalization", 676 "futures-channel",
677 "futures-util",
678 "http",
679 "http-body",
680 "hyper",
681 "pin-project-lite",
682 "socket2",
683 "tokio",
684 "tower",
685 "tower-service",
686 "tracing",
667] 687]
668 688
669[[package]] 689[[package]]
670name = "indexmap" 690name = "icu_collections"
671version = "1.9.3" 691version = "1.5.0"
672source = "registry+https://github.com/rust-lang/crates.io-index" 692source = "registry+https://github.com/rust-lang/crates.io-index"
673checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 693checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
674dependencies = [ 694dependencies = [
675 "autocfg", 695 "displaydoc",
676 "hashbrown 0.12.3", 696 "yoke",
697 "zerofrom",
698 "zerovec",
699]
700
701[[package]]
702name = "icu_locid"
703version = "1.5.0"
704source = "registry+https://github.com/rust-lang/crates.io-index"
705checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
706dependencies = [
707 "displaydoc",
708 "litemap",
709 "tinystr",
710 "writeable",
711 "zerovec",
712]
713
714[[package]]
715name = "icu_locid_transform"
716version = "1.5.0"
717source = "registry+https://github.com/rust-lang/crates.io-index"
718checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
719dependencies = [
720 "displaydoc",
721 "icu_locid",
722 "icu_locid_transform_data",
723 "icu_provider",
724 "tinystr",
725 "zerovec",
726]
727
728[[package]]
729name = "icu_locid_transform_data"
730version = "1.5.0"
731source = "registry+https://github.com/rust-lang/crates.io-index"
732checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
733
734[[package]]
735name = "icu_normalizer"
736version = "1.5.0"
737source = "registry+https://github.com/rust-lang/crates.io-index"
738checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
739dependencies = [
740 "displaydoc",
741 "icu_collections",
742 "icu_normalizer_data",
743 "icu_properties",
744 "icu_provider",
745 "smallvec",
746 "utf16_iter",
747 "utf8_iter",
748 "write16",
749 "zerovec",
750]
751
752[[package]]
753name = "icu_normalizer_data"
754version = "1.5.0"
755source = "registry+https://github.com/rust-lang/crates.io-index"
756checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
757
758[[package]]
759name = "icu_properties"
760version = "1.5.0"
761source = "registry+https://github.com/rust-lang/crates.io-index"
762checksum = "1f8ac670d7422d7f76b32e17a5db556510825b29ec9154f235977c9caba61036"
763dependencies = [
764 "displaydoc",
765 "icu_collections",
766 "icu_locid_transform",
767 "icu_properties_data",
768 "icu_provider",
769 "tinystr",
770 "zerovec",
771]
772
773[[package]]
774name = "icu_properties_data"
775version = "1.5.0"
776source = "registry+https://github.com/rust-lang/crates.io-index"
777checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
778
779[[package]]
780name = "icu_provider"
781version = "1.5.0"
782source = "registry+https://github.com/rust-lang/crates.io-index"
783checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
784dependencies = [
785 "displaydoc",
786 "icu_locid",
787 "icu_provider_macros",
788 "stable_deref_trait",
789 "tinystr",
790 "writeable",
791 "yoke",
792 "zerofrom",
793 "zerovec",
794]
795
796[[package]]
797name = "icu_provider_macros"
798version = "1.5.0"
799source = "registry+https://github.com/rust-lang/crates.io-index"
800checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
801dependencies = [
802 "proc-macro2",
803 "quote",
804 "syn",
805]
806
807[[package]]
808name = "idna"
809version = "1.0.0"
810source = "registry+https://github.com/rust-lang/crates.io-index"
811checksum = "4716a3a0933a1d01c2f72450e89596eb51dd34ef3c211ccd875acdf1f8fe47ed"
812dependencies = [
813 "icu_normalizer",
814 "icu_properties",
815 "smallvec",
816 "utf8_iter",
677] 817]
678 818
679[[package]] 819[[package]]
680name = "indexmap" 820name = "indexmap"
681version = "2.2.3" 821version = "2.2.6"
682source = "registry+https://github.com/rust-lang/crates.io-index" 822source = "registry+https://github.com/rust-lang/crates.io-index"
683checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" 823checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
684dependencies = [ 824dependencies = [
685 "equivalent", 825 "equivalent",
686 "hashbrown 0.14.3", 826 "hashbrown 0.14.5",
687] 827]
688 828
689[[package]] 829[[package]]
690name = "indicatif" 830name = "indicatif"
691version = "0.17.7" 831version = "0.17.8"
692source = "registry+https://github.com/rust-lang/crates.io-index" 832source = "registry+https://github.com/rust-lang/crates.io-index"
693checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" 833checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3"
694dependencies = [ 834dependencies = [
695 "console", 835 "console",
696 "instant", 836 "instant",
@@ -701,9 +841,9 @@ dependencies = [
701 841
702[[package]] 842[[package]]
703name = "instant" 843name = "instant"
704version = "0.1.12" 844version = "0.1.13"
705source = "registry+https://github.com/rust-lang/crates.io-index" 845source = "registry+https://github.com/rust-lang/crates.io-index"
706checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 846checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
707dependencies = [ 847dependencies = [
708 "cfg-if", 848 "cfg-if",
709] 849]
@@ -715,16 +855,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
715checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" 855checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
716 856
717[[package]] 857[[package]]
858name = "is_terminal_polyfill"
859version = "1.70.0"
860source = "registry+https://github.com/rust-lang/crates.io-index"
861checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800"
862
863[[package]]
718name = "itoa" 864name = "itoa"
719version = "1.0.9" 865version = "1.0.11"
720source = "registry+https://github.com/rust-lang/crates.io-index" 866source = "registry+https://github.com/rust-lang/crates.io-index"
721checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" 867checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
722 868
723[[package]] 869[[package]]
724name = "js-sys" 870name = "js-sys"
725version = "0.3.65" 871version = "0.3.69"
726source = "registry+https://github.com/rust-lang/crates.io-index" 872source = "registry+https://github.com/rust-lang/crates.io-index"
727checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" 873checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
728dependencies = [ 874dependencies = [
729 "wasm-bindgen", 875 "wasm-bindgen",
730] 876]
@@ -748,19 +894,18 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
748 894
749[[package]] 895[[package]]
750name = "libc" 896name = "libc"
751version = "0.2.150" 897version = "0.2.155"
752source = "registry+https://github.com/rust-lang/crates.io-index" 898source = "registry+https://github.com/rust-lang/crates.io-index"
753checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" 899checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
754 900
755[[package]] 901[[package]]
756name = "libredox" 902name = "libredox"
757version = "0.0.1" 903version = "0.1.3"
758source = "registry+https://github.com/rust-lang/crates.io-index" 904source = "registry+https://github.com/rust-lang/crates.io-index"
759checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" 905checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
760dependencies = [ 906dependencies = [
761 "bitflags 2.4.1", 907 "bitflags 2.5.0",
762 "libc", 908 "libc",
763 "redox_syscall",
764] 909]
765 910
766[[package]] 911[[package]]
@@ -771,21 +916,27 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
771 916
772[[package]] 917[[package]]
773name = "linux-raw-sys" 918name = "linux-raw-sys"
774version = "0.4.11" 919version = "0.4.14"
775source = "registry+https://github.com/rust-lang/crates.io-index" 920source = "registry+https://github.com/rust-lang/crates.io-index"
776checksum = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829" 921checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
922
923[[package]]
924name = "litemap"
925version = "0.7.3"
926source = "registry+https://github.com/rust-lang/crates.io-index"
927checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
777 928
778[[package]] 929[[package]]
779name = "log" 930name = "log"
780version = "0.4.20" 931version = "0.4.21"
781source = "registry+https://github.com/rust-lang/crates.io-index" 932source = "registry+https://github.com/rust-lang/crates.io-index"
782checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 933checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
783 934
784[[package]] 935[[package]]
785name = "memchr" 936name = "memchr"
786version = "2.6.4" 937version = "2.7.4"
787source = "registry+https://github.com/rust-lang/crates.io-index" 938source = "registry+https://github.com/rust-lang/crates.io-index"
788checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" 939checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
789 940
790[[package]] 941[[package]]
791name = "mime" 942name = "mime"
@@ -801,18 +952,18 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
801 952
802[[package]] 953[[package]]
803name = "miniz_oxide" 954name = "miniz_oxide"
804version = "0.7.1" 955version = "0.7.3"
805source = "registry+https://github.com/rust-lang/crates.io-index" 956source = "registry+https://github.com/rust-lang/crates.io-index"
806checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" 957checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae"
807dependencies = [ 958dependencies = [
808 "adler", 959 "adler",
809] 960]
810 961
811[[package]] 962[[package]]
812name = "mio" 963name = "mio"
813version = "0.8.9" 964version = "0.8.11"
814source = "registry+https://github.com/rust-lang/crates.io-index" 965source = "registry+https://github.com/rust-lang/crates.io-index"
815checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" 966checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
816dependencies = [ 967dependencies = [
817 "libc", 968 "libc",
818 "wasi", 969 "wasi",
@@ -821,11 +972,10 @@ dependencies = [
821 972
822[[package]] 973[[package]]
823name = "native-tls" 974name = "native-tls"
824version = "0.2.11" 975version = "0.2.12"
825source = "registry+https://github.com/rust-lang/crates.io-index" 976source = "registry+https://github.com/rust-lang/crates.io-index"
826checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" 977checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
827dependencies = [ 978dependencies = [
828 "lazy_static",
829 "libc", 979 "libc",
830 "log", 980 "log",
831 "openssl", 981 "openssl",
@@ -865,9 +1015,9 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
865 1015
866[[package]] 1016[[package]]
867name = "object" 1017name = "object"
868version = "0.32.1" 1018version = "0.36.0"
869source = "registry+https://github.com/rust-lang/crates.io-index" 1019source = "registry+https://github.com/rust-lang/crates.io-index"
870checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" 1020checksum = "576dfe1fc8f9df304abb159d767a29d0476f7750fbf8aa7ad07816004a207434"
871dependencies = [ 1021dependencies = [
872 "memchr", 1022 "memchr",
873] 1023]
@@ -880,11 +1030,11 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
880 1030
881[[package]] 1031[[package]]
882name = "openssl" 1032name = "openssl"
883version = "0.10.59" 1033version = "0.10.64"
884source = "registry+https://github.com/rust-lang/crates.io-index" 1034source = "registry+https://github.com/rust-lang/crates.io-index"
885checksum = "7a257ad03cd8fb16ad4172fedf8094451e1af1c4b70097636ef2eac9a5f0cc33" 1035checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"
886dependencies = [ 1036dependencies = [
887 "bitflags 2.4.1", 1037 "bitflags 2.5.0",
888 "cfg-if", 1038 "cfg-if",
889 "foreign-types", 1039 "foreign-types",
890 "libc", 1040 "libc",
@@ -912,9 +1062,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
912 1062
913[[package]] 1063[[package]]
914name = "openssl-sys" 1064name = "openssl-sys"
915version = "0.9.95" 1065version = "0.9.102"
916source = "registry+https://github.com/rust-lang/crates.io-index" 1066source = "registry+https://github.com/rust-lang/crates.io-index"
917checksum = "40a4130519a360279579c2053038317e40eff64d13fd3f004f9e1b72b8a6aaf9" 1067checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
918dependencies = [ 1068dependencies = [
919 "cc", 1069 "cc",
920 "libc", 1070 "libc",
@@ -946,15 +1096,15 @@ checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
946 1096
947[[package]] 1097[[package]]
948name = "percent-encoding" 1098name = "percent-encoding"
949version = "2.3.0" 1099version = "2.3.1"
950source = "registry+https://github.com/rust-lang/crates.io-index" 1100source = "registry+https://github.com/rust-lang/crates.io-index"
951checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" 1101checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
952 1102
953[[package]] 1103[[package]]
954name = "pest" 1104name = "pest"
955version = "2.7.5" 1105version = "2.7.10"
956source = "registry+https://github.com/rust-lang/crates.io-index" 1106source = "registry+https://github.com/rust-lang/crates.io-index"
957checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" 1107checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8"
958dependencies = [ 1108dependencies = [
959 "memchr", 1109 "memchr",
960 "thiserror", 1110 "thiserror",
@@ -963,9 +1113,9 @@ dependencies = [
963 1113
964[[package]] 1114[[package]]
965name = "pest_derive" 1115name = "pest_derive"
966version = "2.7.5" 1116version = "2.7.10"
967source = "registry+https://github.com/rust-lang/crates.io-index" 1117source = "registry+https://github.com/rust-lang/crates.io-index"
968checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" 1118checksum = "26293c9193fbca7b1a3bf9b79dc1e388e927e6cacaa78b4a3ab705a1d3d41459"
969dependencies = [ 1119dependencies = [
970 "pest", 1120 "pest",
971 "pest_generator", 1121 "pest_generator",
@@ -973,9 +1123,9 @@ dependencies = [
973 1123
974[[package]] 1124[[package]]
975name = "pest_generator" 1125name = "pest_generator"
976version = "2.7.5" 1126version = "2.7.10"
977source = "registry+https://github.com/rust-lang/crates.io-index" 1127source = "registry+https://github.com/rust-lang/crates.io-index"
978checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" 1128checksum = "3ec22af7d3fb470a85dd2ca96b7c577a1eb4ef6f1683a9fe9a8c16e136c04687"
979dependencies = [ 1129dependencies = [
980 "pest", 1130 "pest",
981 "pest_meta", 1131 "pest_meta",
@@ -986,9 +1136,9 @@ dependencies = [
986 1136
987[[package]] 1137[[package]]
988name = "pest_meta" 1138name = "pest_meta"
989version = "2.7.5" 1139version = "2.7.10"
990source = "registry+https://github.com/rust-lang/crates.io-index" 1140source = "registry+https://github.com/rust-lang/crates.io-index"
991checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" 1141checksum = "d7a240022f37c361ec1878d646fc5b7d7c4d28d5946e1a80ad5a7a4f4ca0bdcd"
992dependencies = [ 1142dependencies = [
993 "once_cell", 1143 "once_cell",
994 "pest", 1144 "pest",
@@ -996,10 +1146,30 @@ dependencies = [
996] 1146]
997 1147
998[[package]] 1148[[package]]
1149name = "pin-project"
1150version = "1.1.5"
1151source = "registry+https://github.com/rust-lang/crates.io-index"
1152checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3"
1153dependencies = [
1154 "pin-project-internal",
1155]
1156
1157[[package]]
1158name = "pin-project-internal"
1159version = "1.1.5"
1160source = "registry+https://github.com/rust-lang/crates.io-index"
1161checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
1162dependencies = [
1163 "proc-macro2",
1164 "quote",
1165 "syn",
1166]
1167
1168[[package]]
999name = "pin-project-lite" 1169name = "pin-project-lite"
1000version = "0.2.13" 1170version = "0.2.14"
1001source = "registry+https://github.com/rust-lang/crates.io-index" 1171source = "registry+https://github.com/rust-lang/crates.io-index"
1002checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 1172checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
1003 1173
1004[[package]] 1174[[package]]
1005name = "pin-utils" 1175name = "pin-utils"
@@ -1009,15 +1179,15 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
1009 1179
1010[[package]] 1180[[package]]
1011name = "pkg-config" 1181name = "pkg-config"
1012version = "0.3.27" 1182version = "0.3.30"
1013source = "registry+https://github.com/rust-lang/crates.io-index" 1183source = "registry+https://github.com/rust-lang/crates.io-index"
1014checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" 1184checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
1015 1185
1016[[package]] 1186[[package]]
1017name = "portable-atomic" 1187name = "portable-atomic"
1018version = "1.5.1" 1188version = "1.6.0"
1019source = "registry+https://github.com/rust-lang/crates.io-index" 1189source = "registry+https://github.com/rust-lang/crates.io-index"
1020checksum = "3bccab0e7fd7cc19f820a1c8c91720af652d0c88dc9664dd72aef2614f04af3b" 1190checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
1021 1191
1022[[package]] 1192[[package]]
1023name = "ppv-lite86" 1193name = "ppv-lite86"
@@ -1027,18 +1197,18 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
1027 1197
1028[[package]] 1198[[package]]
1029name = "proc-macro2" 1199name = "proc-macro2"
1030version = "1.0.78" 1200version = "1.0.85"
1031source = "registry+https://github.com/rust-lang/crates.io-index" 1201source = "registry+https://github.com/rust-lang/crates.io-index"
1032checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" 1202checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23"
1033dependencies = [ 1203dependencies = [
1034 "unicode-ident", 1204 "unicode-ident",
1035] 1205]
1036 1206
1037[[package]] 1207[[package]]
1038name = "quote" 1208name = "quote"
1039version = "1.0.35" 1209version = "1.0.36"
1040source = "registry+https://github.com/rust-lang/crates.io-index" 1210source = "registry+https://github.com/rust-lang/crates.io-index"
1041checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 1211checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
1042dependencies = [ 1212dependencies = [
1043 "proc-macro2", 1213 "proc-macro2",
1044] 1214]
@@ -1074,19 +1244,10 @@ dependencies = [
1074] 1244]
1075 1245
1076[[package]] 1246[[package]]
1077name = "redox_syscall"
1078version = "0.4.1"
1079source = "registry+https://github.com/rust-lang/crates.io-index"
1080checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
1081dependencies = [
1082 "bitflags 1.3.2",
1083]
1084
1085[[package]]
1086name = "redox_users" 1247name = "redox_users"
1087version = "0.4.4" 1248version = "0.4.5"
1088source = "registry+https://github.com/rust-lang/crates.io-index" 1249source = "registry+https://github.com/rust-lang/crates.io-index"
1089checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" 1250checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891"
1090dependencies = [ 1251dependencies = [
1091 "getrandom", 1252 "getrandom",
1092 "libredox", 1253 "libredox",
@@ -1095,20 +1256,23 @@ dependencies = [
1095 1256
1096[[package]] 1257[[package]]
1097name = "reqwest" 1258name = "reqwest"
1098version = "0.11.22" 1259version = "0.12.4"
1099source = "registry+https://github.com/rust-lang/crates.io-index" 1260source = "registry+https://github.com/rust-lang/crates.io-index"
1100checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" 1261checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10"
1101dependencies = [ 1262dependencies = [
1102 "base64", 1263 "base64 0.22.1",
1103 "bytes", 1264 "bytes",
1104 "encoding_rs", 1265 "encoding_rs",
1266 "futures-channel",
1105 "futures-core", 1267 "futures-core",
1106 "futures-util", 1268 "futures-util",
1107 "h2", 1269 "h2",
1108 "http 0.2.10", 1270 "http",
1109 "http-body", 1271 "http-body",
1272 "http-body-util",
1110 "hyper", 1273 "hyper",
1111 "hyper-tls", 1274 "hyper-tls",
1275 "hyper-util",
1112 "ipnet", 1276 "ipnet",
1113 "js-sys", 1277 "js-sys",
1114 "log", 1278 "log",
@@ -1117,9 +1281,11 @@ dependencies = [
1117 "once_cell", 1281 "once_cell",
1118 "percent-encoding", 1282 "percent-encoding",
1119 "pin-project-lite", 1283 "pin-project-lite",
1284 "rustls-pemfile",
1120 "serde", 1285 "serde",
1121 "serde_json", 1286 "serde_json",
1122 "serde_urlencoded", 1287 "serde_urlencoded",
1288 "sync_wrapper",
1123 "system-configuration", 1289 "system-configuration",
1124 "tokio", 1290 "tokio",
1125 "tokio-native-tls", 1291 "tokio-native-tls",
@@ -1137,8 +1303,8 @@ version = "0.8.1"
1137source = "registry+https://github.com/rust-lang/crates.io-index" 1303source = "registry+https://github.com/rust-lang/crates.io-index"
1138checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" 1304checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94"
1139dependencies = [ 1305dependencies = [
1140 "base64", 1306 "base64 0.21.7",
1141 "bitflags 2.4.1", 1307 "bitflags 2.5.0",
1142 "serde", 1308 "serde",
1143 "serde_derive", 1309 "serde_derive",
1144] 1310]
@@ -1155,45 +1321,61 @@ dependencies = [
1155 1321
1156[[package]] 1322[[package]]
1157name = "rustc-demangle" 1323name = "rustc-demangle"
1158version = "0.1.23" 1324version = "0.1.24"
1159source = "registry+https://github.com/rust-lang/crates.io-index" 1325source = "registry+https://github.com/rust-lang/crates.io-index"
1160checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" 1326checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
1161 1327
1162[[package]] 1328[[package]]
1163name = "rustix" 1329name = "rustix"
1164version = "0.38.21" 1330version = "0.38.34"
1165source = "registry+https://github.com/rust-lang/crates.io-index" 1331source = "registry+https://github.com/rust-lang/crates.io-index"
1166checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" 1332checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
1167dependencies = [ 1333dependencies = [
1168 "bitflags 2.4.1", 1334 "bitflags 2.5.0",
1169 "errno", 1335 "errno",
1170 "libc", 1336 "libc",
1171 "linux-raw-sys", 1337 "linux-raw-sys",
1172 "windows-sys 0.48.0", 1338 "windows-sys 0.52.0",
1173] 1339]
1174 1340
1175[[package]] 1341[[package]]
1342name = "rustls-pemfile"
1343version = "2.1.2"
1344source = "registry+https://github.com/rust-lang/crates.io-index"
1345checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d"
1346dependencies = [
1347 "base64 0.22.1",
1348 "rustls-pki-types",
1349]
1350
1351[[package]]
1352name = "rustls-pki-types"
1353version = "1.7.0"
1354source = "registry+https://github.com/rust-lang/crates.io-index"
1355checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d"
1356
1357[[package]]
1176name = "ryu" 1358name = "ryu"
1177version = "1.0.15" 1359version = "1.0.18"
1178source = "registry+https://github.com/rust-lang/crates.io-index" 1360source = "registry+https://github.com/rust-lang/crates.io-index"
1179checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" 1361checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
1180 1362
1181[[package]] 1363[[package]]
1182name = "schannel" 1364name = "schannel"
1183version = "0.1.22" 1365version = "0.1.23"
1184source = "registry+https://github.com/rust-lang/crates.io-index" 1366source = "registry+https://github.com/rust-lang/crates.io-index"
1185checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" 1367checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
1186dependencies = [ 1368dependencies = [
1187 "windows-sys 0.48.0", 1369 "windows-sys 0.52.0",
1188] 1370]
1189 1371
1190[[package]] 1372[[package]]
1191name = "security-framework" 1373name = "security-framework"
1192version = "2.9.2" 1374version = "2.11.0"
1193source = "registry+https://github.com/rust-lang/crates.io-index" 1375source = "registry+https://github.com/rust-lang/crates.io-index"
1194checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" 1376checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0"
1195dependencies = [ 1377dependencies = [
1196 "bitflags 1.3.2", 1378 "bitflags 2.5.0",
1197 "core-foundation", 1379 "core-foundation",
1198 "core-foundation-sys", 1380 "core-foundation-sys",
1199 "libc", 1381 "libc",
@@ -1202,9 +1384,9 @@ dependencies = [
1202 1384
1203[[package]] 1385[[package]]
1204name = "security-framework-sys" 1386name = "security-framework-sys"
1205version = "2.9.1" 1387version = "2.11.0"
1206source = "registry+https://github.com/rust-lang/crates.io-index" 1388source = "registry+https://github.com/rust-lang/crates.io-index"
1207checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" 1389checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7"
1208dependencies = [ 1390dependencies = [
1209 "core-foundation-sys", 1391 "core-foundation-sys",
1210 "libc", 1392 "libc",
@@ -1212,18 +1394,18 @@ dependencies = [
1212 1394
1213[[package]] 1395[[package]]
1214name = "serde" 1396name = "serde"
1215version = "1.0.192" 1397version = "1.0.203"
1216source = "registry+https://github.com/rust-lang/crates.io-index" 1398source = "registry+https://github.com/rust-lang/crates.io-index"
1217checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" 1399checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094"
1218dependencies = [ 1400dependencies = [
1219 "serde_derive", 1401 "serde_derive",
1220] 1402]
1221 1403
1222[[package]] 1404[[package]]
1223name = "serde_derive" 1405name = "serde_derive"
1224version = "1.0.192" 1406version = "1.0.203"
1225source = "registry+https://github.com/rust-lang/crates.io-index" 1407source = "registry+https://github.com/rust-lang/crates.io-index"
1226checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" 1408checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
1227dependencies = [ 1409dependencies = [
1228 "proc-macro2", 1410 "proc-macro2",
1229 "quote", 1411 "quote",
@@ -1232,9 +1414,9 @@ dependencies = [
1232 1414
1233[[package]] 1415[[package]]
1234name = "serde_json" 1416name = "serde_json"
1235version = "1.0.108" 1417version = "1.0.117"
1236source = "registry+https://github.com/rust-lang/crates.io-index" 1418source = "registry+https://github.com/rust-lang/crates.io-index"
1237checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" 1419checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3"
1238dependencies = [ 1420dependencies = [
1239 "itoa", 1421 "itoa",
1240 "ryu", 1422 "ryu",
@@ -1243,9 +1425,9 @@ dependencies = [
1243 1425
1244[[package]] 1426[[package]]
1245name = "serde_spanned" 1427name = "serde_spanned"
1246version = "0.6.5" 1428version = "0.6.6"
1247source = "registry+https://github.com/rust-lang/crates.io-index" 1429source = "registry+https://github.com/rust-lang/crates.io-index"
1248checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" 1430checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0"
1249dependencies = [ 1431dependencies = [
1250 "serde", 1432 "serde",
1251] 1433]
@@ -1294,36 +1476,38 @@ dependencies = [
1294] 1476]
1295 1477
1296[[package]] 1478[[package]]
1297name = "socket2" 1479name = "smallvec"
1298version = "0.4.10" 1480version = "1.13.2"
1299source = "registry+https://github.com/rust-lang/crates.io-index" 1481source = "registry+https://github.com/rust-lang/crates.io-index"
1300checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" 1482checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
1301dependencies = [
1302 "libc",
1303 "winapi",
1304]
1305 1483
1306[[package]] 1484[[package]]
1307name = "socket2" 1485name = "socket2"
1308version = "0.5.5" 1486version = "0.5.7"
1309source = "registry+https://github.com/rust-lang/crates.io-index" 1487source = "registry+https://github.com/rust-lang/crates.io-index"
1310checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" 1488checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
1311dependencies = [ 1489dependencies = [
1312 "libc", 1490 "libc",
1313 "windows-sys 0.48.0", 1491 "windows-sys 0.52.0",
1314] 1492]
1315 1493
1316[[package]] 1494[[package]]
1495name = "stable_deref_trait"
1496version = "1.2.0"
1497source = "registry+https://github.com/rust-lang/crates.io-index"
1498checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
1499
1500[[package]]
1317name = "strsim" 1501name = "strsim"
1318version = "0.11.0" 1502version = "0.11.1"
1319source = "registry+https://github.com/rust-lang/crates.io-index" 1503source = "registry+https://github.com/rust-lang/crates.io-index"
1320checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" 1504checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1321 1505
1322[[package]] 1506[[package]]
1323name = "syn" 1507name = "syn"
1324version = "2.0.50" 1508version = "2.0.66"
1325source = "registry+https://github.com/rust-lang/crates.io-index" 1509source = "registry+https://github.com/rust-lang/crates.io-index"
1326checksum = "74f1bdc9872430ce9b75da68329d1c1746faf50ffac5f19e02b71e37ff881ffb" 1510checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
1327dependencies = [ 1511dependencies = [
1328 "proc-macro2", 1512 "proc-macro2",
1329 "quote", 1513 "quote",
@@ -1331,6 +1515,23 @@ dependencies = [
1331] 1515]
1332 1516
1333[[package]] 1517[[package]]
1518name = "sync_wrapper"
1519version = "0.1.2"
1520source = "registry+https://github.com/rust-lang/crates.io-index"
1521checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
1522
1523[[package]]
1524name = "synstructure"
1525version = "0.13.1"
1526source = "registry+https://github.com/rust-lang/crates.io-index"
1527checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
1528dependencies = [
1529 "proc-macro2",
1530 "quote",
1531 "syn",
1532]
1533
1534[[package]]
1334name = "system-configuration" 1535name = "system-configuration"
1335version = "0.5.1" 1536version = "0.5.1"
1336source = "registry+https://github.com/rust-lang/crates.io-index" 1537source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1353,31 +1554,30 @@ dependencies = [
1353 1554
1354[[package]] 1555[[package]]
1355name = "tempfile" 1556name = "tempfile"
1356version = "3.8.1" 1557version = "3.10.1"
1357source = "registry+https://github.com/rust-lang/crates.io-index" 1558source = "registry+https://github.com/rust-lang/crates.io-index"
1358checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" 1559checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1"
1359dependencies = [ 1560dependencies = [
1360 "cfg-if", 1561 "cfg-if",
1361 "fastrand", 1562 "fastrand",
1362 "redox_syscall",
1363 "rustix", 1563 "rustix",
1364 "windows-sys 0.48.0", 1564 "windows-sys 0.52.0",
1365] 1565]
1366 1566
1367[[package]] 1567[[package]]
1368name = "thiserror" 1568name = "thiserror"
1369version = "1.0.57" 1569version = "1.0.61"
1370source = "registry+https://github.com/rust-lang/crates.io-index" 1570source = "registry+https://github.com/rust-lang/crates.io-index"
1371checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" 1571checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709"
1372dependencies = [ 1572dependencies = [
1373 "thiserror-impl", 1573 "thiserror-impl",
1374] 1574]
1375 1575
1376[[package]] 1576[[package]]
1377name = "thiserror-impl" 1577name = "thiserror-impl"
1378version = "1.0.57" 1578version = "1.0.61"
1379source = "registry+https://github.com/rust-lang/crates.io-index" 1579source = "registry+https://github.com/rust-lang/crates.io-index"
1380checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" 1580checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533"
1381dependencies = [ 1581dependencies = [
1382 "proc-macro2", 1582 "proc-macro2",
1383 "quote", 1583 "quote",
@@ -1394,25 +1594,20 @@ dependencies = [
1394] 1594]
1395 1595
1396[[package]] 1596[[package]]
1397name = "tinyvec" 1597name = "tinystr"
1398version = "1.6.0" 1598version = "0.7.6"
1399source = "registry+https://github.com/rust-lang/crates.io-index" 1599source = "registry+https://github.com/rust-lang/crates.io-index"
1400checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 1600checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
1401dependencies = [ 1601dependencies = [
1402 "tinyvec_macros", 1602 "displaydoc",
1603 "zerovec",
1403] 1604]
1404 1605
1405[[package]] 1606[[package]]
1406name = "tinyvec_macros"
1407version = "0.1.1"
1408source = "registry+https://github.com/rust-lang/crates.io-index"
1409checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
1410
1411[[package]]
1412name = "tokio" 1607name = "tokio"
1413version = "1.36.0" 1608version = "1.38.0"
1414source = "registry+https://github.com/rust-lang/crates.io-index" 1609source = "registry+https://github.com/rust-lang/crates.io-index"
1415checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" 1610checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a"
1416dependencies = [ 1611dependencies = [
1417 "backtrace", 1612 "backtrace",
1418 "bytes", 1613 "bytes",
@@ -1420,16 +1615,16 @@ dependencies = [
1420 "mio", 1615 "mio",
1421 "num_cpus", 1616 "num_cpus",
1422 "pin-project-lite", 1617 "pin-project-lite",
1423 "socket2 0.5.5", 1618 "socket2",
1424 "tokio-macros", 1619 "tokio-macros",
1425 "windows-sys 0.48.0", 1620 "windows-sys 0.48.0",
1426] 1621]
1427 1622
1428[[package]] 1623[[package]]
1429name = "tokio-macros" 1624name = "tokio-macros"
1430version = "2.2.0" 1625version = "2.3.0"
1431source = "registry+https://github.com/rust-lang/crates.io-index" 1626source = "registry+https://github.com/rust-lang/crates.io-index"
1432checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" 1627checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a"
1433dependencies = [ 1628dependencies = [
1434 "proc-macro2", 1629 "proc-macro2",
1435 "quote", 1630 "quote",
@@ -1448,9 +1643,9 @@ dependencies = [
1448 1643
1449[[package]] 1644[[package]]
1450name = "tokio-tungstenite" 1645name = "tokio-tungstenite"
1451version = "0.21.0" 1646version = "0.23.1"
1452source = "registry+https://github.com/rust-lang/crates.io-index" 1647source = "registry+https://github.com/rust-lang/crates.io-index"
1453checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" 1648checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd"
1454dependencies = [ 1649dependencies = [
1455 "futures-util", 1650 "futures-util",
1456 "log", 1651 "log",
@@ -1460,23 +1655,22 @@ dependencies = [
1460 1655
1461[[package]] 1656[[package]]
1462name = "tokio-util" 1657name = "tokio-util"
1463version = "0.7.10" 1658version = "0.7.11"
1464source = "registry+https://github.com/rust-lang/crates.io-index" 1659source = "registry+https://github.com/rust-lang/crates.io-index"
1465checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" 1660checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1"
1466dependencies = [ 1661dependencies = [
1467 "bytes", 1662 "bytes",
1468 "futures-core", 1663 "futures-core",
1469 "futures-sink", 1664 "futures-sink",
1470 "pin-project-lite", 1665 "pin-project-lite",
1471 "tokio", 1666 "tokio",
1472 "tracing",
1473] 1667]
1474 1668
1475[[package]] 1669[[package]]
1476name = "toml" 1670name = "toml"
1477version = "0.8.10" 1671version = "0.8.14"
1478source = "registry+https://github.com/rust-lang/crates.io-index" 1672source = "registry+https://github.com/rust-lang/crates.io-index"
1479checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" 1673checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335"
1480dependencies = [ 1674dependencies = [
1481 "serde", 1675 "serde",
1482 "serde_spanned", 1676 "serde_spanned",
@@ -1486,20 +1680,20 @@ dependencies = [
1486 1680
1487[[package]] 1681[[package]]
1488name = "toml_datetime" 1682name = "toml_datetime"
1489version = "0.6.5" 1683version = "0.6.6"
1490source = "registry+https://github.com/rust-lang/crates.io-index" 1684source = "registry+https://github.com/rust-lang/crates.io-index"
1491checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" 1685checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf"
1492dependencies = [ 1686dependencies = [
1493 "serde", 1687 "serde",
1494] 1688]
1495 1689
1496[[package]] 1690[[package]]
1497name = "toml_edit" 1691name = "toml_edit"
1498version = "0.22.6" 1692version = "0.22.14"
1499source = "registry+https://github.com/rust-lang/crates.io-index" 1693source = "registry+https://github.com/rust-lang/crates.io-index"
1500checksum = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" 1694checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38"
1501dependencies = [ 1695dependencies = [
1502 "indexmap 2.2.3", 1696 "indexmap",
1503 "serde", 1697 "serde",
1504 "serde_spanned", 1698 "serde_spanned",
1505 "toml_datetime", 1699 "toml_datetime",
@@ -1507,6 +1701,27 @@ dependencies = [
1507] 1701]
1508 1702
1509[[package]] 1703[[package]]
1704name = "tower"
1705version = "0.4.13"
1706source = "registry+https://github.com/rust-lang/crates.io-index"
1707checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
1708dependencies = [
1709 "futures-core",
1710 "futures-util",
1711 "pin-project",
1712 "pin-project-lite",
1713 "tokio",
1714 "tower-layer",
1715 "tower-service",
1716]
1717
1718[[package]]
1719name = "tower-layer"
1720version = "0.3.2"
1721source = "registry+https://github.com/rust-lang/crates.io-index"
1722checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0"
1723
1724[[package]]
1510name = "tower-service" 1725name = "tower-service"
1511version = "0.3.2" 1726version = "0.3.2"
1512source = "registry+https://github.com/rust-lang/crates.io-index" 1727source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1533,26 +1748,25 @@ dependencies = [
1533 1748
1534[[package]] 1749[[package]]
1535name = "try-lock" 1750name = "try-lock"
1536version = "0.2.4" 1751version = "0.2.5"
1537source = "registry+https://github.com/rust-lang/crates.io-index" 1752source = "registry+https://github.com/rust-lang/crates.io-index"
1538checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" 1753checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
1539 1754
1540[[package]] 1755[[package]]
1541name = "tungstenite" 1756name = "tungstenite"
1542version = "0.21.0" 1757version = "0.23.0"
1543source = "registry+https://github.com/rust-lang/crates.io-index" 1758source = "registry+https://github.com/rust-lang/crates.io-index"
1544checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" 1759checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8"
1545dependencies = [ 1760dependencies = [
1546 "byteorder", 1761 "byteorder",
1547 "bytes", 1762 "bytes",
1548 "data-encoding", 1763 "data-encoding",
1549 "http 1.0.0", 1764 "http",
1550 "httparse", 1765 "httparse",
1551 "log", 1766 "log",
1552 "rand", 1767 "rand",
1553 "sha1", 1768 "sha1",
1554 "thiserror", 1769 "thiserror",
1555 "url",
1556 "utf-8", 1770 "utf-8",
1557] 1771]
1558 1772
@@ -1569,27 +1783,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1569checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" 1783checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
1570 1784
1571[[package]] 1785[[package]]
1572name = "unicode-bidi"
1573version = "0.3.13"
1574source = "registry+https://github.com/rust-lang/crates.io-index"
1575checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"
1576
1577[[package]]
1578name = "unicode-ident" 1786name = "unicode-ident"
1579version = "1.0.12" 1787version = "1.0.12"
1580source = "registry+https://github.com/rust-lang/crates.io-index" 1788source = "registry+https://github.com/rust-lang/crates.io-index"
1581checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 1789checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
1582 1790
1583[[package]] 1791[[package]]
1584name = "unicode-normalization"
1585version = "0.1.22"
1586source = "registry+https://github.com/rust-lang/crates.io-index"
1587checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
1588dependencies = [
1589 "tinyvec",
1590]
1591
1592[[package]]
1593name = "unicode-segmentation" 1792name = "unicode-segmentation"
1594version = "1.11.0" 1793version = "1.11.0"
1595source = "registry+https://github.com/rust-lang/crates.io-index" 1794source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1597,15 +1796,15 @@ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
1597 1796
1598[[package]] 1797[[package]]
1599name = "unicode-width" 1798name = "unicode-width"
1600version = "0.1.11" 1799version = "0.1.13"
1601source = "registry+https://github.com/rust-lang/crates.io-index" 1800source = "registry+https://github.com/rust-lang/crates.io-index"
1602checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" 1801checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
1603 1802
1604[[package]] 1803[[package]]
1605name = "url" 1804name = "url"
1606version = "2.4.1" 1805version = "2.5.1"
1607source = "registry+https://github.com/rust-lang/crates.io-index" 1806source = "registry+https://github.com/rust-lang/crates.io-index"
1608checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" 1807checksum = "f7c25da092f0a868cdf09e8674cd3b7ef3a7d92a24253e663a2fb85e2496de56"
1609dependencies = [ 1808dependencies = [
1610 "form_urlencoded", 1809 "form_urlencoded",
1611 "idna", 1810 "idna",
@@ -1619,10 +1818,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1619checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" 1818checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
1620 1819
1621[[package]] 1820[[package]]
1821name = "utf16_iter"
1822version = "1.0.5"
1823source = "registry+https://github.com/rust-lang/crates.io-index"
1824checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
1825
1826[[package]]
1827name = "utf8_iter"
1828version = "1.0.4"
1829source = "registry+https://github.com/rust-lang/crates.io-index"
1830checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
1831
1832[[package]]
1622name = "utf8parse" 1833name = "utf8parse"
1623version = "0.2.1" 1834version = "0.2.2"
1624source = "registry+https://github.com/rust-lang/crates.io-index" 1835source = "registry+https://github.com/rust-lang/crates.io-index"
1625checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 1836checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
1626 1837
1627[[package]] 1838[[package]]
1628name = "vcpkg" 1839name = "vcpkg"
@@ -1653,9 +1864,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1653 1864
1654[[package]] 1865[[package]]
1655name = "wasm-bindgen" 1866name = "wasm-bindgen"
1656version = "0.2.88" 1867version = "0.2.92"
1657source = "registry+https://github.com/rust-lang/crates.io-index" 1868source = "registry+https://github.com/rust-lang/crates.io-index"
1658checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" 1869checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
1659dependencies = [ 1870dependencies = [
1660 "cfg-if", 1871 "cfg-if",
1661 "wasm-bindgen-macro", 1872 "wasm-bindgen-macro",
@@ -1663,9 +1874,9 @@ dependencies = [
1663 1874
1664[[package]] 1875[[package]]
1665name = "wasm-bindgen-backend" 1876name = "wasm-bindgen-backend"
1666version = "0.2.88" 1877version = "0.2.92"
1667source = "registry+https://github.com/rust-lang/crates.io-index" 1878source = "registry+https://github.com/rust-lang/crates.io-index"
1668checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" 1879checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
1669dependencies = [ 1880dependencies = [
1670 "bumpalo", 1881 "bumpalo",
1671 "log", 1882 "log",
@@ -1678,9 +1889,9 @@ dependencies = [
1678 1889
1679[[package]] 1890[[package]]
1680name = "wasm-bindgen-futures" 1891name = "wasm-bindgen-futures"
1681version = "0.4.38" 1892version = "0.4.42"
1682source = "registry+https://github.com/rust-lang/crates.io-index" 1893source = "registry+https://github.com/rust-lang/crates.io-index"
1683checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02" 1894checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0"
1684dependencies = [ 1895dependencies = [
1685 "cfg-if", 1896 "cfg-if",
1686 "js-sys", 1897 "js-sys",
@@ -1690,9 +1901,9 @@ dependencies = [
1690 1901
1691[[package]] 1902[[package]]
1692name = "wasm-bindgen-macro" 1903name = "wasm-bindgen-macro"
1693version = "0.2.88" 1904version = "0.2.92"
1694source = "registry+https://github.com/rust-lang/crates.io-index" 1905source = "registry+https://github.com/rust-lang/crates.io-index"
1695checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" 1906checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
1696dependencies = [ 1907dependencies = [
1697 "quote", 1908 "quote",
1698 "wasm-bindgen-macro-support", 1909 "wasm-bindgen-macro-support",
@@ -1700,9 +1911,9 @@ dependencies = [
1700 1911
1701[[package]] 1912[[package]]
1702name = "wasm-bindgen-macro-support" 1913name = "wasm-bindgen-macro-support"
1703version = "0.2.88" 1914version = "0.2.92"
1704source = "registry+https://github.com/rust-lang/crates.io-index" 1915source = "registry+https://github.com/rust-lang/crates.io-index"
1705checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" 1916checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
1706dependencies = [ 1917dependencies = [
1707 "proc-macro2", 1918 "proc-macro2",
1708 "quote", 1919 "quote",
@@ -1713,15 +1924,15 @@ dependencies = [
1713 1924
1714[[package]] 1925[[package]]
1715name = "wasm-bindgen-shared" 1926name = "wasm-bindgen-shared"
1716version = "0.2.88" 1927version = "0.2.92"
1717source = "registry+https://github.com/rust-lang/crates.io-index" 1928source = "registry+https://github.com/rust-lang/crates.io-index"
1718checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" 1929checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
1719 1930
1720[[package]] 1931[[package]]
1721name = "web-sys" 1932name = "web-sys"
1722version = "0.3.65" 1933version = "0.3.69"
1723source = "registry+https://github.com/rust-lang/crates.io-index" 1934source = "registry+https://github.com/rust-lang/crates.io-index"
1724checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" 1935checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef"
1725dependencies = [ 1936dependencies = [
1726 "js-sys", 1937 "js-sys",
1727 "wasm-bindgen", 1938 "wasm-bindgen",
@@ -1729,7 +1940,7 @@ dependencies = [
1729 1940
1730[[package]] 1941[[package]]
1731name = "webol-cli" 1942name = "webol-cli"
1732version = "0.2.0" 1943version = "0.3.0"
1733dependencies = [ 1944dependencies = [
1734 "anyhow", 1945 "anyhow",
1735 "clap", 1946 "clap",
@@ -1747,37 +1958,6 @@ dependencies = [
1747] 1958]
1748 1959
1749[[package]] 1960[[package]]
1750name = "winapi"
1751version = "0.3.9"
1752source = "registry+https://github.com/rust-lang/crates.io-index"
1753checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1754dependencies = [
1755 "winapi-i686-pc-windows-gnu",
1756 "winapi-x86_64-pc-windows-gnu",
1757]
1758
1759[[package]]
1760name = "winapi-i686-pc-windows-gnu"
1761version = "0.4.0"
1762source = "registry+https://github.com/rust-lang/crates.io-index"
1763checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1764
1765[[package]]
1766name = "winapi-x86_64-pc-windows-gnu"
1767version = "0.4.0"
1768source = "registry+https://github.com/rust-lang/crates.io-index"
1769checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1770
1771[[package]]
1772name = "windows-sys"
1773version = "0.45.0"
1774source = "registry+https://github.com/rust-lang/crates.io-index"
1775checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
1776dependencies = [
1777 "windows-targets 0.42.2",
1778]
1779
1780[[package]]
1781name = "windows-sys" 1961name = "windows-sys"
1782version = "0.48.0" 1962version = "0.48.0"
1783source = "registry+https://github.com/rust-lang/crates.io-index" 1963source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1787,18 +1967,12 @@ dependencies = [
1787] 1967]
1788 1968
1789[[package]] 1969[[package]]
1790name = "windows-targets" 1970name = "windows-sys"
1791version = "0.42.2" 1971version = "0.52.0"
1792source = "registry+https://github.com/rust-lang/crates.io-index" 1972source = "registry+https://github.com/rust-lang/crates.io-index"
1793checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 1973checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
1794dependencies = [ 1974dependencies = [
1795 "windows_aarch64_gnullvm 0.42.2", 1975 "windows-targets 0.52.5",
1796 "windows_aarch64_msvc 0.42.2",
1797 "windows_i686_gnu 0.42.2",
1798 "windows_i686_msvc 0.42.2",
1799 "windows_x86_64_gnu 0.42.2",
1800 "windows_x86_64_gnullvm 0.42.2",
1801 "windows_x86_64_msvc 0.42.2",
1802] 1976]
1803 1977
1804[[package]] 1978[[package]]
@@ -1817,10 +1991,20 @@ dependencies = [
1817] 1991]
1818 1992
1819[[package]] 1993[[package]]
1820name = "windows_aarch64_gnullvm" 1994name = "windows-targets"
1821version = "0.42.2" 1995version = "0.52.5"
1822source = "registry+https://github.com/rust-lang/crates.io-index" 1996source = "registry+https://github.com/rust-lang/crates.io-index"
1823checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 1997checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
1998dependencies = [
1999 "windows_aarch64_gnullvm 0.52.5",
2000 "windows_aarch64_msvc 0.52.5",
2001 "windows_i686_gnu 0.52.5",
2002 "windows_i686_gnullvm",
2003 "windows_i686_msvc 0.52.5",
2004 "windows_x86_64_gnu 0.52.5",
2005 "windows_x86_64_gnullvm 0.52.5",
2006 "windows_x86_64_msvc 0.52.5",
2007]
1824 2008
1825[[package]] 2009[[package]]
1826name = "windows_aarch64_gnullvm" 2010name = "windows_aarch64_gnullvm"
@@ -1829,10 +2013,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1829checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 2013checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
1830 2014
1831[[package]] 2015[[package]]
1832name = "windows_aarch64_msvc" 2016name = "windows_aarch64_gnullvm"
1833version = "0.42.2" 2017version = "0.52.5"
1834source = "registry+https://github.com/rust-lang/crates.io-index" 2018source = "registry+https://github.com/rust-lang/crates.io-index"
1835checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 2019checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
1836 2020
1837[[package]] 2021[[package]]
1838name = "windows_aarch64_msvc" 2022name = "windows_aarch64_msvc"
@@ -1841,10 +2025,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1841checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 2025checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
1842 2026
1843[[package]] 2027[[package]]
1844name = "windows_i686_gnu" 2028name = "windows_aarch64_msvc"
1845version = "0.42.2" 2029version = "0.52.5"
1846source = "registry+https://github.com/rust-lang/crates.io-index" 2030source = "registry+https://github.com/rust-lang/crates.io-index"
1847checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 2031checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
1848 2032
1849[[package]] 2033[[package]]
1850name = "windows_i686_gnu" 2034name = "windows_i686_gnu"
@@ -1853,10 +2037,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1853checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 2037checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
1854 2038
1855[[package]] 2039[[package]]
1856name = "windows_i686_msvc" 2040name = "windows_i686_gnu"
1857version = "0.42.2" 2041version = "0.52.5"
2042source = "registry+https://github.com/rust-lang/crates.io-index"
2043checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
2044
2045[[package]]
2046name = "windows_i686_gnullvm"
2047version = "0.52.5"
1858source = "registry+https://github.com/rust-lang/crates.io-index" 2048source = "registry+https://github.com/rust-lang/crates.io-index"
1859checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 2049checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
1860 2050
1861[[package]] 2051[[package]]
1862name = "windows_i686_msvc" 2052name = "windows_i686_msvc"
@@ -1865,10 +2055,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1865checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 2055checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
1866 2056
1867[[package]] 2057[[package]]
1868name = "windows_x86_64_gnu" 2058name = "windows_i686_msvc"
1869version = "0.42.2" 2059version = "0.52.5"
1870source = "registry+https://github.com/rust-lang/crates.io-index" 2060source = "registry+https://github.com/rust-lang/crates.io-index"
1871checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 2061checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
1872 2062
1873[[package]] 2063[[package]]
1874name = "windows_x86_64_gnu" 2064name = "windows_x86_64_gnu"
@@ -1877,10 +2067,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1877checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 2067checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
1878 2068
1879[[package]] 2069[[package]]
1880name = "windows_x86_64_gnullvm" 2070name = "windows_x86_64_gnu"
1881version = "0.42.2" 2071version = "0.52.5"
1882source = "registry+https://github.com/rust-lang/crates.io-index" 2072source = "registry+https://github.com/rust-lang/crates.io-index"
1883checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 2073checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
1884 2074
1885[[package]] 2075[[package]]
1886name = "windows_x86_64_gnullvm" 2076name = "windows_x86_64_gnullvm"
@@ -1889,10 +2079,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1889checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 2079checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
1890 2080
1891[[package]] 2081[[package]]
1892name = "windows_x86_64_msvc" 2082name = "windows_x86_64_gnullvm"
1893version = "0.42.2" 2083version = "0.52.5"
1894source = "registry+https://github.com/rust-lang/crates.io-index" 2084source = "registry+https://github.com/rust-lang/crates.io-index"
1895checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 2085checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
1896 2086
1897[[package]] 2087[[package]]
1898name = "windows_x86_64_msvc" 2088name = "windows_x86_64_msvc"
@@ -1901,25 +2091,43 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1901checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 2091checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
1902 2092
1903[[package]] 2093[[package]]
2094name = "windows_x86_64_msvc"
2095version = "0.52.5"
2096source = "registry+https://github.com/rust-lang/crates.io-index"
2097checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
2098
2099[[package]]
1904name = "winnow" 2100name = "winnow"
1905version = "0.6.2" 2101version = "0.6.13"
1906source = "registry+https://github.com/rust-lang/crates.io-index" 2102source = "registry+https://github.com/rust-lang/crates.io-index"
1907checksum = "7a4191c47f15cc3ec71fcb4913cb83d58def65dd3787610213c649283b5ce178" 2103checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1"
1908dependencies = [ 2104dependencies = [
1909 "memchr", 2105 "memchr",
1910] 2106]
1911 2107
1912[[package]] 2108[[package]]
1913name = "winreg" 2109name = "winreg"
1914version = "0.50.0" 2110version = "0.52.0"
1915source = "registry+https://github.com/rust-lang/crates.io-index" 2111source = "registry+https://github.com/rust-lang/crates.io-index"
1916checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" 2112checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5"
1917dependencies = [ 2113dependencies = [
1918 "cfg-if", 2114 "cfg-if",
1919 "windows-sys 0.48.0", 2115 "windows-sys 0.48.0",
1920] 2116]
1921 2117
1922[[package]] 2118[[package]]
2119name = "write16"
2120version = "1.0.0"
2121source = "registry+https://github.com/rust-lang/crates.io-index"
2122checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
2123
2124[[package]]
2125name = "writeable"
2126version = "0.5.5"
2127source = "registry+https://github.com/rust-lang/crates.io-index"
2128checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
2129
2130[[package]]
1923name = "yaml-rust" 2131name = "yaml-rust"
1924version = "0.4.5" 2132version = "0.4.5"
1925source = "registry+https://github.com/rust-lang/crates.io-index" 2133source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1927,3 +2135,70 @@ checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
1927dependencies = [ 2135dependencies = [
1928 "linked-hash-map", 2136 "linked-hash-map",
1929] 2137]
2138
2139[[package]]
2140name = "yoke"
2141version = "0.7.4"
2142source = "registry+https://github.com/rust-lang/crates.io-index"
2143checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
2144dependencies = [
2145 "serde",
2146 "stable_deref_trait",
2147 "yoke-derive",
2148 "zerofrom",
2149]
2150
2151[[package]]
2152name = "yoke-derive"
2153version = "0.7.4"
2154source = "registry+https://github.com/rust-lang/crates.io-index"
2155checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
2156dependencies = [
2157 "proc-macro2",
2158 "quote",
2159 "syn",
2160 "synstructure",
2161]
2162
2163[[package]]
2164name = "zerofrom"
2165version = "0.1.4"
2166source = "registry+https://github.com/rust-lang/crates.io-index"
2167checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
2168dependencies = [
2169 "zerofrom-derive",
2170]
2171
2172[[package]]
2173name = "zerofrom-derive"
2174version = "0.1.4"
2175source = "registry+https://github.com/rust-lang/crates.io-index"
2176checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
2177dependencies = [
2178 "proc-macro2",
2179 "quote",
2180 "syn",
2181 "synstructure",
2182]
2183
2184[[package]]
2185name = "zerovec"
2186version = "0.10.2"
2187source = "registry+https://github.com/rust-lang/crates.io-index"
2188checksum = "bb2cc8827d6c0994478a15c53f374f46fbd41bea663d809b14744bc42e6b109c"
2189dependencies = [
2190 "yoke",
2191 "zerofrom",
2192 "zerovec-derive",
2193]
2194
2195[[package]]
2196name = "zerovec-derive"
2197version = "0.10.2"
2198source = "registry+https://github.com/rust-lang/crates.io-index"
2199checksum = "97cf56601ee5052b4417d90c8755c6683473c926039908196cf35d99f893ebe7"
2200dependencies = [
2201 "proc-macro2",
2202 "quote",
2203 "syn",
2204]
diff --git a/Cargo.toml b/Cargo.toml
index 36b08c5..cf545aa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "webol-cli" 2name = "webol-cli"
3version = "0.2.0" 3version = "0.3.0"
4edition = "2021" 4edition = "2021"
5 5
6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -17,9 +17,9 @@ config = "0.14"
17dirs = "5.0" 17dirs = "5.0"
18futures-util = "0.3" 18futures-util = "0.3"
19indicatif = "0.17" 19indicatif = "0.17"
20reqwest = { version = "0.11", features = ["blocking"] } 20reqwest = { version = "0.12", features = ["blocking"] }
21serde = "1.0" 21serde = "1.0"
22serde_json = "1.0" 22serde_json = "1.0"
23thiserror = "1.0" 23thiserror = "1.0"
24tokio = { version = "1.36", features = ["macros", "rt-multi-thread", "io-std"] } 24tokio = { version = "1.38", features = ["macros", "rt-multi-thread", "io-std"] }
25tokio-tungstenite = "0.21" 25tokio-tungstenite = "0.23"
diff --git a/docker-compose.yml b/docker-compose.yml
index ea10db2..63b7e5c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,25 +1,11 @@
1services: 1services:
2 webol: 2 webol:
3 image: ghcr.io/fxqnlr/webol:dev-9 3 image: webol:4
4 container_name: webol-cli-server 4 container_name: webol-cli-server
5 restart: no 5 restart: no
6 depends_on:
7 - db
8 environment: 6 environment:
9 - RUST_LOG=info,webol=trace 7 - RUST_LOG=info,webol=trace
10 - WEBOL_DATABASE_URL=postgres://postgres:postgres@localhost:5432/webol 8 - WEBOL_TIMEOFFSET=2
11 - WEBOL_APIKEY=dev
12 - WEBOL_SERVERADDR=0.0.0.0:7229
13 network_mode: host
14
15 db:
16 image: postgres
17 container_name: webol-cli-db
18 restart: no
19 environment:
20 POSTGRES_PASSWORD: postgres
21 POSTGRES_DB: webol
22 volumes: 9 volumes:
23 - ./postgres-data:/var/lib/postgresql/data 10 - ./devices:/devices
24 ports: 11 network_mode: host
25 - "5432:5432"
diff --git a/src/config.rs b/src/config.rs
index 769269c..01ab097 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -2,8 +2,20 @@ use serde::Deserialize;
2 2
3#[derive(Deserialize)] 3#[derive(Deserialize)]
4pub struct Config { 4pub struct Config {
5 pub apikey: String,
6 pub server: String, 5 pub server: String,
6 pub auth: Auth,
7}
8
9#[derive(Deserialize)]
10pub struct Auth {
11 pub method: Method,
12 pub secret: String,
13}
14
15#[derive(PartialEq, Eq, Deserialize)]
16pub enum Method {
17 None,
18 Key,
7} 19}
8 20
9impl Config { 21impl Config {
@@ -12,9 +24,15 @@ impl Config {
12 24
13 let builder = config::Config::builder(); 25 let builder = config::Config::builder();
14 26
27 let builder = builder
28 .set_default("auth.method", "none")?
29 .set_default("auth.secret", "")?;
30
15 let builder = if let Some(conf) = config_dir { 31 let builder = if let Some(conf) = config_dir {
16 let dir = conf.to_string_lossy(); 32 let dir = conf.to_string_lossy();
17 builder.add_source(config::File::with_name(format!("{dir}/webol-cli").as_str()).required(false)) 33 builder.add_source(
34 config::File::with_name(format!("{dir}/webol-cli").as_str()).required(false),
35 )
18 } else { 36 } else {
19 println!("!No config dir found"); 37 println!("!No config dir found");
20 builder 38 builder
diff --git a/src/main.rs b/src/main.rs
index 5a0931d..2726a5e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,6 +3,7 @@ use std::{fmt::Display, time::Duration};
3use crate::config::Config; 3use crate::config::Config;
4use clap::{Command, CommandFactory, Parser, Subcommand}; 4use clap::{Command, CommandFactory, Parser, Subcommand};
5use clap_complete::{generate, Generator, Shell}; 5use clap_complete::{generate, Generator, Shell};
6use config::Method;
6use error::Error; 7use error::Error;
7use indicatif::{MultiProgress, ProgressBar, ProgressStyle}; 8use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
8use requests::{device, start::start}; 9use requests::{device, start::start};
@@ -117,13 +118,21 @@ fn default_headers(config: &Config) -> Result<HeaderMap, Error> {
117 let mut map = HeaderMap::new(); 118 let mut map = HeaderMap::new();
118 map.append("Accept-Content", HeaderValue::from_str("application/json")?); 119 map.append("Accept-Content", HeaderValue::from_str("application/json")?);
119 map.append("Content-Type", HeaderValue::from_str("application/json")?); 120 map.append("Content-Type", HeaderValue::from_str("application/json")?);
120 map.append("Authorization", HeaderValue::from_str(&config.apikey)?); 121 if config.auth.method != Method::None {
122 map.append("Authorization", HeaderValue::from_str(&config.auth.secret)?);
123
124 }
121 125
122 Ok(map) 126 Ok(map)
123} 127}
124 128
125fn format_url(config: &Config, path: &str, protocol: &Protocols) -> String { 129fn format_url(config: &Config, path: &str, protocol: &Protocols, id: Option<&str>) -> String {
126 format!("{}://{}/{}", protocol, config.server, path) 130 if let Some(id) = id {
131 format!("{}://{}/{}/{}", protocol, config.server, path, id)
132
133 } else {
134 format!("{}://{}/{}", protocol, config.server, path)
135 }
127} 136}
128 137
129async fn check_success(res: Response) -> Result<String, Error> { 138async fn check_success(res: Response) -> Result<String, Error> {
diff --git a/src/requests/device.rs b/src/requests/device.rs
index 7583406..2606579 100644
--- a/src/requests/device.rs
+++ b/src/requests/device.rs
@@ -7,7 +7,7 @@ pub async fn put(
7 broadcast_addr: String, 7 broadcast_addr: String,
8 ip: String, 8 ip: String,
9) -> Result<(), Error> { 9) -> Result<(), Error> {
10 let url = format_url(config, "device", &Protocols::Http); 10 let url = format_url(config, "device", &Protocols::Http, None);
11 println!("{url}"); 11 println!("{url}");
12 let res = reqwest::Client::new() 12 let res = reqwest::Client::new()
13 .put(url) 13 .put(url)
@@ -25,9 +25,8 @@ pub async fn put(
25 25
26pub async fn get(config: &Config, id: String) -> Result<(), Error> { 26pub async fn get(config: &Config, id: String) -> Result<(), Error> {
27 let res = reqwest::Client::new() 27 let res = reqwest::Client::new()
28 .get(format_url(config, "device", &Protocols::Http)) 28 .get(format_url(config, "device", &Protocols::Http, Some(&id)))
29 .headers(default_headers(config)?) 29 .headers(default_headers(config)?)
30 .body(format!(r#"{{"id": "{id}"}}"#))
31 .send() 30 .send()
32 .await?; 31 .await?;
33 32
@@ -44,7 +43,7 @@ pub async fn post(
44 ip: String, 43 ip: String,
45) -> Result<(), Error> { 44) -> Result<(), Error> {
46 let res = reqwest::Client::new() 45 let res = reqwest::Client::new()
47 .post(format_url(config, "device", &Protocols::Http)) 46 .post(format_url(config, "device", &Protocols::Http, None))
48 .headers(default_headers(config)?) 47 .headers(default_headers(config)?)
49 .body(format!( 48 .body(format!(
50 r#"{{"id": "{id}", "mac": "{mac}", "broadcast_addr": "{broadcast_addr}", "ip": "{ip}"}}"#, 49 r#"{{"id": "{id}", "mac": "{mac}", "broadcast_addr": "{broadcast_addr}", "ip": "{ip}"}}"#,
diff --git a/src/requests/start.rs b/src/requests/start.rs
index 3afbe3a..1ec3ce8 100644
--- a/src/requests/start.rs
+++ b/src/requests/start.rs
@@ -17,12 +17,12 @@ pub async fn start(config: &Config, id: String, ping: bool) -> Result<(), Error>
17 let send_start = MultiProgress::new(); 17 let send_start = MultiProgress::new();
18 let overview = add_pb(&send_start, OVERVIEW_STYLE, format!(") start {id}")); 18 let overview = add_pb(&send_start, OVERVIEW_STYLE, format!(") start {id}"));
19 19
20 let url = format_url(config, "start", &Protocols::Http); 20 let url = format_url(config, "start", &Protocols::Http, Some(&id));
21 let connect = add_pb(&send_start, DEFAULT_STYLE, format!("connect to {url}")); 21 let connect = add_pb(&send_start, DEFAULT_STYLE, format!("connect to {url}"));
22 let res = reqwest::Client::new() 22 let res = reqwest::Client::new()
23 .post(url) 23 .post(url)
24 .headers(default_headers(config)?) 24 .headers(default_headers(config)?)
25 .body(format!(r#"{{"id": "{id}", "ping": {ping}}}"#)) 25 .body(format!(r#"{{"ping": {ping}}}"#))
26 .send() 26 .send()
27 .await?; 27 .await?;
28 finish_pb(&connect, "connected, got response".to_string(), DONE_STYLE); 28 finish_pb(&connect, "connected, got response".to_string(), DONE_STYLE);
@@ -71,8 +71,8 @@ async fn status_socket(
71 let ws_pb = add_pb(pb, DEFAULT_STYLE, "connect to websocket".to_string()); 71 let ws_pb = add_pb(pb, DEFAULT_STYLE, "connect to websocket".to_string());
72 72
73 let request = Request::builder() 73 let request = Request::builder()
74 .uri(format_url(config, "status", &Protocols::Websocket)) 74 .uri(format_url(config, "status", &Protocols::Websocket, None))
75 .header("Authorization", &config.apikey) 75 .header("Authorization", &config.auth.secret)
76 .header("sec-websocket-key", "") 76 .header("sec-websocket-key", "")
77 .header("host", &config.server) 77 .header("host", &config.server)
78 .header("upgrade", "websocket") 78 .header("upgrade", "websocket")