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