diff options
author | FxQnLr <[email protected]> | 2023-11-17 11:18:31 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-17 11:18:31 +0100 |
commit | 48190366ac94888811dd4b0b8e6532b35f1a9d10 (patch) | |
tree | 8689660d75d0e45af460ed3d144b5a010289c0be | |
parent | 8fab2e7c3a38a91c8f5549b639e7f2ac4ae1a420 (diff) | |
parent | 93de8742961287cb9cfd08e68c8afa2347585a73 (diff) | |
download | webol-cli-48190366ac94888811dd4b0b8e6532b35f1a9d10.tar webol-cli-48190366ac94888811dd4b0b8e6532b35f1a9d10.tar.gz webol-cli-48190366ac94888811dd4b0b8e6532b35f1a9d10.zip |
Merge pull request #1 from FxQnLr/eta
Eta
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Cargo.lock | 494 | ||||
-rw-r--r-- | Cargo.toml | 5 | ||||
-rw-r--r-- | docker-compose.yml | 2 | ||||
-rw-r--r-- | src/error.rs | 6 | ||||
-rw-r--r-- | src/main.rs | 91 | ||||
-rw-r--r-- | src/requests/device.rs | 44 | ||||
-rw-r--r-- | src/requests/start.rs | 131 | ||||
-rw-r--r-- | webol-cli.toml | 2 |
9 files changed, 610 insertions, 166 deletions
@@ -1,2 +1,3 @@ | |||
1 | /target | 1 | /target |
2 | /postgres-data | 2 | /postgres-data |
3 | webol-cli.toml | ||
@@ -19,9 +19,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" | |||
19 | 19 | ||
20 | [[package]] | 20 | [[package]] |
21 | name = "ahash" | 21 | name = "ahash" |
22 | version = "0.7.6" | 22 | version = "0.7.7" |
23 | source = "registry+https://github.com/rust-lang/crates.io-index" | 23 | source = "registry+https://github.com/rust-lang/crates.io-index" |
24 | checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" | 24 | checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" |
25 | dependencies = [ | 25 | dependencies = [ |
26 | "getrandom", | 26 | "getrandom", |
27 | "once_cell", | 27 | "once_cell", |
@@ -63,7 +63,7 @@ version = "1.0.0" | |||
63 | source = "registry+https://github.com/rust-lang/crates.io-index" | 63 | source = "registry+https://github.com/rust-lang/crates.io-index" |
64 | checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" | 64 | checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" |
65 | dependencies = [ | 65 | dependencies = [ |
66 | "windows-sys", | 66 | "windows-sys 0.48.0", |
67 | ] | 67 | ] |
68 | 68 | ||
69 | [[package]] | 69 | [[package]] |
@@ -73,7 +73,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
73 | checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" | 73 | checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" |
74 | dependencies = [ | 74 | dependencies = [ |
75 | "anstyle", | 75 | "anstyle", |
76 | "windows-sys", | 76 | "windows-sys 0.48.0", |
77 | ] | 77 | ] |
78 | 78 | ||
79 | [[package]] | 79 | [[package]] |
@@ -116,9 +116,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" | |||
116 | 116 | ||
117 | [[package]] | 117 | [[package]] |
118 | name = "base64" | 118 | name = "base64" |
119 | version = "0.21.4" | 119 | version = "0.21.5" |
120 | source = "registry+https://github.com/rust-lang/crates.io-index" | 120 | source = "registry+https://github.com/rust-lang/crates.io-index" |
121 | checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" | 121 | checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" |
122 | 122 | ||
123 | [[package]] | 123 | [[package]] |
124 | name = "bitflags" | 124 | name = "bitflags" |
@@ -148,6 +148,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
148 | checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" | 148 | checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" |
149 | 149 | ||
150 | [[package]] | 150 | [[package]] |
151 | name = "byteorder" | ||
152 | version = "1.5.0" | ||
153 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
154 | checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" | ||
155 | |||
156 | [[package]] | ||
151 | name = "bytes" | 157 | name = "bytes" |
152 | version = "1.5.0" | 158 | version = "1.5.0" |
153 | source = "registry+https://github.com/rust-lang/crates.io-index" | 159 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -155,9 +161,9 @@ checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" | |||
155 | 161 | ||
156 | [[package]] | 162 | [[package]] |
157 | name = "cc" | 163 | name = "cc" |
158 | version = "1.0.83" | 164 | version = "1.0.84" |
159 | source = "registry+https://github.com/rust-lang/crates.io-index" | 165 | source = "registry+https://github.com/rust-lang/crates.io-index" |
160 | checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" | 166 | checksum = "0f8e7c90afad890484a21653d08b6e209ae34770fb5ee298f9c699fcc1e5c856" |
161 | dependencies = [ | 167 | dependencies = [ |
162 | "libc", | 168 | "libc", |
163 | ] | 169 | ] |
@@ -170,9 +176,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | |||
170 | 176 | ||
171 | [[package]] | 177 | [[package]] |
172 | name = "clap" | 178 | name = "clap" |
173 | version = "4.4.6" | 179 | version = "4.4.8" |
174 | source = "registry+https://github.com/rust-lang/crates.io-index" | 180 | source = "registry+https://github.com/rust-lang/crates.io-index" |
175 | checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" | 181 | checksum = "2275f18819641850fa26c89acc84d465c1bf91ce57bc2748b28c420473352f64" |
176 | dependencies = [ | 182 | dependencies = [ |
177 | "clap_builder", | 183 | "clap_builder", |
178 | "clap_derive", | 184 | "clap_derive", |
@@ -180,9 +186,9 @@ dependencies = [ | |||
180 | 186 | ||
181 | [[package]] | 187 | [[package]] |
182 | name = "clap_builder" | 188 | name = "clap_builder" |
183 | version = "4.4.6" | 189 | version = "4.4.8" |
184 | source = "registry+https://github.com/rust-lang/crates.io-index" | 190 | source = "registry+https://github.com/rust-lang/crates.io-index" |
185 | checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" | 191 | checksum = "07cdf1b148b25c1e1f7a42225e30a0d99a615cd4637eae7365548dd4529b95bc" |
186 | dependencies = [ | 192 | dependencies = [ |
187 | "anstream", | 193 | "anstream", |
188 | "anstyle", | 194 | "anstyle", |
@@ -191,10 +197,19 @@ dependencies = [ | |||
191 | ] | 197 | ] |
192 | 198 | ||
193 | [[package]] | 199 | [[package]] |
200 | name = "clap_complete" | ||
201 | version = "4.4.4" | ||
202 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
203 | checksum = "bffe91f06a11b4b9420f62103854e90867812cd5d01557f853c5ee8e791b12ae" | ||
204 | dependencies = [ | ||
205 | "clap", | ||
206 | ] | ||
207 | |||
208 | [[package]] | ||
194 | name = "clap_derive" | 209 | name = "clap_derive" |
195 | version = "4.4.2" | 210 | version = "4.4.7" |
196 | source = "registry+https://github.com/rust-lang/crates.io-index" | 211 | source = "registry+https://github.com/rust-lang/crates.io-index" |
197 | checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" | 212 | checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" |
198 | dependencies = [ | 213 | dependencies = [ |
199 | "heck", | 214 | "heck", |
200 | "proc-macro2", | 215 | "proc-macro2", |
@@ -204,9 +219,9 @@ dependencies = [ | |||
204 | 219 | ||
205 | [[package]] | 220 | [[package]] |
206 | name = "clap_lex" | 221 | name = "clap_lex" |
207 | version = "0.5.1" | 222 | version = "0.6.0" |
208 | source = "registry+https://github.com/rust-lang/crates.io-index" | 223 | source = "registry+https://github.com/rust-lang/crates.io-index" |
209 | checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" | 224 | checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" |
210 | 225 | ||
211 | [[package]] | 226 | [[package]] |
212 | name = "colorchoice" | 227 | name = "colorchoice" |
@@ -234,6 +249,19 @@ dependencies = [ | |||
234 | ] | 249 | ] |
235 | 250 | ||
236 | [[package]] | 251 | [[package]] |
252 | name = "console" | ||
253 | version = "0.15.7" | ||
254 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
255 | checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" | ||
256 | dependencies = [ | ||
257 | "encode_unicode", | ||
258 | "lazy_static", | ||
259 | "libc", | ||
260 | "unicode-width", | ||
261 | "windows-sys 0.45.0", | ||
262 | ] | ||
263 | |||
264 | [[package]] | ||
237 | name = "core-foundation" | 265 | name = "core-foundation" |
238 | version = "0.9.3" | 266 | version = "0.9.3" |
239 | source = "registry+https://github.com/rust-lang/crates.io-index" | 267 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -251,9 +279,9 @@ checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" | |||
251 | 279 | ||
252 | [[package]] | 280 | [[package]] |
253 | name = "cpufeatures" | 281 | name = "cpufeatures" |
254 | version = "0.2.10" | 282 | version = "0.2.11" |
255 | source = "registry+https://github.com/rust-lang/crates.io-index" | 283 | source = "registry+https://github.com/rust-lang/crates.io-index" |
256 | checksum = "3fbc60abd742b35f2492f808e1abbb83d45f72db402e14c55057edc9c7b1e9e4" | 284 | checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" |
257 | dependencies = [ | 285 | dependencies = [ |
258 | "libc", | 286 | "libc", |
259 | ] | 287 | ] |
@@ -269,6 +297,12 @@ dependencies = [ | |||
269 | ] | 297 | ] |
270 | 298 | ||
271 | [[package]] | 299 | [[package]] |
300 | name = "data-encoding" | ||
301 | version = "2.4.0" | ||
302 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
303 | checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" | ||
304 | |||
305 | [[package]] | ||
272 | name = "digest" | 306 | name = "digest" |
273 | version = "0.10.7" | 307 | version = "0.10.7" |
274 | source = "registry+https://github.com/rust-lang/crates.io-index" | 308 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -296,7 +330,7 @@ dependencies = [ | |||
296 | "libc", | 330 | "libc", |
297 | "option-ext", | 331 | "option-ext", |
298 | "redox_users", | 332 | "redox_users", |
299 | "windows-sys", | 333 | "windows-sys 0.48.0", |
300 | ] | 334 | ] |
301 | 335 | ||
302 | [[package]] | 336 | [[package]] |
@@ -306,6 +340,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
306 | checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" | 340 | checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" |
307 | 341 | ||
308 | [[package]] | 342 | [[package]] |
343 | name = "encode_unicode" | ||
344 | version = "0.3.6" | ||
345 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
346 | checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" | ||
347 | |||
348 | [[package]] | ||
309 | name = "encoding_rs" | 349 | name = "encoding_rs" |
310 | version = "0.8.33" | 350 | version = "0.8.33" |
311 | source = "registry+https://github.com/rust-lang/crates.io-index" | 351 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -316,12 +356,12 @@ dependencies = [ | |||
316 | 356 | ||
317 | [[package]] | 357 | [[package]] |
318 | name = "errno" | 358 | name = "errno" |
319 | version = "0.3.5" | 359 | version = "0.3.6" |
320 | source = "registry+https://github.com/rust-lang/crates.io-index" | 360 | source = "registry+https://github.com/rust-lang/crates.io-index" |
321 | checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" | 361 | checksum = "7c18ee0ed65a5f1f81cac6b1d213b69c35fa47d4252ad41f1486dbd8226fe36e" |
322 | dependencies = [ | 362 | dependencies = [ |
323 | "libc", | 363 | "libc", |
324 | "windows-sys", | 364 | "windows-sys 0.48.0", |
325 | ] | 365 | ] |
326 | 366 | ||
327 | [[package]] | 367 | [[package]] |
@@ -362,45 +402,58 @@ dependencies = [ | |||
362 | 402 | ||
363 | [[package]] | 403 | [[package]] |
364 | name = "futures-channel" | 404 | name = "futures-channel" |
365 | version = "0.3.28" | 405 | version = "0.3.29" |
366 | source = "registry+https://github.com/rust-lang/crates.io-index" | 406 | source = "registry+https://github.com/rust-lang/crates.io-index" |
367 | checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" | 407 | checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" |
368 | dependencies = [ | 408 | dependencies = [ |
369 | "futures-core", | 409 | "futures-core", |
370 | ] | 410 | ] |
371 | 411 | ||
372 | [[package]] | 412 | [[package]] |
373 | name = "futures-core" | 413 | name = "futures-core" |
374 | version = "0.3.28" | 414 | version = "0.3.29" |
375 | source = "registry+https://github.com/rust-lang/crates.io-index" | 415 | source = "registry+https://github.com/rust-lang/crates.io-index" |
376 | checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" | 416 | checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" |
377 | 417 | ||
378 | [[package]] | 418 | [[package]] |
379 | name = "futures-io" | 419 | name = "futures-io" |
380 | version = "0.3.28" | 420 | version = "0.3.29" |
381 | source = "registry+https://github.com/rust-lang/crates.io-index" | 421 | source = "registry+https://github.com/rust-lang/crates.io-index" |
382 | checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" | 422 | checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" |
423 | |||
424 | [[package]] | ||
425 | name = "futures-macro" | ||
426 | version = "0.3.29" | ||
427 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
428 | checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" | ||
429 | dependencies = [ | ||
430 | "proc-macro2", | ||
431 | "quote", | ||
432 | "syn", | ||
433 | ] | ||
383 | 434 | ||
384 | [[package]] | 435 | [[package]] |
385 | name = "futures-sink" | 436 | name = "futures-sink" |
386 | version = "0.3.28" | 437 | version = "0.3.29" |
387 | source = "registry+https://github.com/rust-lang/crates.io-index" | 438 | source = "registry+https://github.com/rust-lang/crates.io-index" |
388 | checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" | 439 | checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" |
389 | 440 | ||
390 | [[package]] | 441 | [[package]] |
391 | name = "futures-task" | 442 | name = "futures-task" |
392 | version = "0.3.28" | 443 | version = "0.3.29" |
393 | source = "registry+https://github.com/rust-lang/crates.io-index" | 444 | source = "registry+https://github.com/rust-lang/crates.io-index" |
394 | checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" | 445 | checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" |
395 | 446 | ||
396 | [[package]] | 447 | [[package]] |
397 | name = "futures-util" | 448 | name = "futures-util" |
398 | version = "0.3.28" | 449 | version = "0.3.29" |
399 | source = "registry+https://github.com/rust-lang/crates.io-index" | 450 | source = "registry+https://github.com/rust-lang/crates.io-index" |
400 | checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" | 451 | checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" |
401 | dependencies = [ | 452 | dependencies = [ |
402 | "futures-core", | 453 | "futures-core", |
403 | "futures-io", | 454 | "futures-io", |
455 | "futures-macro", | ||
456 | "futures-sink", | ||
404 | "futures-task", | 457 | "futures-task", |
405 | "memchr", | 458 | "memchr", |
406 | "pin-project-lite", | 459 | "pin-project-lite", |
@@ -420,9 +473,9 @@ dependencies = [ | |||
420 | 473 | ||
421 | [[package]] | 474 | [[package]] |
422 | name = "getrandom" | 475 | name = "getrandom" |
423 | version = "0.2.10" | 476 | version = "0.2.11" |
424 | source = "registry+https://github.com/rust-lang/crates.io-index" | 477 | source = "registry+https://github.com/rust-lang/crates.io-index" |
425 | checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" | 478 | checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" |
426 | dependencies = [ | 479 | dependencies = [ |
427 | "cfg-if", | 480 | "cfg-if", |
428 | "libc", | 481 | "libc", |
@@ -477,9 +530,9 @@ checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" | |||
477 | 530 | ||
478 | [[package]] | 531 | [[package]] |
479 | name = "http" | 532 | name = "http" |
480 | version = "0.2.9" | 533 | version = "0.2.10" |
481 | source = "registry+https://github.com/rust-lang/crates.io-index" | 534 | source = "registry+https://github.com/rust-lang/crates.io-index" |
482 | checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" | 535 | checksum = "f95b9abcae896730d42b78e09c155ed4ddf82c07b4de772c64aee5b2d8b7c150" |
483 | dependencies = [ | 536 | dependencies = [ |
484 | "bytes", | 537 | "bytes", |
485 | "fnv", | 538 | "fnv", |
@@ -567,10 +620,32 @@ dependencies = [ | |||
567 | ] | 620 | ] |
568 | 621 | ||
569 | [[package]] | 622 | [[package]] |
623 | name = "indicatif" | ||
624 | version = "0.17.7" | ||
625 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
626 | checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" | ||
627 | dependencies = [ | ||
628 | "console", | ||
629 | "instant", | ||
630 | "number_prefix", | ||
631 | "portable-atomic", | ||
632 | "unicode-width", | ||
633 | ] | ||
634 | |||
635 | [[package]] | ||
636 | name = "instant" | ||
637 | version = "0.1.12" | ||
638 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
639 | checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" | ||
640 | dependencies = [ | ||
641 | "cfg-if", | ||
642 | ] | ||
643 | |||
644 | [[package]] | ||
570 | name = "ipnet" | 645 | name = "ipnet" |
571 | version = "2.8.0" | 646 | version = "2.9.0" |
572 | source = "registry+https://github.com/rust-lang/crates.io-index" | 647 | source = "registry+https://github.com/rust-lang/crates.io-index" |
573 | checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" | 648 | checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" |
574 | 649 | ||
575 | [[package]] | 650 | [[package]] |
576 | name = "itoa" | 651 | name = "itoa" |
@@ -580,9 +655,9 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" | |||
580 | 655 | ||
581 | [[package]] | 656 | [[package]] |
582 | name = "js-sys" | 657 | name = "js-sys" |
583 | version = "0.3.64" | 658 | version = "0.3.65" |
584 | source = "registry+https://github.com/rust-lang/crates.io-index" | 659 | source = "registry+https://github.com/rust-lang/crates.io-index" |
585 | checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" | 660 | checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" |
586 | dependencies = [ | 661 | dependencies = [ |
587 | "wasm-bindgen", | 662 | "wasm-bindgen", |
588 | ] | 663 | ] |
@@ -606,9 +681,20 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | |||
606 | 681 | ||
607 | [[package]] | 682 | [[package]] |
608 | name = "libc" | 683 | name = "libc" |
609 | version = "0.2.149" | 684 | version = "0.2.150" |
610 | source = "registry+https://github.com/rust-lang/crates.io-index" | 685 | source = "registry+https://github.com/rust-lang/crates.io-index" |
611 | checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" | 686 | checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" |
687 | |||
688 | [[package]] | ||
689 | name = "libredox" | ||
690 | version = "0.0.1" | ||
691 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
692 | checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" | ||
693 | dependencies = [ | ||
694 | "bitflags 2.4.1", | ||
695 | "libc", | ||
696 | "redox_syscall", | ||
697 | ] | ||
612 | 698 | ||
613 | [[package]] | 699 | [[package]] |
614 | name = "linked-hash-map" | 700 | name = "linked-hash-map" |
@@ -618,9 +704,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" | |||
618 | 704 | ||
619 | [[package]] | 705 | [[package]] |
620 | name = "linux-raw-sys" | 706 | name = "linux-raw-sys" |
621 | version = "0.4.10" | 707 | version = "0.4.11" |
622 | source = "registry+https://github.com/rust-lang/crates.io-index" | 708 | source = "registry+https://github.com/rust-lang/crates.io-index" |
623 | checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" | 709 | checksum = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829" |
624 | 710 | ||
625 | [[package]] | 711 | [[package]] |
626 | name = "log" | 712 | name = "log" |
@@ -657,13 +743,13 @@ dependencies = [ | |||
657 | 743 | ||
658 | [[package]] | 744 | [[package]] |
659 | name = "mio" | 745 | name = "mio" |
660 | version = "0.8.8" | 746 | version = "0.8.9" |
661 | source = "registry+https://github.com/rust-lang/crates.io-index" | 747 | source = "registry+https://github.com/rust-lang/crates.io-index" |
662 | checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" | 748 | checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" |
663 | dependencies = [ | 749 | dependencies = [ |
664 | "libc", | 750 | "libc", |
665 | "wasi", | 751 | "wasi", |
666 | "windows-sys", | 752 | "windows-sys 0.48.0", |
667 | ] | 753 | ] |
668 | 754 | ||
669 | [[package]] | 755 | [[package]] |
@@ -705,6 +791,12 @@ dependencies = [ | |||
705 | ] | 791 | ] |
706 | 792 | ||
707 | [[package]] | 793 | [[package]] |
794 | name = "number_prefix" | ||
795 | version = "0.4.0" | ||
796 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
797 | checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" | ||
798 | |||
799 | [[package]] | ||
708 | name = "object" | 800 | name = "object" |
709 | version = "0.32.1" | 801 | version = "0.32.1" |
710 | source = "registry+https://github.com/rust-lang/crates.io-index" | 802 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -721,9 +813,9 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" | |||
721 | 813 | ||
722 | [[package]] | 814 | [[package]] |
723 | name = "openssl" | 815 | name = "openssl" |
724 | version = "0.10.57" | 816 | version = "0.10.59" |
725 | source = "registry+https://github.com/rust-lang/crates.io-index" | 817 | source = "registry+https://github.com/rust-lang/crates.io-index" |
726 | checksum = "bac25ee399abb46215765b1cb35bc0212377e58a061560d8b29b024fd0430e7c" | 818 | checksum = "7a257ad03cd8fb16ad4172fedf8094451e1af1c4b70097636ef2eac9a5f0cc33" |
727 | dependencies = [ | 819 | dependencies = [ |
728 | "bitflags 2.4.1", | 820 | "bitflags 2.4.1", |
729 | "cfg-if", | 821 | "cfg-if", |
@@ -753,9 +845,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" | |||
753 | 845 | ||
754 | [[package]] | 846 | [[package]] |
755 | name = "openssl-sys" | 847 | name = "openssl-sys" |
756 | version = "0.9.93" | 848 | version = "0.9.95" |
757 | source = "registry+https://github.com/rust-lang/crates.io-index" | 849 | source = "registry+https://github.com/rust-lang/crates.io-index" |
758 | checksum = "db4d56a4c0478783083cfafcc42493dd4a981d41669da64b4572a2a089b51b1d" | 850 | checksum = "40a4130519a360279579c2053038317e40eff64d13fd3f004f9e1b72b8a6aaf9" |
759 | dependencies = [ | 851 | dependencies = [ |
760 | "cc", | 852 | "cc", |
761 | "libc", | 853 | "libc", |
@@ -793,9 +885,9 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" | |||
793 | 885 | ||
794 | [[package]] | 886 | [[package]] |
795 | name = "pest" | 887 | name = "pest" |
796 | version = "2.7.4" | 888 | version = "2.7.5" |
797 | source = "registry+https://github.com/rust-lang/crates.io-index" | 889 | source = "registry+https://github.com/rust-lang/crates.io-index" |
798 | checksum = "c022f1e7b65d6a24c0dbbd5fb344c66881bc01f3e5ae74a1c8100f2f985d98a4" | 890 | checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" |
799 | dependencies = [ | 891 | dependencies = [ |
800 | "memchr", | 892 | "memchr", |
801 | "thiserror", | 893 | "thiserror", |
@@ -804,9 +896,9 @@ dependencies = [ | |||
804 | 896 | ||
805 | [[package]] | 897 | [[package]] |
806 | name = "pest_derive" | 898 | name = "pest_derive" |
807 | version = "2.7.4" | 899 | version = "2.7.5" |
808 | source = "registry+https://github.com/rust-lang/crates.io-index" | 900 | source = "registry+https://github.com/rust-lang/crates.io-index" |
809 | checksum = "35513f630d46400a977c4cb58f78e1bfbe01434316e60c37d27b9ad6139c66d8" | 901 | checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" |
810 | dependencies = [ | 902 | dependencies = [ |
811 | "pest", | 903 | "pest", |
812 | "pest_generator", | 904 | "pest_generator", |
@@ -814,9 +906,9 @@ dependencies = [ | |||
814 | 906 | ||
815 | [[package]] | 907 | [[package]] |
816 | name = "pest_generator" | 908 | name = "pest_generator" |
817 | version = "2.7.4" | 909 | version = "2.7.5" |
818 | source = "registry+https://github.com/rust-lang/crates.io-index" | 910 | source = "registry+https://github.com/rust-lang/crates.io-index" |
819 | checksum = "bc9fc1b9e7057baba189b5c626e2d6f40681ae5b6eb064dc7c7834101ec8123a" | 911 | checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" |
820 | dependencies = [ | 912 | dependencies = [ |
821 | "pest", | 913 | "pest", |
822 | "pest_meta", | 914 | "pest_meta", |
@@ -827,9 +919,9 @@ dependencies = [ | |||
827 | 919 | ||
828 | [[package]] | 920 | [[package]] |
829 | name = "pest_meta" | 921 | name = "pest_meta" |
830 | version = "2.7.4" | 922 | version = "2.7.5" |
831 | source = "registry+https://github.com/rust-lang/crates.io-index" | 923 | source = "registry+https://github.com/rust-lang/crates.io-index" |
832 | checksum = "1df74e9e7ec4053ceb980e7c0c8bd3594e977fde1af91daba9c928e8e8c6708d" | 924 | checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" |
833 | dependencies = [ | 925 | dependencies = [ |
834 | "once_cell", | 926 | "once_cell", |
835 | "pest", | 927 | "pest", |
@@ -855,6 +947,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
855 | checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" | 947 | checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" |
856 | 948 | ||
857 | [[package]] | 949 | [[package]] |
950 | name = "portable-atomic" | ||
951 | version = "1.5.1" | ||
952 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
953 | checksum = "3bccab0e7fd7cc19f820a1c8c91720af652d0c88dc9664dd72aef2614f04af3b" | ||
954 | |||
955 | [[package]] | ||
956 | name = "ppv-lite86" | ||
957 | version = "0.2.17" | ||
958 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
959 | checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" | ||
960 | |||
961 | [[package]] | ||
858 | name = "proc-macro2" | 962 | name = "proc-macro2" |
859 | version = "1.0.69" | 963 | version = "1.0.69" |
860 | source = "registry+https://github.com/rust-lang/crates.io-index" | 964 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -873,31 +977,52 @@ dependencies = [ | |||
873 | ] | 977 | ] |
874 | 978 | ||
875 | [[package]] | 979 | [[package]] |
876 | name = "redox_syscall" | 980 | name = "rand" |
877 | version = "0.2.16" | 981 | version = "0.8.5" |
878 | source = "registry+https://github.com/rust-lang/crates.io-index" | 982 | source = "registry+https://github.com/rust-lang/crates.io-index" |
879 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" | 983 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" |
880 | dependencies = [ | 984 | dependencies = [ |
881 | "bitflags 1.3.2", | 985 | "libc", |
986 | "rand_chacha", | ||
987 | "rand_core", | ||
988 | ] | ||
989 | |||
990 | [[package]] | ||
991 | name = "rand_chacha" | ||
992 | version = "0.3.1" | ||
993 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
994 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" | ||
995 | dependencies = [ | ||
996 | "ppv-lite86", | ||
997 | "rand_core", | ||
998 | ] | ||
999 | |||
1000 | [[package]] | ||
1001 | name = "rand_core" | ||
1002 | version = "0.6.4" | ||
1003 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1004 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" | ||
1005 | dependencies = [ | ||
1006 | "getrandom", | ||
882 | ] | 1007 | ] |
883 | 1008 | ||
884 | [[package]] | 1009 | [[package]] |
885 | name = "redox_syscall" | 1010 | name = "redox_syscall" |
886 | version = "0.3.5" | 1011 | version = "0.4.1" |
887 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1012 | source = "registry+https://github.com/rust-lang/crates.io-index" |
888 | checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" | 1013 | checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" |
889 | dependencies = [ | 1014 | dependencies = [ |
890 | "bitflags 1.3.2", | 1015 | "bitflags 1.3.2", |
891 | ] | 1016 | ] |
892 | 1017 | ||
893 | [[package]] | 1018 | [[package]] |
894 | name = "redox_users" | 1019 | name = "redox_users" |
895 | version = "0.4.3" | 1020 | version = "0.4.4" |
896 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1021 | source = "registry+https://github.com/rust-lang/crates.io-index" |
897 | checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" | 1022 | checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" |
898 | dependencies = [ | 1023 | dependencies = [ |
899 | "getrandom", | 1024 | "getrandom", |
900 | "redox_syscall 0.2.16", | 1025 | "libredox", |
901 | "thiserror", | 1026 | "thiserror", |
902 | ] | 1027 | ] |
903 | 1028 | ||
@@ -907,7 +1032,7 @@ version = "0.11.22" | |||
907 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1032 | source = "registry+https://github.com/rust-lang/crates.io-index" |
908 | checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" | 1033 | checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" |
909 | dependencies = [ | 1034 | dependencies = [ |
910 | "base64 0.21.4", | 1035 | "base64 0.21.5", |
911 | "bytes", | 1036 | "bytes", |
912 | "encoding_rs", | 1037 | "encoding_rs", |
913 | "futures-core", | 1038 | "futures-core", |
@@ -968,15 +1093,15 @@ checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" | |||
968 | 1093 | ||
969 | [[package]] | 1094 | [[package]] |
970 | name = "rustix" | 1095 | name = "rustix" |
971 | version = "0.38.20" | 1096 | version = "0.38.21" |
972 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1097 | source = "registry+https://github.com/rust-lang/crates.io-index" |
973 | checksum = "67ce50cb2e16c2903e30d1cbccfd8387a74b9d4c938b6a4c5ec6cc7556f7a8a0" | 1098 | checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" |
974 | dependencies = [ | 1099 | dependencies = [ |
975 | "bitflags 2.4.1", | 1100 | "bitflags 2.4.1", |
976 | "errno", | 1101 | "errno", |
977 | "libc", | 1102 | "libc", |
978 | "linux-raw-sys", | 1103 | "linux-raw-sys", |
979 | "windows-sys", | 1104 | "windows-sys 0.48.0", |
980 | ] | 1105 | ] |
981 | 1106 | ||
982 | [[package]] | 1107 | [[package]] |
@@ -991,7 +1116,7 @@ version = "0.1.22" | |||
991 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1116 | source = "registry+https://github.com/rust-lang/crates.io-index" |
992 | checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" | 1117 | checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" |
993 | dependencies = [ | 1118 | dependencies = [ |
994 | "windows-sys", | 1119 | "windows-sys 0.48.0", |
995 | ] | 1120 | ] |
996 | 1121 | ||
997 | [[package]] | 1122 | [[package]] |
@@ -1019,18 +1144,18 @@ dependencies = [ | |||
1019 | 1144 | ||
1020 | [[package]] | 1145 | [[package]] |
1021 | name = "serde" | 1146 | name = "serde" |
1022 | version = "1.0.189" | 1147 | version = "1.0.192" |
1023 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1148 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1024 | checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" | 1149 | checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" |
1025 | dependencies = [ | 1150 | dependencies = [ |
1026 | "serde_derive", | 1151 | "serde_derive", |
1027 | ] | 1152 | ] |
1028 | 1153 | ||
1029 | [[package]] | 1154 | [[package]] |
1030 | name = "serde_derive" | 1155 | name = "serde_derive" |
1031 | version = "1.0.189" | 1156 | version = "1.0.192" |
1032 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1157 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1033 | checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" | 1158 | checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" |
1034 | dependencies = [ | 1159 | dependencies = [ |
1035 | "proc-macro2", | 1160 | "proc-macro2", |
1036 | "quote", | 1161 | "quote", |
@@ -1039,9 +1164,9 @@ dependencies = [ | |||
1039 | 1164 | ||
1040 | [[package]] | 1165 | [[package]] |
1041 | name = "serde_json" | 1166 | name = "serde_json" |
1042 | version = "1.0.107" | 1167 | version = "1.0.108" |
1043 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1168 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1044 | checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" | 1169 | checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" |
1045 | dependencies = [ | 1170 | dependencies = [ |
1046 | "itoa", | 1171 | "itoa", |
1047 | "ryu", | 1172 | "ryu", |
@@ -1061,6 +1186,17 @@ dependencies = [ | |||
1061 | ] | 1186 | ] |
1062 | 1187 | ||
1063 | [[package]] | 1188 | [[package]] |
1189 | name = "sha1" | ||
1190 | version = "0.10.6" | ||
1191 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1192 | checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" | ||
1193 | dependencies = [ | ||
1194 | "cfg-if", | ||
1195 | "cpufeatures", | ||
1196 | "digest", | ||
1197 | ] | ||
1198 | |||
1199 | [[package]] | ||
1064 | name = "sha2" | 1200 | name = "sha2" |
1065 | version = "0.10.8" | 1201 | version = "0.10.8" |
1066 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1202 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1097,7 +1233,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1097 | checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" | 1233 | checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" |
1098 | dependencies = [ | 1234 | dependencies = [ |
1099 | "libc", | 1235 | "libc", |
1100 | "windows-sys", | 1236 | "windows-sys 0.48.0", |
1101 | ] | 1237 | ] |
1102 | 1238 | ||
1103 | [[package]] | 1239 | [[package]] |
@@ -1108,9 +1244,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" | |||
1108 | 1244 | ||
1109 | [[package]] | 1245 | [[package]] |
1110 | name = "syn" | 1246 | name = "syn" |
1111 | version = "2.0.38" | 1247 | version = "2.0.39" |
1112 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1248 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1113 | checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" | 1249 | checksum = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" |
1114 | dependencies = [ | 1250 | dependencies = [ |
1115 | "proc-macro2", | 1251 | "proc-macro2", |
1116 | "quote", | 1252 | "quote", |
@@ -1140,15 +1276,15 @@ dependencies = [ | |||
1140 | 1276 | ||
1141 | [[package]] | 1277 | [[package]] |
1142 | name = "tempfile" | 1278 | name = "tempfile" |
1143 | version = "3.8.0" | 1279 | version = "3.8.1" |
1144 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1280 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1145 | checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" | 1281 | checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" |
1146 | dependencies = [ | 1282 | dependencies = [ |
1147 | "cfg-if", | 1283 | "cfg-if", |
1148 | "fastrand", | 1284 | "fastrand", |
1149 | "redox_syscall 0.3.5", | 1285 | "redox_syscall", |
1150 | "rustix", | 1286 | "rustix", |
1151 | "windows-sys", | 1287 | "windows-sys 0.48.0", |
1152 | ] | 1288 | ] |
1153 | 1289 | ||
1154 | [[package]] | 1290 | [[package]] |
@@ -1188,9 +1324,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" | |||
1188 | 1324 | ||
1189 | [[package]] | 1325 | [[package]] |
1190 | name = "tokio" | 1326 | name = "tokio" |
1191 | version = "1.33.0" | 1327 | version = "1.34.0" |
1192 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1328 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1193 | checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" | 1329 | checksum = "d0c014766411e834f7af5b8f4cf46257aab4036ca95e9d2c144a10f59ad6f5b9" |
1194 | dependencies = [ | 1330 | dependencies = [ |
1195 | "backtrace", | 1331 | "backtrace", |
1196 | "bytes", | 1332 | "bytes", |
@@ -1199,7 +1335,19 @@ dependencies = [ | |||
1199 | "num_cpus", | 1335 | "num_cpus", |
1200 | "pin-project-lite", | 1336 | "pin-project-lite", |
1201 | "socket2 0.5.5", | 1337 | "socket2 0.5.5", |
1202 | "windows-sys", | 1338 | "tokio-macros", |
1339 | "windows-sys 0.48.0", | ||
1340 | ] | ||
1341 | |||
1342 | [[package]] | ||
1343 | name = "tokio-macros" | ||
1344 | version = "2.2.0" | ||
1345 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1346 | checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" | ||
1347 | dependencies = [ | ||
1348 | "proc-macro2", | ||
1349 | "quote", | ||
1350 | "syn", | ||
1203 | ] | 1351 | ] |
1204 | 1352 | ||
1205 | [[package]] | 1353 | [[package]] |
@@ -1213,10 +1361,22 @@ dependencies = [ | |||
1213 | ] | 1361 | ] |
1214 | 1362 | ||
1215 | [[package]] | 1363 | [[package]] |
1364 | name = "tokio-tungstenite" | ||
1365 | version = "0.20.1" | ||
1366 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1367 | checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" | ||
1368 | dependencies = [ | ||
1369 | "futures-util", | ||
1370 | "log", | ||
1371 | "tokio", | ||
1372 | "tungstenite", | ||
1373 | ] | ||
1374 | |||
1375 | [[package]] | ||
1216 | name = "tokio-util" | 1376 | name = "tokio-util" |
1217 | version = "0.7.9" | 1377 | version = "0.7.10" |
1218 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1378 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1219 | checksum = "1d68074620f57a0b21594d9735eb2e98ab38b17f80d3fcb189fca266771ca60d" | 1379 | checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" |
1220 | dependencies = [ | 1380 | dependencies = [ |
1221 | "bytes", | 1381 | "bytes", |
1222 | "futures-core", | 1382 | "futures-core", |
@@ -1267,6 +1427,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1267 | checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" | 1427 | checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" |
1268 | 1428 | ||
1269 | [[package]] | 1429 | [[package]] |
1430 | name = "tungstenite" | ||
1431 | version = "0.20.1" | ||
1432 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1433 | checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" | ||
1434 | dependencies = [ | ||
1435 | "byteorder", | ||
1436 | "bytes", | ||
1437 | "data-encoding", | ||
1438 | "http", | ||
1439 | "httparse", | ||
1440 | "log", | ||
1441 | "rand", | ||
1442 | "sha1", | ||
1443 | "thiserror", | ||
1444 | "url", | ||
1445 | "utf-8", | ||
1446 | ] | ||
1447 | |||
1448 | [[package]] | ||
1270 | name = "typenum" | 1449 | name = "typenum" |
1271 | version = "1.17.0" | 1450 | version = "1.17.0" |
1272 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1451 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1300,6 +1479,12 @@ dependencies = [ | |||
1300 | ] | 1479 | ] |
1301 | 1480 | ||
1302 | [[package]] | 1481 | [[package]] |
1482 | name = "unicode-width" | ||
1483 | version = "0.1.11" | ||
1484 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1485 | checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" | ||
1486 | |||
1487 | [[package]] | ||
1303 | name = "url" | 1488 | name = "url" |
1304 | version = "2.4.1" | 1489 | version = "2.4.1" |
1305 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1490 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1311,6 +1496,12 @@ dependencies = [ | |||
1311 | ] | 1496 | ] |
1312 | 1497 | ||
1313 | [[package]] | 1498 | [[package]] |
1499 | name = "utf-8" | ||
1500 | version = "0.7.6" | ||
1501 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1502 | checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" | ||
1503 | |||
1504 | [[package]] | ||
1314 | name = "utf8parse" | 1505 | name = "utf8parse" |
1315 | version = "0.2.1" | 1506 | version = "0.2.1" |
1316 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1507 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1345,9 +1536,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" | |||
1345 | 1536 | ||
1346 | [[package]] | 1537 | [[package]] |
1347 | name = "wasm-bindgen" | 1538 | name = "wasm-bindgen" |
1348 | version = "0.2.87" | 1539 | version = "0.2.88" |
1349 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1540 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1350 | checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" | 1541 | checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" |
1351 | dependencies = [ | 1542 | dependencies = [ |
1352 | "cfg-if", | 1543 | "cfg-if", |
1353 | "wasm-bindgen-macro", | 1544 | "wasm-bindgen-macro", |
@@ -1355,9 +1546,9 @@ dependencies = [ | |||
1355 | 1546 | ||
1356 | [[package]] | 1547 | [[package]] |
1357 | name = "wasm-bindgen-backend" | 1548 | name = "wasm-bindgen-backend" |
1358 | version = "0.2.87" | 1549 | version = "0.2.88" |
1359 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1550 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1360 | checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" | 1551 | checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" |
1361 | dependencies = [ | 1552 | dependencies = [ |
1362 | "bumpalo", | 1553 | "bumpalo", |
1363 | "log", | 1554 | "log", |
@@ -1370,9 +1561,9 @@ dependencies = [ | |||
1370 | 1561 | ||
1371 | [[package]] | 1562 | [[package]] |
1372 | name = "wasm-bindgen-futures" | 1563 | name = "wasm-bindgen-futures" |
1373 | version = "0.4.37" | 1564 | version = "0.4.38" |
1374 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1565 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1375 | checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" | 1566 | checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02" |
1376 | dependencies = [ | 1567 | dependencies = [ |
1377 | "cfg-if", | 1568 | "cfg-if", |
1378 | "js-sys", | 1569 | "js-sys", |
@@ -1382,9 +1573,9 @@ dependencies = [ | |||
1382 | 1573 | ||
1383 | [[package]] | 1574 | [[package]] |
1384 | name = "wasm-bindgen-macro" | 1575 | name = "wasm-bindgen-macro" |
1385 | version = "0.2.87" | 1576 | version = "0.2.88" |
1386 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1577 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1387 | checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" | 1578 | checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" |
1388 | dependencies = [ | 1579 | dependencies = [ |
1389 | "quote", | 1580 | "quote", |
1390 | "wasm-bindgen-macro-support", | 1581 | "wasm-bindgen-macro-support", |
@@ -1392,9 +1583,9 @@ dependencies = [ | |||
1392 | 1583 | ||
1393 | [[package]] | 1584 | [[package]] |
1394 | name = "wasm-bindgen-macro-support" | 1585 | name = "wasm-bindgen-macro-support" |
1395 | version = "0.2.87" | 1586 | version = "0.2.88" |
1396 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1587 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1397 | checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" | 1588 | checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" |
1398 | dependencies = [ | 1589 | dependencies = [ |
1399 | "proc-macro2", | 1590 | "proc-macro2", |
1400 | "quote", | 1591 | "quote", |
@@ -1405,15 +1596,15 @@ dependencies = [ | |||
1405 | 1596 | ||
1406 | [[package]] | 1597 | [[package]] |
1407 | name = "wasm-bindgen-shared" | 1598 | name = "wasm-bindgen-shared" |
1408 | version = "0.2.87" | 1599 | version = "0.2.88" |
1409 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1600 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1410 | checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" | 1601 | checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" |
1411 | 1602 | ||
1412 | [[package]] | 1603 | [[package]] |
1413 | name = "web-sys" | 1604 | name = "web-sys" |
1414 | version = "0.3.64" | 1605 | version = "0.3.65" |
1415 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1606 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1416 | checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" | 1607 | checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" |
1417 | dependencies = [ | 1608 | dependencies = [ |
1418 | "js-sys", | 1609 | "js-sys", |
1419 | "wasm-bindgen", | 1610 | "wasm-bindgen", |
@@ -1424,12 +1615,17 @@ name = "webol-cli" | |||
1424 | version = "0.1.0" | 1615 | version = "0.1.0" |
1425 | dependencies = [ | 1616 | dependencies = [ |
1426 | "clap", | 1617 | "clap", |
1618 | "clap_complete", | ||
1427 | "config", | 1619 | "config", |
1428 | "dirs", | 1620 | "dirs", |
1621 | "futures-util", | ||
1622 | "indicatif", | ||
1429 | "once_cell", | 1623 | "once_cell", |
1430 | "reqwest", | 1624 | "reqwest", |
1431 | "serde", | 1625 | "serde", |
1432 | "serde_json", | 1626 | "serde_json", |
1627 | "tokio", | ||
1628 | "tokio-tungstenite", | ||
1433 | ] | 1629 | ] |
1434 | 1630 | ||
1435 | [[package]] | 1631 | [[package]] |
@@ -1456,11 +1652,35 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | |||
1456 | 1652 | ||
1457 | [[package]] | 1653 | [[package]] |
1458 | name = "windows-sys" | 1654 | name = "windows-sys" |
1655 | version = "0.45.0" | ||
1656 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1657 | checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" | ||
1658 | dependencies = [ | ||
1659 | "windows-targets 0.42.2", | ||
1660 | ] | ||
1661 | |||
1662 | [[package]] | ||
1663 | name = "windows-sys" | ||
1459 | version = "0.48.0" | 1664 | version = "0.48.0" |
1460 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1665 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1461 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" | 1666 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" |
1462 | dependencies = [ | 1667 | dependencies = [ |
1463 | "windows-targets", | 1668 | "windows-targets 0.48.5", |
1669 | ] | ||
1670 | |||
1671 | [[package]] | ||
1672 | name = "windows-targets" | ||
1673 | version = "0.42.2" | ||
1674 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1675 | checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" | ||
1676 | dependencies = [ | ||
1677 | "windows_aarch64_gnullvm 0.42.2", | ||
1678 | "windows_aarch64_msvc 0.42.2", | ||
1679 | "windows_i686_gnu 0.42.2", | ||
1680 | "windows_i686_msvc 0.42.2", | ||
1681 | "windows_x86_64_gnu 0.42.2", | ||
1682 | "windows_x86_64_gnullvm 0.42.2", | ||
1683 | "windows_x86_64_msvc 0.42.2", | ||
1464 | ] | 1684 | ] |
1465 | 1685 | ||
1466 | [[package]] | 1686 | [[package]] |
@@ -1469,53 +1689,95 @@ version = "0.48.5" | |||
1469 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1689 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1470 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" | 1690 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" |
1471 | dependencies = [ | 1691 | dependencies = [ |
1472 | "windows_aarch64_gnullvm", | 1692 | "windows_aarch64_gnullvm 0.48.5", |
1473 | "windows_aarch64_msvc", | 1693 | "windows_aarch64_msvc 0.48.5", |
1474 | "windows_i686_gnu", | 1694 | "windows_i686_gnu 0.48.5", |
1475 | "windows_i686_msvc", | 1695 | "windows_i686_msvc 0.48.5", |
1476 | "windows_x86_64_gnu", | 1696 | "windows_x86_64_gnu 0.48.5", |
1477 | "windows_x86_64_gnullvm", | 1697 | "windows_x86_64_gnullvm 0.48.5", |
1478 | "windows_x86_64_msvc", | 1698 | "windows_x86_64_msvc 0.48.5", |
1479 | ] | 1699 | ] |
1480 | 1700 | ||
1481 | [[package]] | 1701 | [[package]] |
1482 | name = "windows_aarch64_gnullvm" | 1702 | name = "windows_aarch64_gnullvm" |
1703 | version = "0.42.2" | ||
1704 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1705 | checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" | ||
1706 | |||
1707 | [[package]] | ||
1708 | name = "windows_aarch64_gnullvm" | ||
1483 | version = "0.48.5" | 1709 | version = "0.48.5" |
1484 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1710 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1485 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" | 1711 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" |
1486 | 1712 | ||
1487 | [[package]] | 1713 | [[package]] |
1488 | name = "windows_aarch64_msvc" | 1714 | name = "windows_aarch64_msvc" |
1715 | version = "0.42.2" | ||
1716 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1717 | checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" | ||
1718 | |||
1719 | [[package]] | ||
1720 | name = "windows_aarch64_msvc" | ||
1489 | version = "0.48.5" | 1721 | version = "0.48.5" |
1490 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1722 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1491 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" | 1723 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" |
1492 | 1724 | ||
1493 | [[package]] | 1725 | [[package]] |
1494 | name = "windows_i686_gnu" | 1726 | name = "windows_i686_gnu" |
1727 | version = "0.42.2" | ||
1728 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1729 | checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" | ||
1730 | |||
1731 | [[package]] | ||
1732 | name = "windows_i686_gnu" | ||
1495 | version = "0.48.5" | 1733 | version = "0.48.5" |
1496 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1734 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1497 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" | 1735 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" |
1498 | 1736 | ||
1499 | [[package]] | 1737 | [[package]] |
1500 | name = "windows_i686_msvc" | 1738 | name = "windows_i686_msvc" |
1739 | version = "0.42.2" | ||
1740 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1741 | checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" | ||
1742 | |||
1743 | [[package]] | ||
1744 | name = "windows_i686_msvc" | ||
1501 | version = "0.48.5" | 1745 | version = "0.48.5" |
1502 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1746 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1503 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" | 1747 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" |
1504 | 1748 | ||
1505 | [[package]] | 1749 | [[package]] |
1506 | name = "windows_x86_64_gnu" | 1750 | name = "windows_x86_64_gnu" |
1751 | version = "0.42.2" | ||
1752 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1753 | checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" | ||
1754 | |||
1755 | [[package]] | ||
1756 | name = "windows_x86_64_gnu" | ||
1507 | version = "0.48.5" | 1757 | version = "0.48.5" |
1508 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1758 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1509 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" | 1759 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" |
1510 | 1760 | ||
1511 | [[package]] | 1761 | [[package]] |
1512 | name = "windows_x86_64_gnullvm" | 1762 | name = "windows_x86_64_gnullvm" |
1763 | version = "0.42.2" | ||
1764 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1765 | checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" | ||
1766 | |||
1767 | [[package]] | ||
1768 | name = "windows_x86_64_gnullvm" | ||
1513 | version = "0.48.5" | 1769 | version = "0.48.5" |
1514 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1770 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1515 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" | 1771 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" |
1516 | 1772 | ||
1517 | [[package]] | 1773 | [[package]] |
1518 | name = "windows_x86_64_msvc" | 1774 | name = "windows_x86_64_msvc" |
1775 | version = "0.42.2" | ||
1776 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1777 | checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" | ||
1778 | |||
1779 | [[package]] | ||
1780 | name = "windows_x86_64_msvc" | ||
1519 | version = "0.48.5" | 1781 | version = "0.48.5" |
1520 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1782 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1521 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" | 1783 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" |
@@ -1527,7 +1789,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
1527 | checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" | 1789 | checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" |
1528 | dependencies = [ | 1790 | dependencies = [ |
1529 | "cfg-if", | 1791 | "cfg-if", |
1530 | "windows-sys", | 1792 | "windows-sys 0.48.0", |
1531 | ] | 1793 | ] |
1532 | 1794 | ||
1533 | [[package]] | 1795 | [[package]] |
@@ -11,9 +11,14 @@ path = "src/main.rs" | |||
11 | 11 | ||
12 | [dependencies] | 12 | [dependencies] |
13 | clap = { version = "4.4.6", features = ["derive"] } | 13 | clap = { version = "4.4.6", features = ["derive"] } |
14 | clap_complete = "4.4.4" | ||
14 | config = "0.13.3" | 15 | config = "0.13.3" |
15 | dirs = "5.0.1" | 16 | dirs = "5.0.1" |
17 | futures-util = "0.3.29" | ||
18 | indicatif = "0.17.7" | ||
16 | once_cell = "1.18.0" | 19 | once_cell = "1.18.0" |
17 | reqwest = { version = "0.11.22", features = ["blocking"] } | 20 | reqwest = { version = "0.11.22", features = ["blocking"] } |
18 | serde = "1.0.189" | 21 | serde = "1.0.189" |
19 | serde_json = "1.0.107" | 22 | serde_json = "1.0.107" |
23 | tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread", "io-std"] } | ||
24 | tokio-tungstenite = "0.20.1" | ||
diff --git a/docker-compose.yml b/docker-compose.yml index 0a52d16..3a0ade5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml | |||
@@ -1,6 +1,6 @@ | |||
1 | services: | 1 | services: |
2 | webol: | 2 | webol: |
3 | image: ghcr.io/fxqnlr/webol:dev-2 | 3 | image: ghcr.io/fxqnlr/webol:dev-6 |
4 | container_name: webol | 4 | container_name: webol |
5 | restart: no | 5 | restart: no |
6 | depends_on: | 6 | depends_on: |
diff --git a/src/error.rs b/src/error.rs index d35991b..f15c60a 100644 --- a/src/error.rs +++ b/src/error.rs | |||
@@ -1,9 +1,11 @@ | |||
1 | use std::fmt::Debug; | 1 | use std::{fmt::Debug, num::ParseIntError}; |
2 | 2 | ||
3 | pub enum CliError { | 3 | pub enum CliError { |
4 | Reqwest(reqwest::Error), | 4 | Reqwest(reqwest::Error), |
5 | Config(config::ConfigError), | 5 | Config(config::ConfigError), |
6 | Serde(serde_json::Error), | 6 | Serde(serde_json::Error), |
7 | Parse(ParseIntError), | ||
8 | WsResponse, | ||
7 | } | 9 | } |
8 | 10 | ||
9 | impl Debug for CliError { | 11 | impl Debug for CliError { |
@@ -12,6 +14,8 @@ impl Debug for CliError { | |||
12 | Self::Reqwest(err) => { err.fmt(f) }, | 14 | Self::Reqwest(err) => { err.fmt(f) }, |
13 | Self::Config(err) => { err.fmt(f) }, | 15 | Self::Config(err) => { err.fmt(f) }, |
14 | Self::Serde(err) => { err.fmt(f) }, | 16 | Self::Serde(err) => { err.fmt(f) }, |
17 | Self::Parse(err) => { err.fmt(f) }, | ||
18 | Self::WsResponse => { f.write_str("Error in Response") }, | ||
15 | } | 19 | } |
16 | } | 20 | } |
17 | } | 21 | } |
diff --git a/src/main.rs b/src/main.rs index ab7e476..afe6fac 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -1,6 +1,10 @@ | |||
1 | use clap::{Parser, Subcommand}; | 1 | use std::{fmt::Display, time::Duration}; |
2 | |||
3 | use clap::{Parser, Command, CommandFactory, Subcommand}; | ||
4 | use clap_complete::{generate, Shell, Generator}; | ||
2 | use config::SETTINGS; | 5 | use config::SETTINGS; |
3 | use error::CliError; | 6 | use error::CliError; |
7 | use indicatif::{ProgressBar, ProgressStyle, MultiProgress}; | ||
4 | use requests::{start::start, device}; | 8 | use requests::{start::start, device}; |
5 | use reqwest::header::{HeaderMap, HeaderValue}; | 9 | use reqwest::header::{HeaderMap, HeaderValue}; |
6 | use serde::Deserialize; | 10 | use serde::Deserialize; |
@@ -9,7 +13,15 @@ mod config; | |||
9 | mod error; | 13 | mod error; |
10 | mod requests; | 14 | mod requests; |
11 | 15 | ||
12 | /// webol http client | 16 | static OVERVIEW_STYLE: &str = "{spinner:.green} ({elapsed}{wide_msg}"; |
17 | static OVERVIEW_ERROR: &str = "✗ ({elapsed}) {wide_msg}"; | ||
18 | static OVERVIEW_DONE: &str = "✓ ({elapsed}) {wide_msg}"; | ||
19 | static DEFAULT_STYLE: &str = " {spinner:.green} {wide_msg}"; | ||
20 | static DONE_STYLE: &str = " ✓ {wide_msg}"; | ||
21 | static ERROR_STYLE: &str = " ✗ {wide_msg}"; | ||
22 | static TICK_SPEED: u64 = 1000 / 16; | ||
23 | |||
24 | /// webol client | ||
13 | #[derive(Parser)] | 25 | #[derive(Parser)] |
14 | #[command(author, version, about, long_about = None)] | 26 | #[command(author, version, about, long_about = None)] |
15 | struct Args { | 27 | struct Args { |
@@ -21,12 +33,17 @@ struct Args { | |||
21 | enum Commands { | 33 | enum Commands { |
22 | Start { | 34 | Start { |
23 | /// id of the device | 35 | /// id of the device |
24 | id: String | 36 | id: String, |
37 | #[arg(short, long)] | ||
38 | ping: Option<bool> | ||
25 | }, | 39 | }, |
26 | Device { | 40 | Device { |
27 | #[command(subcommand)] | 41 | #[command(subcommand)] |
28 | devicecmd: DeviceCmd, | 42 | devicecmd: DeviceCmd, |
29 | } | 43 | }, |
44 | CliGen { | ||
45 | id: Shell, | ||
46 | }, | ||
30 | } | 47 | } |
31 | 48 | ||
32 | #[derive(Subcommand)] | 49 | #[derive(Subcommand)] |
@@ -34,7 +51,8 @@ enum DeviceCmd { | |||
34 | Add { | 51 | Add { |
35 | id: String, | 52 | id: String, |
36 | mac: String, | 53 | mac: String, |
37 | broadcast_addr: String | 54 | broadcast_addr: String, |
55 | ip: String | ||
38 | }, | 56 | }, |
39 | Get { | 57 | Get { |
40 | id: String, | 58 | id: String, |
@@ -42,35 +60,46 @@ enum DeviceCmd { | |||
42 | Edit { | 60 | Edit { |
43 | id: String, | 61 | id: String, |
44 | mac: String, | 62 | mac: String, |
45 | broadcast_addr: String | 63 | broadcast_addr: String, |
64 | ip: String | ||
46 | }, | 65 | }, |
47 | } | 66 | } |
48 | 67 | ||
49 | fn main() -> Result<(), CliError> { | 68 | #[tokio::main] |
69 | async fn main() -> Result<(), CliError> { | ||
50 | let cli = Args::parse(); | 70 | let cli = Args::parse(); |
51 | 71 | ||
52 | match cli.commands { | 72 | match cli.commands { |
53 | Commands::Start { id } => { | 73 | Commands::Start { id, ping } => { |
54 | start(id)?; | 74 | start(id, ping.unwrap_or(true)).await?; |
55 | }, | 75 | }, |
56 | Commands::Device { devicecmd } => { | 76 | Commands::Device { devicecmd } => { |
57 | match devicecmd { | 77 | match devicecmd { |
58 | DeviceCmd::Add { id, mac, broadcast_addr } => { | 78 | DeviceCmd::Add { id, mac, broadcast_addr, ip } => { |
59 | device::put(id, mac, broadcast_addr)?; | 79 | device::put(id, mac, broadcast_addr, ip).await?; |
60 | }, | 80 | }, |
61 | DeviceCmd::Get { id } => { | 81 | DeviceCmd::Get { id } => { |
62 | device::get(id)?; | 82 | device::get(id).await?; |
63 | }, | 83 | }, |
64 | DeviceCmd::Edit { id, mac, broadcast_addr } => { | 84 | DeviceCmd::Edit { id, mac, broadcast_addr, ip } => { |
65 | device::post(id, mac, broadcast_addr)?; | 85 | device::post(id, mac, broadcast_addr, ip).await?; |
66 | }, | 86 | }, |
67 | } | 87 | } |
88 | }, | ||
89 | Commands::CliGen { id } => { | ||
90 | eprintln!("Generating completion file for {id:?}..."); | ||
91 | let mut cmd = Args::command(); | ||
92 | print_completions(id, &mut cmd) | ||
68 | } | 93 | } |
69 | } | 94 | } |
70 | 95 | ||
71 | Ok(()) | 96 | Ok(()) |
72 | } | 97 | } |
73 | 98 | ||
99 | fn print_completions<G: Generator>(gen: G, cmd: &mut Command) { | ||
100 | generate(gen, cmd, cmd.get_name().to_string(), &mut std::io::stdout()); | ||
101 | } | ||
102 | |||
74 | fn default_headers() -> Result<HeaderMap, CliError> { | 103 | fn default_headers() -> Result<HeaderMap, CliError> { |
75 | let mut map = HeaderMap::new(); | 104 | let mut map = HeaderMap::new(); |
76 | map.append("Accept-Content", HeaderValue::from_str("application/json").unwrap()); | 105 | map.append("Accept-Content", HeaderValue::from_str("application/json").unwrap()); |
@@ -87,14 +116,44 @@ fn default_headers() -> Result<HeaderMap, CliError> { | |||
87 | Ok(map) | 116 | Ok(map) |
88 | } | 117 | } |
89 | 118 | ||
90 | fn format_url(path: &str) -> Result<String, CliError> { | 119 | fn format_url(path: &str, protocol: Protocols) -> Result<String, CliError> { |
91 | Ok(format!( | 120 | Ok(format!( |
92 | "{}/{}", | 121 | "{}://{}/{}", |
122 | protocol, | ||
93 | SETTINGS.get_string("server").map_err(CliError::Config)?, | 123 | SETTINGS.get_string("server").map_err(CliError::Config)?, |
94 | path | 124 | path |
95 | )) | 125 | )) |
96 | } | 126 | } |
97 | 127 | ||
128 | fn add_pb(mp: &MultiProgress, template: &str, message: String) -> ProgressBar { | ||
129 | let pb = mp.add(ProgressBar::new(1)); | ||
130 | pb.set_style(ProgressStyle::with_template(template).unwrap()); | ||
131 | pb.enable_steady_tick(Duration::from_millis(TICK_SPEED)); | ||
132 | pb.set_message(message); | ||
133 | |||
134 | pb | ||
135 | } | ||
136 | |||
137 | fn finish_pb(pb: ProgressBar, message: String, template: &str) { | ||
138 | pb.set_style(ProgressStyle::with_template(template).unwrap()); | ||
139 | pb.finish_with_message(message); | ||
140 | |||
141 | } | ||
142 | |||
143 | enum Protocols { | ||
144 | Http, | ||
145 | Websocket, | ||
146 | } | ||
147 | |||
148 | impl Display for Protocols { | ||
149 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ||
150 | match self { | ||
151 | Self::Http => f.write_str("http"), | ||
152 | Self::Websocket => f.write_str("ws") | ||
153 | } | ||
154 | } | ||
155 | } | ||
156 | |||
98 | #[derive(Debug, Deserialize)] | 157 | #[derive(Debug, Deserialize)] |
99 | struct ErrorResponse { | 158 | struct ErrorResponse { |
100 | error: String | 159 | error: String |
diff --git a/src/requests/device.rs b/src/requests/device.rs index 525745a..cbc838e 100644 --- a/src/requests/device.rs +++ b/src/requests/device.rs | |||
@@ -1,55 +1,65 @@ | |||
1 | use crate::{error::CliError, default_headers, format_url}; | 1 | use crate::{error::CliError, default_headers, format_url, Protocols}; |
2 | 2 | ||
3 | pub fn put(id: String, mac: String, broadcast_addr: String) -> Result<(), CliError> { | 3 | pub async fn put(id: String, mac: String, broadcast_addr: String, ip: String) -> Result<(), CliError> { |
4 | let res = reqwest::blocking::Client::new() | 4 | let url = format_url("device", Protocols::Http)?; |
5 | .put(format_url("device")?) | 5 | println!("{}", url); |
6 | let res = reqwest::Client::new() | ||
7 | .put(url) | ||
6 | .headers(default_headers()?) | 8 | .headers(default_headers()?) |
7 | .body( | 9 | .body( |
8 | format!( | 10 | format!( |
9 | r#"{{"id": "{}", "mac": "{}", "broadcast_addr": "{}"}}"#, | 11 | r#"{{"id": "{}", "mac": "{}", "broadcast_addr": "{}", "ip": "{}"}}"#, |
10 | id, | 12 | id, |
11 | mac, | 13 | mac, |
12 | broadcast_addr | 14 | broadcast_addr, |
15 | ip | ||
13 | ) | 16 | ) |
14 | ) | 17 | ) |
15 | .send() | 18 | .send() |
19 | .await | ||
16 | .map_err(CliError::Reqwest)? | 20 | .map_err(CliError::Reqwest)? |
17 | .text(); | 21 | .text() |
22 | .await; | ||
18 | 23 | ||
19 | println!("{:?}", res); | 24 | println!("{:?}", res); |
20 | Ok(()) | 25 | Ok(()) |
21 | } | 26 | } |
22 | 27 | ||
23 | pub fn get(id: String) -> Result<(), CliError> { | 28 | pub async fn get(id: String) -> Result<(), CliError> { |
24 | let res = reqwest::blocking::Client::new() | 29 | let res = reqwest::Client::new() |
25 | .get(format_url("device")?) | 30 | .get(format_url("device", Protocols::Http)?) |
26 | .headers(default_headers()?) | 31 | .headers(default_headers()?) |
27 | .body( | 32 | .body( |
28 | format!(r#"{{"id": "{}"}}"#, id) | 33 | format!(r#"{{"id": "{}"}}"#, id) |
29 | ) | 34 | ) |
30 | .send() | 35 | .send() |
36 | .await | ||
31 | .map_err(CliError::Reqwest)? | 37 | .map_err(CliError::Reqwest)? |
32 | .text(); | 38 | .text() |
39 | .await; | ||
33 | 40 | ||
34 | println!("{:?}", res); | 41 | println!("{:?}", res); |
35 | Ok(()) | 42 | Ok(()) |
36 | } | 43 | } |
37 | 44 | ||
38 | pub fn post(id: String, mac: String, broadcast_addr: String) -> Result<(), CliError> { | 45 | pub async fn post(id: String, mac: String, broadcast_addr: String, ip: String) -> Result<(), CliError> { |
39 | let res = reqwest::blocking::Client::new() | 46 | let res = reqwest::Client::new() |
40 | .post(format_url("device")?) | 47 | .post(format_url("device", Protocols::Http)?) |
41 | .headers(default_headers()?) | 48 | .headers(default_headers()?) |
42 | .body( | 49 | .body( |
43 | format!( | 50 | format!( |
44 | r#"{{"id": "{}", "mac": "{}", "broadcast_addr": "{}"}}"#, | 51 | r#"{{"id": "{}", "mac": "{}", "broadcast_addr": "{}", "ip": "{}"}}"#, |
45 | id, | 52 | id, |
46 | mac, | 53 | mac, |
47 | broadcast_addr | 54 | broadcast_addr, |
55 | ip | ||
48 | ) | 56 | ) |
49 | ) | 57 | ) |
50 | .send() | 58 | .send() |
59 | .await | ||
51 | .map_err(CliError::Reqwest)? | 60 | .map_err(CliError::Reqwest)? |
52 | .text(); | 61 | .text() |
62 | .await; | ||
53 | 63 | ||
54 | println!("{:?}", res); | 64 | println!("{:?}", res); |
55 | Ok(()) | 65 | Ok(()) |
diff --git a/src/requests/start.rs b/src/requests/start.rs index 30f65b9..ca4ca44 100644 --- a/src/requests/start.rs +++ b/src/requests/start.rs | |||
@@ -1,49 +1,152 @@ | |||
1 | use futures_util::{StreamExt, SinkExt}; | ||
2 | use indicatif::{MultiProgress, ProgressBar}; | ||
1 | use reqwest::StatusCode; | 3 | use reqwest::StatusCode; |
2 | use serde::Deserialize; | 4 | use serde::Deserialize; |
5 | use tokio_tungstenite::{connect_async, tungstenite::Message}; | ||
3 | 6 | ||
4 | use crate::{config::SETTINGS, error::CliError, default_headers, ErrorResponse}; | 7 | use crate::{error::CliError, default_headers, ErrorResponse, format_url, Protocols, OVERVIEW_STYLE, DEFAULT_STYLE, DONE_STYLE, finish_pb, ERROR_STYLE, OVERVIEW_ERROR, OVERVIEW_DONE, add_pb}; |
5 | 8 | ||
6 | pub fn start(id: String) -> Result<(), CliError> { | 9 | pub async fn start(id: String, ping: bool) -> Result<(), CliError> { |
7 | let res = reqwest::blocking::Client::new() | 10 | |
8 | .post( | 11 | let send_start = MultiProgress::new(); |
9 | format!( | 12 | let overview = add_pb(&send_start, OVERVIEW_STYLE, format!(") start {}", id)); |
10 | "{}/start", | 13 | |
11 | SETTINGS.get_string("server").map_err(CliError::Config)? | 14 | // TODO: calculate average start-time on server |
12 | ) | 15 | let url = format_url("start", Protocols::Http)?; |
13 | ) | 16 | let connect = add_pb(&send_start, DEFAULT_STYLE, format!("connect to {}", url)); |
17 | let res = reqwest::Client::new() | ||
18 | .post(url) | ||
14 | .headers(default_headers()?) | 19 | .headers(default_headers()?) |
15 | .body( | 20 | .body( |
16 | format!(r#"{{"id": "{}"}}"#, id) | 21 | format!(r#"{{"id": "{}", "ping": {}}}"#, id, ping) |
17 | ) | 22 | ) |
18 | .send() | 23 | .send() |
24 | .await | ||
19 | .map_err(CliError::Reqwest)?; | 25 | .map_err(CliError::Reqwest)?; |
26 | finish_pb(connect, "connected, got response".to_string(), DONE_STYLE); | ||
20 | 27 | ||
28 | let res_pb = add_pb(&send_start, DEFAULT_STYLE, "analyzing response".to_string()); | ||
21 | match res.status() { | 29 | match res.status() { |
22 | StatusCode::OK => { | 30 | StatusCode::OK => { |
23 | let body = serde_json::from_str::<StartResponse>( | 31 | let body = serde_json::from_str::<StartResponse>( |
24 | &res.text().map_err(CliError::Reqwest)? | 32 | &res.text().await.map_err(CliError::Reqwest)? |
25 | ) | 33 | ) |
26 | .map_err(CliError::Serde)?; | 34 | .map_err(CliError::Serde)?; |
27 | 35 | ||
28 | if body.boot { | 36 | if body.boot { |
29 | println!("successfully started {}", body.id); | 37 | finish_pb(res_pb, "sent start packet".to_string(), DONE_STYLE); |
38 | } | ||
39 | |||
40 | if ping { | ||
41 | let status = status_socket(body.uuid, &send_start, &overview, id).await?; | ||
42 | if status { | ||
43 | finish_pb(overview, format!("successfully started {}", body.id), OVERVIEW_DONE); | ||
44 | } else { | ||
45 | finish_pb(overview, format!("error while starting {}", body.id), OVERVIEW_ERROR); | ||
46 | } | ||
30 | } | 47 | } |
31 | }, | 48 | }, |
32 | _ => { | 49 | _ => { |
33 | let body = serde_json::from_str::<ErrorResponse>( | 50 | let body = serde_json::from_str::<ErrorResponse>( |
34 | &res.text().map_err(CliError::Reqwest)? | 51 | &res.text().await.map_err(CliError::Reqwest)? |
35 | ) | 52 | ) |
36 | .map_err(CliError::Serde)?; | 53 | .map_err(CliError::Serde)?; |
37 | 54 | ||
38 | println!("got error: {}", body.error); | 55 | res_pb.finish_with_message(format!("✗ got error: {}", body.error)); |
39 | } | 56 | } |
40 | } | 57 | } |
41 | 58 | ||
42 | Ok(()) | 59 | Ok(()) |
43 | } | 60 | } |
44 | 61 | ||
62 | async fn status_socket(uuid: String, pb: &MultiProgress, overview: &ProgressBar, id: String) -> Result<bool, CliError> { | ||
63 | // TODO: Remove unwraps | ||
64 | let ws_pb = add_pb(pb, DEFAULT_STYLE, "connect to websocket".to_string()); | ||
65 | let (mut ws_stream, _response) = connect_async(format_url("status", Protocols::Websocket)?) | ||
66 | .await | ||
67 | .expect("Failed to connect"); | ||
68 | finish_pb(ws_pb, "connected to websocket".to_string(), DONE_STYLE); | ||
69 | |||
70 | ws_stream.send(Message::Text(uuid.clone())).await.unwrap(); | ||
71 | |||
72 | // Get ETA | ||
73 | let eta_msg = ws_stream.next().await.unwrap().unwrap(); | ||
74 | let eta = get_eta(eta_msg.into_text().unwrap(), uuid.clone())? + overview.elapsed().as_secs(); | ||
75 | overview.set_message(format!("/{}) start {}", eta, id)); | ||
76 | |||
77 | let msg_pb = add_pb(pb, DEFAULT_STYLE, "await message".to_string()); | ||
78 | let msg = ws_stream.next().await.unwrap(); | ||
79 | finish_pb(msg_pb, "received message".to_string(), DONE_STYLE); | ||
80 | |||
81 | ws_stream.close(None).await.unwrap(); | ||
82 | |||
83 | let v_pb = add_pb(pb, DEFAULT_STYLE, "verify response".to_string()); | ||
84 | let res = verify_response(msg.unwrap().to_string(), uuid)?; | ||
85 | match res { | ||
86 | Verified::WrongUuid => { | ||
87 | finish_pb(v_pb, "returned wrong uuid".to_string(), ERROR_STYLE); | ||
88 | Ok(false) | ||
89 | }, | ||
90 | Verified::ResponseType(res_type) => { | ||
91 | match res_type { | ||
92 | ResponseType::Start => { | ||
93 | finish_pb(v_pb, "device started".to_string(), DONE_STYLE); | ||
94 | Ok(true) | ||
95 | }, | ||
96 | ResponseType::Timeout => { | ||
97 | finish_pb(v_pb, "ping timed out".to_string(), ERROR_STYLE); | ||
98 | Ok(false) | ||
99 | }, | ||
100 | ResponseType::NotFound => { | ||
101 | finish_pb(v_pb, "unknown uuid".to_string(), ERROR_STYLE); | ||
102 | Ok(false) | ||
103 | }, | ||
104 | } | ||
105 | } | ||
106 | } | ||
107 | } | ||
108 | |||
109 | fn get_eta(msg: String, uuid: String) -> Result<u64, CliError> { | ||
110 | let spl: Vec<&str> = msg.split('_').collect(); | ||
111 | if (spl[0] != "eta") || (spl[2] != uuid) { return Err(CliError::WsResponse); }; | ||
112 | Ok(u64::from_str_radix(spl[1], 10).map_err(CliError::Parse)?) | ||
113 | } | ||
114 | |||
115 | fn verify_response(res: String, org_uuid: String) -> Result<Verified, CliError> { | ||
116 | let spl: Vec<&str> = res.split('_').collect(); | ||
117 | let res_type = spl[0]; | ||
118 | let uuid = spl[1]; | ||
119 | |||
120 | if uuid != org_uuid { return Ok(Verified::WrongUuid) }; | ||
121 | |||
122 | Ok(Verified::ResponseType(ResponseType::from(res_type)?)) | ||
123 | } | ||
124 | |||
45 | #[derive(Debug, Deserialize)] | 125 | #[derive(Debug, Deserialize)] |
46 | struct StartResponse { | 126 | struct StartResponse { |
47 | boot: bool, | 127 | boot: bool, |
48 | id: String, | 128 | id: String, |
129 | uuid: String, | ||
130 | } | ||
131 | |||
132 | enum Verified { | ||
133 | ResponseType(ResponseType), | ||
134 | WrongUuid | ||
135 | } | ||
136 | |||
137 | enum ResponseType { | ||
138 | Start, | ||
139 | Timeout, | ||
140 | NotFound, | ||
141 | } | ||
142 | |||
143 | impl ResponseType { | ||
144 | fn from(value: &str) -> Result<Self, CliError> { | ||
145 | match value { | ||
146 | "start" => Ok(ResponseType::Start), | ||
147 | "timeout" => Ok(ResponseType::Timeout), | ||
148 | "notfound" => Ok(ResponseType::NotFound), | ||
149 | _ => Err(CliError::WsResponse), | ||
150 | } | ||
151 | } | ||
49 | } | 152 | } |
diff --git a/webol-cli.toml b/webol-cli.toml index 3eabc97..822af46 100644 --- a/webol-cli.toml +++ b/webol-cli.toml | |||
@@ -1,2 +1,2 @@ | |||
1 | server = "http://localhost:7229" | 1 | server = "localhost:7229" |
2 | key = "aaa" | 2 | key = "aaa" |