Wow!
parent: tbd commit: 6530104
Showing 23 changed files with 706 insertions and 617 deletions
Cargo.lock
@@ -29,9 +29,9 @@ dependencies = [ | ||
29 | 29 | |
30 | 30 | [[package]] |
31 | 31 | name = "aes" |
32 | version = "0.8.3" | |
32 | version = "0.8.4" | |
33 | 33 | source = "registry+https://github.com/rust-lang/crates.io-index" |
34 | checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" | |
34 | checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" | |
35 | 35 | dependencies = [ |
36 | 36 | "cfg-if", |
37 | 37 | "cipher", |
@@ -54,9 +54,9 @@ dependencies = [ | ||
54 | 54 | |
55 | 55 | [[package]] |
56 | 56 | name = "ahash" |
57 | version = "0.8.6" | |
57 | version = "0.8.11" | |
58 | 58 | source = "registry+https://github.com/rust-lang/crates.io-index" |
59 | checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" | |
59 | checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" | |
60 | 60 | dependencies = [ |
61 | 61 | "cfg-if", |
62 | 62 | "getrandom", |
@@ -88,15 +88,15 @@ dependencies = [ | ||
88 | 88 | |
89 | 89 | [[package]] |
90 | 90 | name = "anyhow" |
91 | version = "1.0.75" | |
91 | version = "1.0.82" | |
92 | 92 | source = "registry+https://github.com/rust-lang/crates.io-index" |
93 | checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" | |
93 | checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" | |
94 | 94 | |
95 | 95 | [[package]] |
96 | 96 | name = "argon2" |
97 | version = "0.5.2" | |
97 | version = "0.5.3" | |
98 | 98 | source = "registry+https://github.com/rust-lang/crates.io-index" |
99 | checksum = "17ba4cac0a46bc1d2912652a751c47f2a9f3a7fe89bcae2275d418f5270402f9" | |
99 | checksum = "3c3610892ee6e0cbce8ae2700349fcf8f98adb0dbfbee85aec3c9179d29cc072" | |
100 | 100 | dependencies = [ |
101 | 101 | "base64ct", |
102 | 102 | "blake2", |
@@ -106,13 +106,13 @@ dependencies = [ | ||
106 | 106 | |
107 | 107 | [[package]] |
108 | 108 | name = "async-trait" |
109 | version = "0.1.74" | |
109 | version = "0.1.79" | |
110 | 110 | source = "registry+https://github.com/rust-lang/crates.io-index" |
111 | checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" | |
111 | checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" | |
112 | 112 | dependencies = [ |
113 | 113 | "proc-macro2", |
114 | 114 | "quote", |
115 | "syn 2.0.39", | |
115 | "syn 2.0.58", | |
116 | 116 | ] |
117 | 117 | |
118 | 118 | [[package]] |
@@ -126,15 +126,15 @@ dependencies = [ | ||
126 | 126 | |
127 | 127 | [[package]] |
128 | 128 | name = "autocfg" |
129 | version = "1.1.0" | |
129 | version = "1.2.0" | |
130 | 130 | source = "registry+https://github.com/rust-lang/crates.io-index" |
131 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" | |
131 | checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" | |
132 | 132 | |
133 | 133 | [[package]] |
134 | 134 | name = "backtrace" |
135 | version = "0.3.69" | |
135 | version = "0.3.71" | |
136 | 136 | source = "registry+https://github.com/rust-lang/crates.io-index" |
137 | checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" | |
137 | checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" | |
138 | 138 | dependencies = [ |
139 | 139 | "addr2line", |
140 | 140 | "cc", |
@@ -147,9 +147,15 @@ dependencies = [ | ||
147 | 147 | |
148 | 148 | [[package]] |
149 | 149 | name = "base64" |
150 | version = "0.21.5" | |
150 | version = "0.21.7" | |
151 | 151 | source = "registry+https://github.com/rust-lang/crates.io-index" |
152 | checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" | |
152 | checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" | |
153 | ||
154 | [[package]] | |
155 | name = "base64" | |
156 | version = "0.22.0" | |
157 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
158 | checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" | |
153 | 159 | |
154 | 160 | [[package]] |
155 | 161 | name = "base64ct" |
@@ -174,9 +180,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" | ||
174 | 180 | |
175 | 181 | [[package]] |
176 | 182 | name = "bitflags" |
177 | version = "2.4.1" | |
183 | version = "2.5.0" | |
178 | 184 | source = "registry+https://github.com/rust-lang/crates.io-index" |
179 | checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" | |
185 | checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" | |
180 | 186 | dependencies = [ |
181 | 187 | "serde", |
182 | 188 | ] |
@@ -201,9 +207,9 @@ dependencies = [ | ||
201 | 207 | |
202 | 208 | [[package]] |
203 | 209 | name = "bumpalo" |
204 | version = "3.14.0" | |
210 | version = "3.16.0" | |
205 | 211 | source = "registry+https://github.com/rust-lang/crates.io-index" |
206 | checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" | |
212 | checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" | |
207 | 213 | |
208 | 214 | [[package]] |
209 | 215 | name = "byteorder" |
@@ -213,15 +219,15 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" | ||
213 | 219 | |
214 | 220 | [[package]] |
215 | 221 | name = "bytes" |
216 | version = "1.5.0" | |
222 | version = "1.6.0" | |
217 | 223 | source = "registry+https://github.com/rust-lang/crates.io-index" |
218 | checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" | |
224 | checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" | |
219 | 225 | |
220 | 226 | [[package]] |
221 | 227 | name = "cc" |
222 | version = "1.0.83" | |
228 | version = "1.0.92" | |
223 | 229 | source = "registry+https://github.com/rust-lang/crates.io-index" |
224 | checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" | |
230 | checksum = "2678b2e3449475e95b0aa6f9b506a28e61b3dc8996592b983695e8ebb58a8b41" | |
225 | 231 | dependencies = [ |
226 | 232 | "jobserver", |
227 | 233 | "libc", |
@@ -235,9 +241,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | ||
235 | 241 | |
236 | 242 | [[package]] |
237 | 243 | name = "chrono" |
238 | version = "0.4.31" | |
244 | version = "0.4.37" | |
239 | 245 | source = "registry+https://github.com/rust-lang/crates.io-index" |
240 | checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" | |
246 | checksum = "8a0d04d43504c61aa6c7531f1871dd0d418d91130162063b789da00fd7057a5e" | |
241 | 247 | dependencies = [ |
242 | 248 | "android-tzdata", |
243 | 249 | "iana-time-zone", |
@@ -245,7 +251,7 @@ dependencies = [ | ||
245 | 251 | "num-traits", |
246 | 252 | "serde", |
247 | 253 | "wasm-bindgen", |
248 | "windows-targets", | |
254 | "windows-targets 0.52.4", | |
249 | 255 | ] |
250 | 256 | |
251 | 257 | [[package]] |
@@ -260,15 +266,15 @@ dependencies = [ | ||
260 | 266 | |
261 | 267 | [[package]] |
262 | 268 | name = "const-oid" |
263 | version = "0.9.5" | |
269 | version = "0.9.6" | |
264 | 270 | source = "registry+https://github.com/rust-lang/crates.io-index" |
265 | checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" | |
271 | checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" | |
266 | 272 | |
267 | 273 | [[package]] |
268 | 274 | name = "core-foundation" |
269 | version = "0.9.3" | |
275 | version = "0.9.4" | |
270 | 276 | source = "registry+https://github.com/rust-lang/crates.io-index" |
271 | checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" | |
277 | checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" | |
272 | 278 | dependencies = [ |
273 | 279 | "core-foundation-sys", |
274 | 280 | "libc", |
@@ -276,24 +282,24 @@ dependencies = [ | ||
276 | 282 | |
277 | 283 | [[package]] |
278 | 284 | name = "core-foundation-sys" |
279 | version = "0.8.4" | |
285 | version = "0.8.6" | |
280 | 286 | source = "registry+https://github.com/rust-lang/crates.io-index" |
281 | checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" | |
287 | checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" | |
282 | 288 | |
283 | 289 | [[package]] |
284 | 290 | name = "cpufeatures" |
285 | version = "0.2.11" | |
291 | version = "0.2.12" | |
286 | 292 | source = "registry+https://github.com/rust-lang/crates.io-index" |
287 | checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" | |
293 | checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" | |
288 | 294 | dependencies = [ |
289 | 295 | "libc", |
290 | 296 | ] |
291 | 297 | |
292 | 298 | [[package]] |
293 | 299 | name = "crc" |
294 | version = "3.0.1" | |
300 | version = "3.2.1" | |
295 | 301 | source = "registry+https://github.com/rust-lang/crates.io-index" |
296 | checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe" | |
302 | checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" | |
297 | 303 | dependencies = [ |
298 | 304 | "crc-catalog", |
299 | 305 | ] |
@@ -306,22 +312,18 @@ checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" | ||
306 | 312 | |
307 | 313 | [[package]] |
308 | 314 | name = "crossbeam-queue" |
309 | version = "0.3.8" | |
315 | version = "0.3.11" | |
310 | 316 | source = "registry+https://github.com/rust-lang/crates.io-index" |
311 | checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" | |
317 | checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" | |
312 | 318 | dependencies = [ |
313 | "cfg-if", | |
314 | 319 | "crossbeam-utils", |
315 | 320 | ] |
316 | 321 | |
317 | 322 | [[package]] |
318 | 323 | name = "crossbeam-utils" |
319 | version = "0.8.16" | |
324 | version = "0.8.19" | |
320 | 325 | source = "registry+https://github.com/rust-lang/crates.io-index" |
321 | checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" | |
322 | dependencies = [ | |
323 | "cfg-if", | |
324 | ] | |
326 | checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" | |
325 | 327 | |
326 | 328 | [[package]] |
327 | 329 | name = "crypto-common" |
@@ -345,9 +347,9 @@ dependencies = [ | ||
345 | 347 | |
346 | 348 | [[package]] |
347 | 349 | name = "data-encoding" |
348 | version = "2.4.0" | |
350 | version = "2.5.0" | |
349 | 351 | source = "registry+https://github.com/rust-lang/crates.io-index" |
350 | checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" | |
352 | checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" | |
351 | 353 | |
352 | 354 | [[package]] |
353 | 355 | name = "deadpool" |
@@ -370,9 +372,9 @@ checksum = "63dfa964fe2a66f3fde91fc70b267fe193d822c7e603e2a675a49a7f46ad3f49" | ||
370 | 372 | |
371 | 373 | [[package]] |
372 | 374 | name = "der" |
373 | version = "0.7.8" | |
375 | version = "0.7.9" | |
374 | 376 | source = "registry+https://github.com/rust-lang/crates.io-index" |
375 | checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" | |
377 | checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" | |
376 | 378 | dependencies = [ |
377 | 379 | "const-oid", |
378 | 380 | "pem-rfc7468", |
@@ -381,9 +383,9 @@ dependencies = [ | ||
381 | 383 | |
382 | 384 | [[package]] |
383 | 385 | name = "deranged" |
384 | version = "0.3.9" | |
386 | version = "0.3.11" | |
385 | 387 | source = "registry+https://github.com/rust-lang/crates.io-index" |
386 | checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" | |
388 | checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" | |
387 | 389 | dependencies = [ |
388 | 390 | "powerfmt", |
389 | 391 | ] |
@@ -420,7 +422,7 @@ checksum = "f2b99bf03862d7f545ebc28ddd33a665b50865f4dfd84031a393823879bd4c54" | ||
420 | 422 | dependencies = [ |
421 | 423 | "proc-macro2", |
422 | 424 | "quote", |
423 | "syn 2.0.39", | |
425 | "syn 2.0.58", | |
424 | 426 | ] |
425 | 427 | |
426 | 428 | [[package]] |
@@ -431,18 +433,18 @@ checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" | ||
431 | 433 | |
432 | 434 | [[package]] |
433 | 435 | name = "either" |
434 | version = "1.9.0" | |
436 | version = "1.10.0" | |
435 | 437 | source = "registry+https://github.com/rust-lang/crates.io-index" |
436 | checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" | |
438 | checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" | |
437 | 439 | dependencies = [ |
438 | 440 | "serde", |
439 | 441 | ] |
440 | 442 | |
441 | 443 | [[package]] |
442 | 444 | name = "encoding_rs" |
443 | version = "0.8.33" | |
445 | version = "0.8.34" | |
444 | 446 | source = "registry+https://github.com/rust-lang/crates.io-index" |
445 | checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" | |
447 | checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" | |
446 | 448 | dependencies = [ |
447 | 449 | "cfg-if", |
448 | 450 | ] |
@@ -455,12 +457,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" | ||
455 | 457 | |
456 | 458 | [[package]] |
457 | 459 | name = "errno" |
458 | version = "0.3.6" | |
460 | version = "0.3.8" | |
459 | 461 | source = "registry+https://github.com/rust-lang/crates.io-index" |
460 | checksum = "7c18ee0ed65a5f1f81cac6b1d213b69c35fa47d4252ad41f1486dbd8226fe36e" | |
462 | checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" | |
461 | 463 | dependencies = [ |
462 | 464 | "libc", |
463 | "windows-sys", | |
465 | "windows-sys 0.52.0", | |
464 | 466 | ] |
465 | 467 | |
466 | 468 | [[package]] |
@@ -471,7 +473,7 @@ checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" | ||
471 | 473 | dependencies = [ |
472 | 474 | "cfg-if", |
473 | 475 | "home", |
474 | "windows-sys", | |
476 | "windows-sys 0.48.0", | |
475 | 477 | ] |
476 | 478 | |
477 | 479 | [[package]] |
@@ -488,6 +490,7 @@ dependencies = [ | ||
488 | 490 | "dlopen2", |
489 | 491 | "giterated-models", |
490 | 492 | "giterated-plugin", |
493 | "giterated-runtime", | |
491 | 494 | "giterated-static-runtime", |
492 | 495 | "serde_json", |
493 | 496 | "tokio", |
@@ -497,9 +500,9 @@ dependencies = [ | ||
497 | 500 | |
498 | 501 | [[package]] |
499 | 502 | name = "fastrand" |
500 | version = "2.0.1" | |
503 | version = "2.0.2" | |
501 | 504 | source = "registry+https://github.com/rust-lang/crates.io-index" |
502 | checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" | |
505 | checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" | |
503 | 506 | |
504 | 507 | [[package]] |
505 | 508 | name = "finl_unicode" |
@@ -541,18 +544,18 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" | ||
541 | 544 | |
542 | 545 | [[package]] |
543 | 546 | name = "form_urlencoded" |
544 | version = "1.2.0" | |
547 | version = "1.2.1" | |
545 | 548 | source = "registry+https://github.com/rust-lang/crates.io-index" |
546 | checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" | |
549 | checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" | |
547 | 550 | dependencies = [ |
548 | 551 | "percent-encoding", |
549 | 552 | ] |
550 | 553 | |
551 | 554 | [[package]] |
552 | 555 | name = "futures-channel" |
553 | version = "0.3.29" | |
556 | version = "0.3.30" | |
554 | 557 | source = "registry+https://github.com/rust-lang/crates.io-index" |
555 | checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" | |
558 | checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" | |
556 | 559 | dependencies = [ |
557 | 560 | "futures-core", |
558 | 561 | "futures-sink", |
@@ -566,9 +569,9 @@ checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" | ||
566 | 569 | |
567 | 570 | [[package]] |
568 | 571 | name = "futures-executor" |
569 | version = "0.3.29" | |
572 | version = "0.3.30" | |
570 | 573 | source = "registry+https://github.com/rust-lang/crates.io-index" |
571 | checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" | |
574 | checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" | |
572 | 575 | dependencies = [ |
573 | 576 | "futures-core", |
574 | 577 | "futures-task", |
@@ -600,7 +603,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" | ||
600 | 603 | dependencies = [ |
601 | 604 | "proc-macro2", |
602 | 605 | "quote", |
603 | "syn 2.0.39", | |
606 | "syn 2.0.58", | |
604 | 607 | ] |
605 | 608 | |
606 | 609 | [[package]] |
@@ -644,20 +647,22 @@ dependencies = [ | ||
644 | 647 | |
645 | 648 | [[package]] |
646 | 649 | name = "getrandom" |
647 | version = "0.2.11" | |
650 | version = "0.2.14" | |
648 | 651 | source = "registry+https://github.com/rust-lang/crates.io-index" |
649 | checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" | |
652 | checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" | |
650 | 653 | dependencies = [ |
651 | 654 | "cfg-if", |
655 | "js-sys", | |
652 | 656 | "libc", |
653 | 657 | "wasi", |
658 | "wasm-bindgen", | |
654 | 659 | ] |
655 | 660 | |
656 | 661 | [[package]] |
657 | 662 | name = "ghash" |
658 | version = "0.5.0" | |
663 | version = "0.5.1" | |
659 | 664 | source = "registry+https://github.com/rust-lang/crates.io-index" |
660 | checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" | |
665 | checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" | |
661 | 666 | dependencies = [ |
662 | 667 | "opaque-debug", |
663 | 668 | "polyval", |
@@ -665,17 +670,17 @@ dependencies = [ | ||
665 | 670 | |
666 | 671 | [[package]] |
667 | 672 | name = "gimli" |
668 | version = "0.28.0" | |
673 | version = "0.28.1" | |
669 | 674 | source = "registry+https://github.com/rust-lang/crates.io-index" |
670 | checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" | |
675 | checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" | |
671 | 676 | |
672 | 677 | [[package]] |
673 | 678 | name = "git2" |
674 | version = "0.18.1" | |
679 | version = "0.18.3" | |
675 | 680 | source = "registry+https://github.com/rust-lang/crates.io-index" |
676 | checksum = "fbf97ba92db08df386e10c8ede66a2a0369bd277090afd8710e19e38de9ec0cd" | |
681 | checksum = "232e6a7bfe35766bf715e55a88b39a700596c0ccfd88cd3680b4cdb40d66ef70" | |
677 | 682 | dependencies = [ |
678 | "bitflags 2.4.1", | |
683 | "bitflags 2.5.0", | |
679 | 684 | "libc", |
680 | 685 | "libgit2-sys", |
681 | 686 | "log", |
@@ -715,6 +720,7 @@ name = "giterated-core" | ||
715 | 720 | version = "0.1.0" |
716 | 721 | dependencies = [ |
717 | 722 | "anyhow", |
723 | "async-trait", | |
718 | 724 | "giterated-abi", |
719 | 725 | "giterated-models", |
720 | 726 | "giterated-static-runtime", |
@@ -729,7 +735,7 @@ dependencies = [ | ||
729 | 735 | "anyhow", |
730 | 736 | "argon2", |
731 | 737 | "async-trait", |
732 | "base64", | |
738 | "base64 0.21.7", | |
733 | 739 | "bincode", |
734 | 740 | "chrono", |
735 | 741 | "deadpool", |
@@ -764,6 +770,8 @@ dependencies = [ | ||
764 | 770 | "anyhow", |
765 | 771 | "giterated-models", |
766 | 772 | "giterated-plugin", |
773 | "giterated-runtime", | |
774 | "giterated-static-runtime", | |
767 | 775 | "serde", |
768 | 776 | "serde_json", |
769 | 777 | "sqlx", |
@@ -779,7 +787,7 @@ name = "giterated-macros" | ||
779 | 787 | version = "0.1.0" |
780 | 788 | dependencies = [ |
781 | 789 | "quote", |
782 | "syn 2.0.39", | |
790 | "syn 2.0.58", | |
783 | 791 | ] |
784 | 792 | |
785 | 793 | [[package]] |
@@ -810,6 +818,7 @@ dependencies = [ | ||
810 | 818 | "dlopen2", |
811 | 819 | "futures-util", |
812 | 820 | "giterated-abi", |
821 | "giterated-core", | |
813 | 822 | "giterated-macros", |
814 | 823 | "giterated-models", |
815 | 824 | "giterated-static-runtime", |
@@ -847,6 +856,7 @@ dependencies = [ | ||
847 | 856 | name = "giterated-runtime" |
848 | 857 | version = "0.1.0" |
849 | 858 | dependencies = [ |
859 | "anyhow", | |
850 | 860 | "dlopen2", |
851 | 861 | "giterated-abi", |
852 | 862 | "giterated-core", |
@@ -860,9 +870,9 @@ version = "0.1.0" | ||
860 | 870 | |
861 | 871 | [[package]] |
862 | 872 | name = "h2" |
863 | version = "0.3.21" | |
873 | version = "0.3.26" | |
864 | 874 | source = "registry+https://github.com/rust-lang/crates.io-index" |
865 | checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" | |
875 | checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" | |
866 | 876 | dependencies = [ |
867 | 877 | "bytes", |
868 | 878 | "fnv", |
@@ -870,7 +880,7 @@ dependencies = [ | ||
870 | 880 | "futures-sink", |
871 | 881 | "futures-util", |
872 | 882 | "http", |
873 | "indexmap 1.9.3", | |
883 | "indexmap", | |
874 | 884 | "slab", |
875 | 885 | "tokio", |
876 | 886 | "tokio-util", |
@@ -879,15 +889,9 @@ dependencies = [ | ||
879 | 889 | |
880 | 890 | [[package]] |
881 | 891 | name = "hashbrown" |
882 | version = "0.12.3" | |
883 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
884 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" | |
885 | ||
886 | [[package]] | |
887 | name = "hashbrown" | |
888 | version = "0.14.2" | |
892 | version = "0.14.3" | |
889 | 893 | source = "registry+https://github.com/rust-lang/crates.io-index" |
890 | checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" | |
894 | checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" | |
891 | 895 | dependencies = [ |
892 | 896 | "ahash", |
893 | 897 | "allocator-api2", |
@@ -899,7 +903,7 @@ version = "0.8.4" | ||
899 | 903 | source = "registry+https://github.com/rust-lang/crates.io-index" |
900 | 904 | checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" |
901 | 905 | dependencies = [ |
902 | "hashbrown 0.14.2", | |
906 | "hashbrown", | |
903 | 907 | ] |
904 | 908 | |
905 | 909 | [[package]] |
@@ -913,9 +917,9 @@ dependencies = [ | ||
913 | 917 | |
914 | 918 | [[package]] |
915 | 919 | name = "hermit-abi" |
916 | version = "0.3.3" | |
920 | version = "0.3.9" | |
917 | 921 | source = "registry+https://github.com/rust-lang/crates.io-index" |
918 | checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" | |
922 | checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" | |
919 | 923 | |
920 | 924 | [[package]] |
921 | 925 | name = "hex" |
@@ -925,9 +929,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" | ||
925 | 929 | |
926 | 930 | [[package]] |
927 | 931 | name = "hkdf" |
928 | version = "0.12.3" | |
932 | version = "0.12.4" | |
929 | 933 | source = "registry+https://github.com/rust-lang/crates.io-index" |
930 | checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437" | |
934 | checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" | |
931 | 935 | dependencies = [ |
932 | 936 | "hmac", |
933 | 937 | ] |
@@ -943,18 +947,18 @@ dependencies = [ | ||
943 | 947 | |
944 | 948 | [[package]] |
945 | 949 | name = "home" |
946 | version = "0.5.5" | |
950 | version = "0.5.9" | |
947 | 951 | source = "registry+https://github.com/rust-lang/crates.io-index" |
948 | checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" | |
952 | checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" | |
949 | 953 | dependencies = [ |
950 | "windows-sys", | |
954 | "windows-sys 0.52.0", | |
951 | 955 | ] |
952 | 956 | |
953 | 957 | [[package]] |
954 | 958 | name = "http" |
955 | version = "0.2.9" | |
959 | version = "0.2.12" | |
956 | 960 | source = "registry+https://github.com/rust-lang/crates.io-index" |
957 | checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" | |
961 | checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" | |
958 | 962 | dependencies = [ |
959 | 963 | "bytes", |
960 | 964 | "fnv", |
@@ -963,9 +967,9 @@ dependencies = [ | ||
963 | 967 | |
964 | 968 | [[package]] |
965 | 969 | name = "http-body" |
966 | version = "0.4.5" | |
970 | version = "0.4.6" | |
967 | 971 | source = "registry+https://github.com/rust-lang/crates.io-index" |
968 | checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" | |
972 | checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" | |
969 | 973 | dependencies = [ |
970 | 974 | "bytes", |
971 | 975 | "http", |
@@ -986,9 +990,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" | ||
986 | 990 | |
987 | 991 | [[package]] |
988 | 992 | name = "hyper" |
989 | version = "0.14.27" | |
993 | version = "0.14.28" | |
990 | 994 | source = "registry+https://github.com/rust-lang/crates.io-index" |
991 | checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" | |
995 | checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" | |
992 | 996 | dependencies = [ |
993 | 997 | "bytes", |
994 | 998 | "futures-channel", |
@@ -1001,7 +1005,7 @@ dependencies = [ | ||
1001 | 1005 | "httpdate", |
1002 | 1006 | "itoa", |
1003 | 1007 | "pin-project-lite", |
1004 | "socket2 0.4.10", | |
1008 | "socket2", | |
1005 | 1009 | "tokio", |
1006 | 1010 | "tower-service", |
1007 | 1011 | "tracing", |
@@ -1023,9 +1027,9 @@ dependencies = [ | ||
1023 | 1027 | |
1024 | 1028 | [[package]] |
1025 | 1029 | name = "iana-time-zone" |
1026 | version = "0.1.58" | |
1030 | version = "0.1.60" | |
1027 | 1031 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1028 | checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" | |
1032 | checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" | |
1029 | 1033 | dependencies = [ |
1030 | 1034 | "android_system_properties", |
1031 | 1035 | "core-foundation-sys", |
@@ -1046,9 +1050,9 @@ dependencies = [ | ||
1046 | 1050 | |
1047 | 1051 | [[package]] |
1048 | 1052 | name = "idna" |
1049 | version = "0.4.0" | |
1053 | version = "0.5.0" | |
1050 | 1054 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1051 | checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" | |
1055 | checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" | |
1052 | 1056 | dependencies = [ |
1053 | 1057 | "unicode-bidi", |
1054 | 1058 | "unicode-normalization", |
@@ -1056,22 +1060,12 @@ dependencies = [ | ||
1056 | 1060 | |
1057 | 1061 | [[package]] |
1058 | 1062 | name = "indexmap" |
1059 | version = "1.9.3" | |
1063 | version = "2.2.6" | |
1060 | 1064 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1061 | checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" | |
1062 | dependencies = [ | |
1063 | "autocfg", | |
1064 | "hashbrown 0.12.3", | |
1065 | ] | |
1066 | ||
1067 | [[package]] | |
1068 | name = "indexmap" | |
1069 | version = "2.1.0" | |
1070 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
1071 | checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" | |
1065 | checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" | |
1072 | 1066 | dependencies = [ |
1073 | 1067 | "equivalent", |
1074 | "hashbrown 0.14.2", | |
1068 | "hashbrown", | |
1075 | 1069 | ] |
1076 | 1070 | |
1077 | 1071 | [[package]] |
@@ -1091,44 +1085,45 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" | ||
1091 | 1085 | |
1092 | 1086 | [[package]] |
1093 | 1087 | name = "itertools" |
1094 | version = "0.11.0" | |
1088 | version = "0.12.1" | |
1095 | 1089 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1096 | checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" | |
1090 | checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" | |
1097 | 1091 | dependencies = [ |
1098 | 1092 | "either", |
1099 | 1093 | ] |
1100 | 1094 | |
1101 | 1095 | [[package]] |
1102 | 1096 | name = "itoa" |
1103 | version = "1.0.9" | |
1097 | version = "1.0.11" | |
1104 | 1098 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1105 | checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" | |
1099 | checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" | |
1106 | 1100 | |
1107 | 1101 | [[package]] |
1108 | 1102 | name = "jobserver" |
1109 | version = "0.1.27" | |
1103 | version = "0.1.28" | |
1110 | 1104 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1111 | checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" | |
1105 | checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" | |
1112 | 1106 | dependencies = [ |
1113 | 1107 | "libc", |
1114 | 1108 | ] |
1115 | 1109 | |
1116 | 1110 | [[package]] |
1117 | 1111 | name = "js-sys" |
1118 | version = "0.3.65" | |
1112 | version = "0.3.69" | |
1119 | 1113 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1120 | checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" | |
1114 | checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" | |
1121 | 1115 | dependencies = [ |
1122 | 1116 | "wasm-bindgen", |
1123 | 1117 | ] |
1124 | 1118 | |
1125 | 1119 | [[package]] |
1126 | 1120 | name = "jsonwebtoken" |
1127 | version = "9.1.0" | |
1121 | version = "9.3.0" | |
1128 | 1122 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1129 | checksum = "155c4d7e39ad04c172c5e3a99c434ea3b4a7ba7960b38ecd562b270b097cce09" | |
1123 | checksum = "b9ae10193d25051e74945f1ea2d0b42e03cc3b890f7e4cc5faa44997d808193f" | |
1130 | 1124 | dependencies = [ |
1131 | "base64", | |
1125 | "base64 0.21.7", | |
1126 | "js-sys", | |
1132 | 1127 | "pem", |
1133 | 1128 | "ring", |
1134 | 1129 | "serde", |
@@ -1147,15 +1142,15 @@ dependencies = [ | ||
1147 | 1142 | |
1148 | 1143 | [[package]] |
1149 | 1144 | name = "libc" |
1150 | version = "0.2.150" | |
1145 | version = "0.2.153" | |
1151 | 1146 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1152 | checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" | |
1147 | checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" | |
1153 | 1148 | |
1154 | 1149 | [[package]] |
1155 | 1150 | name = "libgit2-sys" |
1156 | version = "0.16.1+1.7.1" | |
1151 | version = "0.16.2+1.7.2" | |
1157 | 1152 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1158 | checksum = "f2a2bb3680b094add03bb3732ec520ece34da31a8cd2d633d1389d0f0fb60d0c" | |
1153 | checksum = "ee4126d8b4ee5c9d9ea891dd875cfdc1e9d0950437179104b183d7d8a74d24e8" | |
1159 | 1154 | dependencies = [ |
1160 | 1155 | "cc", |
1161 | 1156 | "libc", |
@@ -1173,9 +1168,9 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" | ||
1173 | 1168 | |
1174 | 1169 | [[package]] |
1175 | 1170 | name = "libsqlite3-sys" |
1176 | version = "0.26.0" | |
1171 | version = "0.27.0" | |
1177 | 1172 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1178 | checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326" | |
1173 | checksum = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716" | |
1179 | 1174 | dependencies = [ |
1180 | 1175 | "cc", |
1181 | 1176 | "pkg-config", |
@@ -1198,9 +1193,9 @@ dependencies = [ | ||
1198 | 1193 | |
1199 | 1194 | [[package]] |
1200 | 1195 | name = "libz-sys" |
1201 | version = "1.1.12" | |
1196 | version = "1.1.16" | |
1202 | 1197 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1203 | checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" | |
1198 | checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" | |
1204 | 1199 | dependencies = [ |
1205 | 1200 | "cc", |
1206 | 1201 | "libc", |
@@ -1210,9 +1205,9 @@ dependencies = [ | ||
1210 | 1205 | |
1211 | 1206 | [[package]] |
1212 | 1207 | name = "linux-raw-sys" |
1213 | version = "0.4.11" | |
1208 | version = "0.4.13" | |
1214 | 1209 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1215 | checksum = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829" | |
1210 | checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" | |
1216 | 1211 | |
1217 | 1212 | [[package]] |
1218 | 1213 | name = "lock_api" |
@@ -1226,9 +1221,9 @@ dependencies = [ | ||
1226 | 1221 | |
1227 | 1222 | [[package]] |
1228 | 1223 | name = "log" |
1229 | version = "0.4.20" | |
1224 | version = "0.4.21" | |
1230 | 1225 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1231 | checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" | |
1226 | checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" | |
1232 | 1227 | |
1233 | 1228 | [[package]] |
1234 | 1229 | name = "md-5" |
@@ -1242,9 +1237,9 @@ dependencies = [ | ||
1242 | 1237 | |
1243 | 1238 | [[package]] |
1244 | 1239 | name = "memchr" |
1245 | version = "2.6.4" | |
1240 | version = "2.7.2" | |
1246 | 1241 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1247 | checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" | |
1242 | checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" | |
1248 | 1243 | |
1249 | 1244 | [[package]] |
1250 | 1245 | name = "mime" |
@@ -1260,22 +1255,22 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" | ||
1260 | 1255 | |
1261 | 1256 | [[package]] |
1262 | 1257 | name = "miniz_oxide" |
1263 | version = "0.7.1" | |
1258 | version = "0.7.2" | |
1264 | 1259 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1265 | checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" | |
1260 | checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" | |
1266 | 1261 | dependencies = [ |
1267 | 1262 | "adler", |
1268 | 1263 | ] |
1269 | 1264 | |
1270 | 1265 | [[package]] |
1271 | 1266 | name = "mio" |
1272 | version = "0.8.9" | |
1267 | version = "0.8.11" | |
1273 | 1268 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1274 | checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" | |
1269 | checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" | |
1275 | 1270 | dependencies = [ |
1276 | 1271 | "libc", |
1277 | 1272 | "wasi", |
1278 | "windows-sys", | |
1273 | "windows-sys 0.48.0", | |
1279 | 1274 | ] |
1280 | 1275 | |
1281 | 1276 | [[package]] |
@@ -1345,20 +1340,25 @@ dependencies = [ | ||
1345 | 1340 | ] |
1346 | 1341 | |
1347 | 1342 | [[package]] |
1343 | name = "num-conv" | |
1344 | version = "0.1.0" | |
1345 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
1346 | checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" | |
1347 | ||
1348 | [[package]] | |
1348 | 1349 | name = "num-integer" |
1349 | version = "0.1.45" | |
1350 | version = "0.1.46" | |
1350 | 1351 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1351 | checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" | |
1352 | checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" | |
1352 | 1353 | dependencies = [ |
1353 | "autocfg", | |
1354 | 1354 | "num-traits", |
1355 | 1355 | ] |
1356 | 1356 | |
1357 | 1357 | [[package]] |
1358 | 1358 | name = "num-iter" |
1359 | version = "0.1.43" | |
1359 | version = "0.1.44" | |
1360 | 1360 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1361 | checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" | |
1361 | checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" | |
1362 | 1362 | dependencies = [ |
1363 | 1363 | "autocfg", |
1364 | 1364 | "num-integer", |
@@ -1367,9 +1367,9 @@ dependencies = [ | ||
1367 | 1367 | |
1368 | 1368 | [[package]] |
1369 | 1369 | name = "num-traits" |
1370 | version = "0.2.17" | |
1370 | version = "0.2.18" | |
1371 | 1371 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1372 | checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" | |
1372 | checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" | |
1373 | 1373 | dependencies = [ |
1374 | 1374 | "autocfg", |
1375 | 1375 | "libm", |
@@ -1387,32 +1387,32 @@ dependencies = [ | ||
1387 | 1387 | |
1388 | 1388 | [[package]] |
1389 | 1389 | name = "object" |
1390 | version = "0.32.1" | |
1390 | version = "0.32.2" | |
1391 | 1391 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1392 | checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" | |
1392 | checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" | |
1393 | 1393 | dependencies = [ |
1394 | 1394 | "memchr", |
1395 | 1395 | ] |
1396 | 1396 | |
1397 | 1397 | [[package]] |
1398 | 1398 | name = "once_cell" |
1399 | version = "1.18.0" | |
1399 | version = "1.19.0" | |
1400 | 1400 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1401 | checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" | |
1401 | checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" | |
1402 | 1402 | |
1403 | 1403 | [[package]] |
1404 | 1404 | name = "opaque-debug" |
1405 | version = "0.3.0" | |
1405 | version = "0.3.1" | |
1406 | 1406 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1407 | checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" | |
1407 | checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" | |
1408 | 1408 | |
1409 | 1409 | [[package]] |
1410 | 1410 | name = "openssl" |
1411 | version = "0.10.59" | |
1411 | version = "0.10.64" | |
1412 | 1412 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1413 | checksum = "7a257ad03cd8fb16ad4172fedf8094451e1af1c4b70097636ef2eac9a5f0cc33" | |
1413 | checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" | |
1414 | 1414 | dependencies = [ |
1415 | "bitflags 2.4.1", | |
1415 | "bitflags 2.5.0", | |
1416 | 1416 | "cfg-if", |
1417 | 1417 | "foreign-types", |
1418 | 1418 | "libc", |
@@ -1429,7 +1429,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" | ||
1429 | 1429 | dependencies = [ |
1430 | 1430 | "proc-macro2", |
1431 | 1431 | "quote", |
1432 | "syn 2.0.39", | |
1432 | "syn 2.0.58", | |
1433 | 1433 | ] |
1434 | 1434 | |
1435 | 1435 | [[package]] |
@@ -1440,9 +1440,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" | ||
1440 | 1440 | |
1441 | 1441 | [[package]] |
1442 | 1442 | name = "openssl-sys" |
1443 | version = "0.9.95" | |
1443 | version = "0.9.102" | |
1444 | 1444 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1445 | checksum = "40a4130519a360279579c2053038317e40eff64d13fd3f004f9e1b72b8a6aaf9" | |
1445 | checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" | |
1446 | 1446 | dependencies = [ |
1447 | 1447 | "cc", |
1448 | 1448 | "libc", |
@@ -1476,7 +1476,7 @@ dependencies = [ | ||
1476 | 1476 | "libc", |
1477 | 1477 | "redox_syscall", |
1478 | 1478 | "smallvec", |
1479 | "windows-targets", | |
1479 | "windows-targets 0.48.5", | |
1480 | 1480 | ] |
1481 | 1481 | |
1482 | 1482 | [[package]] |
@@ -1498,11 +1498,11 @@ checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" | ||
1498 | 1498 | |
1499 | 1499 | [[package]] |
1500 | 1500 | name = "pem" |
1501 | version = "3.0.2" | |
1501 | version = "3.0.4" | |
1502 | 1502 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1503 | checksum = "3163d2912b7c3b52d651a055f2c7eec9ba5cd22d26ef75b8dd3a59980b185923" | |
1503 | checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" | |
1504 | 1504 | dependencies = [ |
1505 | "base64", | |
1505 | "base64 0.22.0", | |
1506 | 1506 | "serde", |
1507 | 1507 | ] |
1508 | 1508 | |
@@ -1517,15 +1517,15 @@ dependencies = [ | ||
1517 | 1517 | |
1518 | 1518 | [[package]] |
1519 | 1519 | name = "percent-encoding" |
1520 | version = "2.3.0" | |
1520 | version = "2.3.1" | |
1521 | 1521 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1522 | checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" | |
1522 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" | |
1523 | 1523 | |
1524 | 1524 | [[package]] |
1525 | 1525 | name = "pin-project-lite" |
1526 | version = "0.2.13" | |
1526 | version = "0.2.14" | |
1527 | 1527 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1528 | checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" | |
1528 | checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" | |
1529 | 1529 | |
1530 | 1530 | [[package]] |
1531 | 1531 | name = "pin-utils" |
@@ -1556,15 +1556,15 @@ dependencies = [ | ||
1556 | 1556 | |
1557 | 1557 | [[package]] |
1558 | 1558 | name = "pkg-config" |
1559 | version = "0.3.27" | |
1559 | version = "0.3.30" | |
1560 | 1560 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1561 | checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" | |
1561 | checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" | |
1562 | 1562 | |
1563 | 1563 | [[package]] |
1564 | 1564 | name = "polyval" |
1565 | version = "0.6.1" | |
1565 | version = "0.6.2" | |
1566 | 1566 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1567 | checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" | |
1567 | checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" | |
1568 | 1568 | dependencies = [ |
1569 | 1569 | "cfg-if", |
1570 | 1570 | "cpufeatures", |
@@ -1586,18 +1586,18 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" | ||
1586 | 1586 | |
1587 | 1587 | [[package]] |
1588 | 1588 | name = "proc-macro2" |
1589 | version = "1.0.69" | |
1589 | version = "1.0.79" | |
1590 | 1590 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1591 | checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" | |
1591 | checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" | |
1592 | 1592 | dependencies = [ |
1593 | 1593 | "unicode-ident", |
1594 | 1594 | ] |
1595 | 1595 | |
1596 | 1596 | [[package]] |
1597 | 1597 | name = "quote" |
1598 | version = "1.0.33" | |
1598 | version = "1.0.36" | |
1599 | 1599 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1600 | checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" | |
1600 | checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" | |
1601 | 1601 | dependencies = [ |
1602 | 1602 | "proc-macro2", |
1603 | 1603 | ] |
@@ -1643,11 +1643,11 @@ dependencies = [ | ||
1643 | 1643 | |
1644 | 1644 | [[package]] |
1645 | 1645 | name = "reqwest" |
1646 | version = "0.11.22" | |
1646 | version = "0.11.27" | |
1647 | 1647 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1648 | checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" | |
1648 | checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" | |
1649 | 1649 | dependencies = [ |
1650 | "base64", | |
1650 | "base64 0.21.7", | |
1651 | 1651 | "bytes", |
1652 | 1652 | "encoding_rs", |
1653 | 1653 | "futures-core", |
@@ -1665,9 +1665,11 @@ dependencies = [ | ||
1665 | 1665 | "once_cell", |
1666 | 1666 | "percent-encoding", |
1667 | 1667 | "pin-project-lite", |
1668 | "rustls-pemfile", | |
1668 | 1669 | "serde", |
1669 | 1670 | "serde_json", |
1670 | 1671 | "serde_urlencoded", |
1672 | "sync_wrapper", | |
1671 | 1673 | "system-configuration", |
1672 | 1674 | "tokio", |
1673 | 1675 | "tokio-native-tls", |
@@ -1687,23 +1689,24 @@ checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0" | ||
1687 | 1689 | |
1688 | 1690 | [[package]] |
1689 | 1691 | name = "ring" |
1690 | version = "0.17.5" | |
1692 | version = "0.17.8" | |
1691 | 1693 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1692 | checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" | |
1694 | checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" | |
1693 | 1695 | dependencies = [ |
1694 | 1696 | "cc", |
1697 | "cfg-if", | |
1695 | 1698 | "getrandom", |
1696 | 1699 | "libc", |
1697 | 1700 | "spin 0.9.8", |
1698 | 1701 | "untrusted", |
1699 | "windows-sys", | |
1702 | "windows-sys 0.52.0", | |
1700 | 1703 | ] |
1701 | 1704 | |
1702 | 1705 | [[package]] |
1703 | 1706 | name = "rsa" |
1704 | version = "0.9.3" | |
1707 | version = "0.9.6" | |
1705 | 1708 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1706 | checksum = "86ef35bf3e7fe15a53c4ab08a998e42271eab13eb0db224126bc7bc4c4bad96d" | |
1709 | checksum = "5d0e5124fcb30e76a7e79bfee683a2746db83784b86289f6251b54b7950a0dfc" | |
1707 | 1710 | dependencies = [ |
1708 | 1711 | "const-oid", |
1709 | 1712 | "digest", |
@@ -1728,30 +1731,39 @@ checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" | ||
1728 | 1731 | |
1729 | 1732 | [[package]] |
1730 | 1733 | name = "rustix" |
1731 | version = "0.38.21" | |
1734 | version = "0.38.32" | |
1732 | 1735 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1733 | checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" | |
1736 | checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" | |
1734 | 1737 | dependencies = [ |
1735 | "bitflags 2.4.1", | |
1738 | "bitflags 2.5.0", | |
1736 | 1739 | "errno", |
1737 | 1740 | "libc", |
1738 | 1741 | "linux-raw-sys", |
1739 | "windows-sys", | |
1742 | "windows-sys 0.52.0", | |
1743 | ] | |
1744 | ||
1745 | [[package]] | |
1746 | name = "rustls-pemfile" | |
1747 | version = "1.0.4" | |
1748 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
1749 | checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" | |
1750 | dependencies = [ | |
1751 | "base64 0.21.7", | |
1740 | 1752 | ] |
1741 | 1753 | |
1742 | 1754 | [[package]] |
1743 | 1755 | name = "ryu" |
1744 | version = "1.0.15" | |
1756 | version = "1.0.17" | |
1745 | 1757 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1746 | checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" | |
1758 | checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" | |
1747 | 1759 | |
1748 | 1760 | [[package]] |
1749 | 1761 | name = "schannel" |
1750 | version = "0.1.22" | |
1762 | version = "0.1.23" | |
1751 | 1763 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1752 | checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" | |
1764 | checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" | |
1753 | 1765 | dependencies = [ |
1754 | "windows-sys", | |
1766 | "windows-sys 0.52.0", | |
1755 | 1767 | ] |
1756 | 1768 | |
1757 | 1769 | [[package]] |
@@ -1772,9 +1784,9 @@ dependencies = [ | ||
1772 | 1784 | |
1773 | 1785 | [[package]] |
1774 | 1786 | name = "security-framework" |
1775 | version = "2.9.2" | |
1787 | version = "2.10.0" | |
1776 | 1788 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1777 | checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" | |
1789 | checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" | |
1778 | 1790 | dependencies = [ |
1779 | 1791 | "bitflags 1.3.2", |
1780 | 1792 | "core-foundation", |
@@ -1785,9 +1797,9 @@ dependencies = [ | ||
1785 | 1797 | |
1786 | 1798 | [[package]] |
1787 | 1799 | name = "security-framework-sys" |
1788 | version = "2.9.1" | |
1800 | version = "2.10.0" | |
1789 | 1801 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1790 | checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" | |
1802 | checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" | |
1791 | 1803 | dependencies = [ |
1792 | 1804 | "core-foundation-sys", |
1793 | 1805 | "libc", |
@@ -1795,38 +1807,38 @@ dependencies = [ | ||
1795 | 1807 | |
1796 | 1808 | [[package]] |
1797 | 1809 | name = "semver" |
1798 | version = "1.0.20" | |
1810 | version = "1.0.22" | |
1799 | 1811 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1800 | checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" | |
1812 | checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" | |
1801 | 1813 | dependencies = [ |
1802 | 1814 | "serde", |
1803 | 1815 | ] |
1804 | 1816 | |
1805 | 1817 | [[package]] |
1806 | 1818 | name = "serde" |
1807 | version = "1.0.192" | |
1819 | version = "1.0.197" | |
1808 | 1820 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1809 | checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" | |
1821 | checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" | |
1810 | 1822 | dependencies = [ |
1811 | 1823 | "serde_derive", |
1812 | 1824 | ] |
1813 | 1825 | |
1814 | 1826 | [[package]] |
1815 | 1827 | name = "serde_derive" |
1816 | version = "1.0.192" | |
1828 | version = "1.0.197" | |
1817 | 1829 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1818 | checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" | |
1830 | checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" | |
1819 | 1831 | dependencies = [ |
1820 | 1832 | "proc-macro2", |
1821 | 1833 | "quote", |
1822 | "syn 2.0.39", | |
1834 | "syn 2.0.58", | |
1823 | 1835 | ] |
1824 | 1836 | |
1825 | 1837 | [[package]] |
1826 | 1838 | name = "serde_json" |
1827 | version = "1.0.108" | |
1839 | version = "1.0.115" | |
1828 | 1840 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1829 | checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" | |
1841 | checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" | |
1830 | 1842 | dependencies = [ |
1831 | 1843 | "itoa", |
1832 | 1844 | "ryu", |
@@ -1835,9 +1847,9 @@ dependencies = [ | ||
1835 | 1847 | |
1836 | 1848 | [[package]] |
1837 | 1849 | name = "serde_spanned" |
1838 | version = "0.6.4" | |
1850 | version = "0.6.5" | |
1839 | 1851 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1840 | checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" | |
1852 | checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" | |
1841 | 1853 | dependencies = [ |
1842 | 1854 | "serde", |
1843 | 1855 | ] |
@@ -1896,9 +1908,9 @@ dependencies = [ | ||
1896 | 1908 | |
1897 | 1909 | [[package]] |
1898 | 1910 | name = "signature" |
1899 | version = "2.1.0" | |
1911 | version = "2.2.0" | |
1900 | 1912 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1901 | checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" | |
1913 | checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" | |
1902 | 1914 | dependencies = [ |
1903 | 1915 | "digest", |
1904 | 1916 | "rand_core", |
@@ -1927,28 +1939,18 @@ dependencies = [ | ||
1927 | 1939 | |
1928 | 1940 | [[package]] |
1929 | 1941 | name = "smallvec" |
1930 | version = "1.11.1" | |
1942 | version = "1.13.2" | |
1931 | 1943 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1932 | checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" | |
1944 | checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" | |
1933 | 1945 | |
1934 | 1946 | [[package]] |
1935 | 1947 | name = "socket2" |
1936 | version = "0.4.10" | |
1948 | version = "0.5.6" | |
1937 | 1949 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1938 | checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" | |
1950 | checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" | |
1939 | 1951 | dependencies = [ |
1940 | 1952 | "libc", |
1941 | "winapi", | |
1942 | ] | |
1943 | ||
1944 | [[package]] | |
1945 | name = "socket2" | |
1946 | version = "0.5.5" | |
1947 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
1948 | checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" | |
1949 | dependencies = [ | |
1950 | "libc", | |
1951 | "windows-sys", | |
1953 | "windows-sys 0.52.0", | |
1952 | 1954 | ] |
1953 | 1955 | |
1954 | 1956 | [[package]] |
@@ -1968,9 +1970,9 @@ dependencies = [ | ||
1968 | 1970 | |
1969 | 1971 | [[package]] |
1970 | 1972 | name = "spki" |
1971 | version = "0.7.2" | |
1973 | version = "0.7.3" | |
1972 | 1974 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1973 | checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" | |
1975 | checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" | |
1974 | 1976 | dependencies = [ |
1975 | 1977 | "base64ct", |
1976 | 1978 | "der", |
@@ -1978,9 +1980,9 @@ dependencies = [ | ||
1978 | 1980 | |
1979 | 1981 | [[package]] |
1980 | 1982 | name = "sqlformat" |
1981 | version = "0.2.2" | |
1983 | version = "0.2.3" | |
1982 | 1984 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1983 | checksum = "6b7b278788e7be4d0d29c0f39497a0eef3fba6bbc8e70d8bf7fde46edeaa9e85" | |
1985 | checksum = "ce81b7bd7c4493975347ef60d8c7e8b742d4694f4c49f93e0a12ea263938176c" | |
1984 | 1986 | dependencies = [ |
1985 | 1987 | "itertools", |
1986 | 1988 | "nom", |
@@ -1989,9 +1991,9 @@ dependencies = [ | ||
1989 | 1991 | |
1990 | 1992 | [[package]] |
1991 | 1993 | name = "sqlx" |
1992 | version = "0.7.2" | |
1994 | version = "0.7.4" | |
1993 | 1995 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1994 | checksum = "0e50c216e3624ec8e7ecd14c6a6a6370aad6ee5d8cfc3ab30b5162eeeef2ed33" | |
1996 | checksum = "c9a2ccff1a000a5a59cd33da541d9f2fdcd9e6e8229cc200565942bff36d0aaa" | |
1995 | 1997 | dependencies = [ |
1996 | 1998 | "sqlx-core", |
1997 | 1999 | "sqlx-macros", |
@@ -2002,9 +2004,9 @@ dependencies = [ | ||
2002 | 2004 | |
2003 | 2005 | [[package]] |
2004 | 2006 | name = "sqlx-core" |
2005 | version = "0.7.2" | |
2007 | version = "0.7.4" | |
2006 | 2008 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2007 | checksum = "8d6753e460c998bbd4cd8c6f0ed9a64346fcca0723d6e75e52fdc351c5d2169d" | |
2009 | checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6" | |
2008 | 2010 | dependencies = [ |
2009 | 2011 | "ahash", |
2010 | 2012 | "atoi", |
@@ -2013,7 +2015,6 @@ dependencies = [ | ||
2013 | 2015 | "chrono", |
2014 | 2016 | "crc", |
2015 | 2017 | "crossbeam-queue", |
2016 | "dotenvy", | |
2017 | 2018 | "either", |
2018 | 2019 | "event-listener", |
2019 | 2020 | "futures-channel", |
@@ -2023,7 +2024,7 @@ dependencies = [ | ||
2023 | 2024 | "futures-util", |
2024 | 2025 | "hashlink", |
2025 | 2026 | "hex", |
2026 | "indexmap 2.1.0", | |
2027 | "indexmap", | |
2027 | 2028 | "log", |
2028 | 2029 | "memchr", |
2029 | 2030 | "native-tls", |
@@ -2044,9 +2045,9 @@ dependencies = [ | ||
2044 | 2045 | |
2045 | 2046 | [[package]] |
2046 | 2047 | name = "sqlx-macros" |
2047 | version = "0.7.2" | |
2048 | version = "0.7.4" | |
2048 | 2049 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2049 | checksum = "9a793bb3ba331ec8359c1853bd39eed32cdd7baaf22c35ccf5c92a7e8d1189ec" | |
2050 | checksum = "4ea40e2345eb2faa9e1e5e326db8c34711317d2b5e08d0d5741619048a803127" | |
2050 | 2051 | dependencies = [ |
2051 | 2052 | "proc-macro2", |
2052 | 2053 | "quote", |
@@ -2057,9 +2058,9 @@ dependencies = [ | ||
2057 | 2058 | |
2058 | 2059 | [[package]] |
2059 | 2060 | name = "sqlx-macros-core" |
2060 | version = "0.7.2" | |
2061 | version = "0.7.4" | |
2061 | 2062 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2062 | checksum = "0a4ee1e104e00dedb6aa5ffdd1343107b0a4702e862a84320ee7cc74782d96fc" | |
2063 | checksum = "5833ef53aaa16d860e92123292f1f6a3d53c34ba8b1969f152ef1a7bb803f3c8" | |
2063 | 2064 | dependencies = [ |
2064 | 2065 | "dotenvy", |
2065 | 2066 | "either", |
@@ -2083,13 +2084,13 @@ dependencies = [ | ||
2083 | 2084 | |
2084 | 2085 | [[package]] |
2085 | 2086 | name = "sqlx-mysql" |
2086 | version = "0.7.2" | |
2087 | version = "0.7.4" | |
2087 | 2088 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2088 | checksum = "864b869fdf56263f4c95c45483191ea0af340f9f3e3e7b4d57a61c7c87a970db" | |
2089 | checksum = "1ed31390216d20e538e447a7a9b959e06ed9fc51c37b514b46eb758016ecd418" | |
2089 | 2090 | dependencies = [ |
2090 | 2091 | "atoi", |
2091 | "base64", | |
2092 | "bitflags 2.4.1", | |
2092 | "base64 0.21.7", | |
2093 | "bitflags 2.5.0", | |
2093 | 2094 | "byteorder", |
2094 | 2095 | "bytes", |
2095 | 2096 | "chrono", |
@@ -2126,13 +2127,13 @@ dependencies = [ | ||
2126 | 2127 | |
2127 | 2128 | [[package]] |
2128 | 2129 | name = "sqlx-postgres" |
2129 | version = "0.7.2" | |
2130 | version = "0.7.4" | |
2130 | 2131 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2131 | checksum = "eb7ae0e6a97fb3ba33b23ac2671a5ce6e3cabe003f451abd5a56e7951d975624" | |
2132 | checksum = "7c824eb80b894f926f89a0b9da0c7f435d27cdd35b8c655b114e58223918577e" | |
2132 | 2133 | dependencies = [ |
2133 | 2134 | "atoi", |
2134 | "base64", | |
2135 | "bitflags 2.4.1", | |
2135 | "base64 0.21.7", | |
2136 | "bitflags 2.5.0", | |
2136 | 2137 | "byteorder", |
2137 | 2138 | "chrono", |
2138 | 2139 | "crc", |
@@ -2154,7 +2155,6 @@ dependencies = [ | ||
2154 | 2155 | "rand", |
2155 | 2156 | "serde", |
2156 | 2157 | "serde_json", |
2157 | "sha1", | |
2158 | 2158 | "sha2", |
2159 | 2159 | "smallvec", |
2160 | 2160 | "sqlx-core", |
@@ -2166,9 +2166,9 @@ dependencies = [ | ||
2166 | 2166 | |
2167 | 2167 | [[package]] |
2168 | 2168 | name = "sqlx-sqlite" |
2169 | version = "0.7.2" | |
2169 | version = "0.7.4" | |
2170 | 2170 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2171 | checksum = "d59dc83cf45d89c555a577694534fcd1b55c545a816c816ce51f20bbe56a4f3f" | |
2171 | checksum = "b244ef0a8414da0bed4bb1910426e890b19e5e9bccc27ada6b797d05c55ae0aa" | |
2172 | 2172 | dependencies = [ |
2173 | 2173 | "atoi", |
2174 | 2174 | "chrono", |
@@ -2185,6 +2185,7 @@ dependencies = [ | ||
2185 | 2185 | "sqlx-core", |
2186 | 2186 | "tracing", |
2187 | 2187 | "url", |
2188 | "urlencoding", | |
2188 | 2189 | ] |
2189 | 2190 | |
2190 | 2191 | [[package]] |
@@ -2217,9 +2218,9 @@ dependencies = [ | ||
2217 | 2218 | |
2218 | 2219 | [[package]] |
2219 | 2220 | name = "syn" |
2220 | version = "2.0.39" | |
2221 | version = "2.0.58" | |
2221 | 2222 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2222 | checksum = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" | |
2223 | checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" | |
2223 | 2224 | dependencies = [ |
2224 | 2225 | "proc-macro2", |
2225 | 2226 | "quote", |
@@ -2227,6 +2228,12 @@ dependencies = [ | ||
2227 | 2228 | ] |
2228 | 2229 | |
2229 | 2230 | [[package]] |
2231 | name = "sync_wrapper" | |
2232 | version = "0.1.2" | |
2233 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2234 | checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" | |
2235 | ||
2236 | [[package]] | |
2230 | 2237 | name = "system-configuration" |
2231 | 2238 | version = "0.5.1" |
2232 | 2239 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -2249,42 +2256,41 @@ dependencies = [ | ||
2249 | 2256 | |
2250 | 2257 | [[package]] |
2251 | 2258 | name = "tempfile" |
2252 | version = "3.8.1" | |
2259 | version = "3.10.1" | |
2253 | 2260 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2254 | checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" | |
2261 | checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" | |
2255 | 2262 | dependencies = [ |
2256 | 2263 | "cfg-if", |
2257 | 2264 | "fastrand", |
2258 | "redox_syscall", | |
2259 | 2265 | "rustix", |
2260 | "windows-sys", | |
2266 | "windows-sys 0.52.0", | |
2261 | 2267 | ] |
2262 | 2268 | |
2263 | 2269 | [[package]] |
2264 | 2270 | name = "thiserror" |
2265 | version = "1.0.50" | |
2271 | version = "1.0.58" | |
2266 | 2272 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2267 | checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" | |
2273 | checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" | |
2268 | 2274 | dependencies = [ |
2269 | 2275 | "thiserror-impl", |
2270 | 2276 | ] |
2271 | 2277 | |
2272 | 2278 | [[package]] |
2273 | 2279 | name = "thiserror-impl" |
2274 | version = "1.0.50" | |
2280 | version = "1.0.58" | |
2275 | 2281 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2276 | checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" | |
2282 | checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" | |
2277 | 2283 | dependencies = [ |
2278 | 2284 | "proc-macro2", |
2279 | 2285 | "quote", |
2280 | "syn 2.0.39", | |
2286 | "syn 2.0.58", | |
2281 | 2287 | ] |
2282 | 2288 | |
2283 | 2289 | [[package]] |
2284 | 2290 | name = "thread_local" |
2285 | version = "1.1.7" | |
2291 | version = "1.1.8" | |
2286 | 2292 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2287 | checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" | |
2293 | checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" | |
2288 | 2294 | dependencies = [ |
2289 | 2295 | "cfg-if", |
2290 | 2296 | "once_cell", |
@@ -2292,12 +2298,13 @@ dependencies = [ | ||
2292 | 2298 | |
2293 | 2299 | [[package]] |
2294 | 2300 | name = "time" |
2295 | version = "0.3.30" | |
2301 | version = "0.3.35" | |
2296 | 2302 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2297 | checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" | |
2303 | checksum = "ef89ece63debf11bc32d1ed8d078ac870cbeb44da02afb02a9ff135ae7ca0582" | |
2298 | 2304 | dependencies = [ |
2299 | 2305 | "deranged", |
2300 | 2306 | "itoa", |
2307 | "num-conv", | |
2301 | 2308 | "powerfmt", |
2302 | 2309 | "serde", |
2303 | 2310 | "time-core", |
@@ -2312,10 +2319,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" | ||
2312 | 2319 | |
2313 | 2320 | [[package]] |
2314 | 2321 | name = "time-macros" |
2315 | version = "0.2.15" | |
2322 | version = "0.2.18" | |
2316 | 2323 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2317 | checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" | |
2324 | checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" | |
2318 | 2325 | dependencies = [ |
2326 | "num-conv", | |
2319 | 2327 | "time-core", |
2320 | 2328 | ] |
2321 | 2329 | |
@@ -2336,9 +2344,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" | ||
2336 | 2344 | |
2337 | 2345 | [[package]] |
2338 | 2346 | name = "tokio" |
2339 | version = "1.33.0" | |
2347 | version = "1.37.0" | |
2340 | 2348 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2341 | checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" | |
2349 | checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" | |
2342 | 2350 | dependencies = [ |
2343 | 2351 | "backtrace", |
2344 | 2352 | "bytes", |
@@ -2348,20 +2356,20 @@ dependencies = [ | ||
2348 | 2356 | "parking_lot", |
2349 | 2357 | "pin-project-lite", |
2350 | 2358 | "signal-hook-registry", |
2351 | "socket2 0.5.5", | |
2359 | "socket2", | |
2352 | 2360 | "tokio-macros", |
2353 | "windows-sys", | |
2361 | "windows-sys 0.48.0", | |
2354 | 2362 | ] |
2355 | 2363 | |
2356 | 2364 | [[package]] |
2357 | 2365 | name = "tokio-macros" |
2358 | version = "2.1.0" | |
2366 | version = "2.2.0" | |
2359 | 2367 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2360 | checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" | |
2368 | checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" | |
2361 | 2369 | dependencies = [ |
2362 | 2370 | "proc-macro2", |
2363 | 2371 | "quote", |
2364 | "syn 2.0.39", | |
2372 | "syn 2.0.58", | |
2365 | 2373 | ] |
2366 | 2374 | |
2367 | 2375 | [[package]] |
@@ -2376,9 +2384,9 @@ dependencies = [ | ||
2376 | 2384 | |
2377 | 2385 | [[package]] |
2378 | 2386 | name = "tokio-stream" |
2379 | version = "0.1.14" | |
2387 | version = "0.1.15" | |
2380 | 2388 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2381 | checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" | |
2389 | checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" | |
2382 | 2390 | dependencies = [ |
2383 | 2391 | "futures-core", |
2384 | 2392 | "pin-project-lite", |
@@ -2407,7 +2415,7 @@ dependencies = [ | ||
2407 | 2415 | "futures-core", |
2408 | 2416 | "futures-sink", |
2409 | 2417 | "futures-util", |
2410 | "hashbrown 0.14.2", | |
2418 | "hashbrown", | |
2411 | 2419 | "pin-project-lite", |
2412 | 2420 | "tokio", |
2413 | 2421 | "tracing", |
@@ -2415,9 +2423,9 @@ dependencies = [ | ||
2415 | 2423 | |
2416 | 2424 | [[package]] |
2417 | 2425 | name = "toml" |
2418 | version = "0.8.8" | |
2426 | version = "0.8.12" | |
2419 | 2427 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2420 | checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" | |
2428 | checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" | |
2421 | 2429 | dependencies = [ |
2422 | 2430 | "serde", |
2423 | 2431 | "serde_spanned", |
@@ -2436,11 +2444,11 @@ dependencies = [ | ||
2436 | 2444 | |
2437 | 2445 | [[package]] |
2438 | 2446 | name = "toml_edit" |
2439 | version = "0.21.0" | |
2447 | version = "0.22.9" | |
2440 | 2448 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2441 | checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" | |
2449 | checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" | |
2442 | 2450 | dependencies = [ |
2443 | "indexmap 2.1.0", | |
2451 | "indexmap", | |
2444 | 2452 | "serde", |
2445 | 2453 | "serde_spanned", |
2446 | 2454 | "toml_datetime", |
@@ -2473,7 +2481,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" | ||
2473 | 2481 | dependencies = [ |
2474 | 2482 | "proc-macro2", |
2475 | 2483 | "quote", |
2476 | "syn 2.0.39", | |
2484 | "syn 2.0.58", | |
2477 | 2485 | ] |
2478 | 2486 | |
2479 | 2487 | [[package]] |
@@ -2488,9 +2496,9 @@ dependencies = [ | ||
2488 | 2496 | |
2489 | 2497 | [[package]] |
2490 | 2498 | name = "tracing-log" |
2491 | version = "0.1.4" | |
2499 | version = "0.2.0" | |
2492 | 2500 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2493 | checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" | |
2501 | checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" | |
2494 | 2502 | dependencies = [ |
2495 | 2503 | "log", |
2496 | 2504 | "once_cell", |
@@ -2499,9 +2507,9 @@ dependencies = [ | ||
2499 | 2507 | |
2500 | 2508 | [[package]] |
2501 | 2509 | name = "tracing-subscriber" |
2502 | version = "0.3.17" | |
2510 | version = "0.3.18" | |
2503 | 2511 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2504 | checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" | |
2512 | checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" | |
2505 | 2513 | dependencies = [ |
2506 | 2514 | "nu-ansi-term", |
2507 | 2515 | "sharded-slab", |
@@ -2513,9 +2521,9 @@ dependencies = [ | ||
2513 | 2521 | |
2514 | 2522 | [[package]] |
2515 | 2523 | name = "try-lock" |
2516 | version = "0.2.4" | |
2524 | version = "0.2.5" | |
2517 | 2525 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2518 | checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" | |
2526 | checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" | |
2519 | 2527 | |
2520 | 2528 | [[package]] |
2521 | 2529 | name = "tungstenite" |
@@ -2544,9 +2552,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" | ||
2544 | 2552 | |
2545 | 2553 | [[package]] |
2546 | 2554 | name = "unicode-bidi" |
2547 | version = "0.3.13" | |
2555 | version = "0.3.15" | |
2548 | 2556 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2549 | checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" | |
2557 | checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" | |
2550 | 2558 | |
2551 | 2559 | [[package]] |
2552 | 2560 | name = "unicode-ident" |
@@ -2556,18 +2564,18 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" | ||
2556 | 2564 | |
2557 | 2565 | [[package]] |
2558 | 2566 | name = "unicode-normalization" |
2559 | version = "0.1.22" | |
2567 | version = "0.1.23" | |
2560 | 2568 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2561 | checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" | |
2569 | checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" | |
2562 | 2570 | dependencies = [ |
2563 | 2571 | "tinyvec", |
2564 | 2572 | ] |
2565 | 2573 | |
2566 | 2574 | [[package]] |
2567 | 2575 | name = "unicode-segmentation" |
2568 | version = "1.10.1" | |
2576 | version = "1.11.0" | |
2569 | 2577 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2570 | checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" | |
2578 | checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" | |
2571 | 2579 | |
2572 | 2580 | [[package]] |
2573 | 2581 | name = "unicode_categories" |
@@ -2593,9 +2601,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" | ||
2593 | 2601 | |
2594 | 2602 | [[package]] |
2595 | 2603 | name = "url" |
2596 | version = "2.4.1" | |
2604 | version = "2.5.0" | |
2597 | 2605 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2598 | checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" | |
2606 | checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" | |
2599 | 2607 | dependencies = [ |
2600 | 2608 | "form_urlencoded", |
2601 | 2609 | "idna", |
@@ -2604,6 +2612,12 @@ dependencies = [ | ||
2604 | 2612 | ] |
2605 | 2613 | |
2606 | 2614 | [[package]] |
2615 | name = "urlencoding" | |
2616 | version = "2.1.3" | |
2617 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2618 | checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" | |
2619 | ||
2620 | [[package]] | |
2607 | 2621 | name = "utf-8" |
2608 | 2622 | version = "0.7.6" |
2609 | 2623 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -2643,10 +2657,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
2643 | 2657 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" |
2644 | 2658 | |
2645 | 2659 | [[package]] |
2660 | name = "wasite" | |
2661 | version = "0.1.0" | |
2662 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2663 | checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" | |
2664 | ||
2665 | [[package]] | |
2646 | 2666 | name = "wasm-bindgen" |
2647 | version = "0.2.88" | |
2667 | version = "0.2.92" | |
2648 | 2668 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2649 | checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" | |
2669 | checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" | |
2650 | 2670 | dependencies = [ |
2651 | 2671 | "cfg-if", |
2652 | 2672 | "wasm-bindgen-macro", |
@@ -2654,24 +2674,24 @@ dependencies = [ | ||
2654 | 2674 | |
2655 | 2675 | [[package]] |
2656 | 2676 | name = "wasm-bindgen-backend" |
2657 | version = "0.2.88" | |
2677 | version = "0.2.92" | |
2658 | 2678 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2659 | checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" | |
2679 | checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" | |
2660 | 2680 | dependencies = [ |
2661 | 2681 | "bumpalo", |
2662 | 2682 | "log", |
2663 | 2683 | "once_cell", |
2664 | 2684 | "proc-macro2", |
2665 | 2685 | "quote", |
2666 | "syn 2.0.39", | |
2686 | "syn 2.0.58", | |
2667 | 2687 | "wasm-bindgen-shared", |
2668 | 2688 | ] |
2669 | 2689 | |
2670 | 2690 | [[package]] |
2671 | 2691 | name = "wasm-bindgen-futures" |
2672 | version = "0.4.38" | |
2692 | version = "0.4.42" | |
2673 | 2693 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2674 | checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02" | |
2694 | checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" | |
2675 | 2695 | dependencies = [ |
2676 | 2696 | "cfg-if", |
2677 | 2697 | "js-sys", |
@@ -2681,9 +2701,9 @@ dependencies = [ | ||
2681 | 2701 | |
2682 | 2702 | [[package]] |
2683 | 2703 | name = "wasm-bindgen-macro" |
2684 | version = "0.2.88" | |
2704 | version = "0.2.92" | |
2685 | 2705 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2686 | checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" | |
2706 | checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" | |
2687 | 2707 | dependencies = [ |
2688 | 2708 | "quote", |
2689 | 2709 | "wasm-bindgen-macro-support", |
@@ -2691,28 +2711,28 @@ dependencies = [ | ||
2691 | 2711 | |
2692 | 2712 | [[package]] |
2693 | 2713 | name = "wasm-bindgen-macro-support" |
2694 | version = "0.2.88" | |
2714 | version = "0.2.92" | |
2695 | 2715 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2696 | checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" | |
2716 | checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" | |
2697 | 2717 | dependencies = [ |
2698 | 2718 | "proc-macro2", |
2699 | 2719 | "quote", |
2700 | "syn 2.0.39", | |
2720 | "syn 2.0.58", | |
2701 | 2721 | "wasm-bindgen-backend", |
2702 | 2722 | "wasm-bindgen-shared", |
2703 | 2723 | ] |
2704 | 2724 | |
2705 | 2725 | [[package]] |
2706 | 2726 | name = "wasm-bindgen-shared" |
2707 | version = "0.2.88" | |
2727 | version = "0.2.92" | |
2708 | 2728 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2709 | checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" | |
2729 | checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" | |
2710 | 2730 | |
2711 | 2731 | [[package]] |
2712 | 2732 | name = "web-sys" |
2713 | version = "0.3.65" | |
2733 | version = "0.3.69" | |
2714 | 2734 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2715 | checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" | |
2735 | checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" | |
2716 | 2736 | dependencies = [ |
2717 | 2737 | "js-sys", |
2718 | 2738 | "wasm-bindgen", |
@@ -2720,9 +2740,13 @@ dependencies = [ | ||
2720 | 2740 | |
2721 | 2741 | [[package]] |
2722 | 2742 | name = "whoami" |
2723 | version = "1.4.1" | |
2743 | version = "1.5.1" | |
2724 | 2744 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2725 | checksum = "22fc3756b8a9133049b26c7f61ab35416c130e8c09b660f5b3958b446f52cc50" | |
2745 | checksum = "a44ab49fad634e88f55bf8f9bb3abd2f27d7204172a112c7c9987e01c1c94ea9" | |
2746 | dependencies = [ | |
2747 | "redox_syscall", | |
2748 | "wasite", | |
2749 | ] | |
2726 | 2750 | |
2727 | 2751 | [[package]] |
2728 | 2752 | name = "winapi" |
@@ -2748,11 +2772,11 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | ||
2748 | 2772 | |
2749 | 2773 | [[package]] |
2750 | 2774 | name = "windows-core" |
2751 | version = "0.51.1" | |
2775 | version = "0.52.0" | |
2752 | 2776 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2753 | checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" | |
2777 | checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" | |
2754 | 2778 | dependencies = [ |
2755 | "windows-targets", | |
2779 | "windows-targets 0.52.4", | |
2756 | 2780 | ] |
2757 | 2781 | |
2758 | 2782 | [[package]] |
@@ -2761,7 +2785,16 @@ version = "0.48.0" | ||
2761 | 2785 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2762 | 2786 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" |
2763 | 2787 | dependencies = [ |
2764 | "windows-targets", | |
2788 | "windows-targets 0.48.5", | |
2789 | ] | |
2790 | ||
2791 | [[package]] | |
2792 | name = "windows-sys" | |
2793 | version = "0.52.0" | |
2794 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2795 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" | |
2796 | dependencies = [ | |
2797 | "windows-targets 0.52.4", | |
2765 | 2798 | ] |
2766 | 2799 | |
2767 | 2800 | [[package]] |
@@ -2770,13 +2803,28 @@ version = "0.48.5" | ||
2770 | 2803 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2771 | 2804 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" |
2772 | 2805 | dependencies = [ |
2773 | "windows_aarch64_gnullvm", | |
2774 | "windows_aarch64_msvc", | |
2775 | "windows_i686_gnu", | |
2776 | "windows_i686_msvc", | |
2777 | "windows_x86_64_gnu", | |
2778 | "windows_x86_64_gnullvm", | |
2779 | "windows_x86_64_msvc", | |
2806 | "windows_aarch64_gnullvm 0.48.5", | |
2807 | "windows_aarch64_msvc 0.48.5", | |
2808 | "windows_i686_gnu 0.48.5", | |
2809 | "windows_i686_msvc 0.48.5", | |
2810 | "windows_x86_64_gnu 0.48.5", | |
2811 | "windows_x86_64_gnullvm 0.48.5", | |
2812 | "windows_x86_64_msvc 0.48.5", | |
2813 | ] | |
2814 | ||
2815 | [[package]] | |
2816 | name = "windows-targets" | |
2817 | version = "0.52.4" | |
2818 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2819 | checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" | |
2820 | dependencies = [ | |
2821 | "windows_aarch64_gnullvm 0.52.4", | |
2822 | "windows_aarch64_msvc 0.52.4", | |
2823 | "windows_i686_gnu 0.52.4", | |
2824 | "windows_i686_msvc 0.52.4", | |
2825 | "windows_x86_64_gnu 0.52.4", | |
2826 | "windows_x86_64_gnullvm 0.52.4", | |
2827 | "windows_x86_64_msvc 0.52.4", | |
2780 | 2828 | ] |
2781 | 2829 | |
2782 | 2830 | [[package]] |
@@ -2786,46 +2834,88 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
2786 | 2834 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" |
2787 | 2835 | |
2788 | 2836 | [[package]] |
2837 | name = "windows_aarch64_gnullvm" | |
2838 | version = "0.52.4" | |
2839 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2840 | checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" | |
2841 | ||
2842 | [[package]] | |
2789 | 2843 | name = "windows_aarch64_msvc" |
2790 | 2844 | version = "0.48.5" |
2791 | 2845 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2792 | 2846 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" |
2793 | 2847 | |
2794 | 2848 | [[package]] |
2849 | name = "windows_aarch64_msvc" | |
2850 | version = "0.52.4" | |
2851 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2852 | checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" | |
2853 | ||
2854 | [[package]] | |
2795 | 2855 | name = "windows_i686_gnu" |
2796 | 2856 | version = "0.48.5" |
2797 | 2857 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2798 | 2858 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" |
2799 | 2859 | |
2800 | 2860 | [[package]] |
2861 | name = "windows_i686_gnu" | |
2862 | version = "0.52.4" | |
2863 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2864 | checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" | |
2865 | ||
2866 | [[package]] | |
2801 | 2867 | name = "windows_i686_msvc" |
2802 | 2868 | version = "0.48.5" |
2803 | 2869 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2804 | 2870 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" |
2805 | 2871 | |
2806 | 2872 | [[package]] |
2873 | name = "windows_i686_msvc" | |
2874 | version = "0.52.4" | |
2875 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2876 | checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" | |
2877 | ||
2878 | [[package]] | |
2807 | 2879 | name = "windows_x86_64_gnu" |
2808 | 2880 | version = "0.48.5" |
2809 | 2881 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2810 | 2882 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" |
2811 | 2883 | |
2812 | 2884 | [[package]] |
2885 | name = "windows_x86_64_gnu" | |
2886 | version = "0.52.4" | |
2887 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2888 | checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" | |
2889 | ||
2890 | [[package]] | |
2813 | 2891 | name = "windows_x86_64_gnullvm" |
2814 | 2892 | version = "0.48.5" |
2815 | 2893 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2816 | 2894 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" |
2817 | 2895 | |
2818 | 2896 | [[package]] |
2897 | name = "windows_x86_64_gnullvm" | |
2898 | version = "0.52.4" | |
2899 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2900 | checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" | |
2901 | ||
2902 | [[package]] | |
2819 | 2903 | name = "windows_x86_64_msvc" |
2820 | 2904 | version = "0.48.5" |
2821 | 2905 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2822 | 2906 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" |
2823 | 2907 | |
2824 | 2908 | [[package]] |
2909 | name = "windows_x86_64_msvc" | |
2910 | version = "0.52.4" | |
2911 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
2912 | checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" | |
2913 | ||
2914 | [[package]] | |
2825 | 2915 | name = "winnow" |
2826 | version = "0.5.19" | |
2916 | version = "0.6.5" | |
2827 | 2917 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2828 | checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" | |
2918 | checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" | |
2829 | 2919 | dependencies = [ |
2830 | 2920 | "memchr", |
2831 | 2921 | ] |
@@ -2837,31 +2927,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
2837 | 2927 | checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" |
2838 | 2928 | dependencies = [ |
2839 | 2929 | "cfg-if", |
2840 | "windows-sys", | |
2930 | "windows-sys 0.48.0", | |
2841 | 2931 | ] |
2842 | 2932 | |
2843 | 2933 | [[package]] |
2844 | 2934 | name = "zerocopy" |
2845 | version = "0.7.25" | |
2935 | version = "0.7.32" | |
2846 | 2936 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2847 | checksum = "8cd369a67c0edfef15010f980c3cbe45d7f651deac2cd67ce097cd801de16557" | |
2937 | checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" | |
2848 | 2938 | dependencies = [ |
2849 | 2939 | "zerocopy-derive", |
2850 | 2940 | ] |
2851 | 2941 | |
2852 | 2942 | [[package]] |
2853 | 2943 | name = "zerocopy-derive" |
2854 | version = "0.7.25" | |
2944 | version = "0.7.32" | |
2855 | 2945 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2856 | checksum = "c2f140bda219a26ccc0cdb03dba58af72590c53b22642577d88a927bc5c87d6b" | |
2946 | checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" | |
2857 | 2947 | dependencies = [ |
2858 | 2948 | "proc-macro2", |
2859 | 2949 | "quote", |
2860 | "syn 2.0.39", | |
2950 | "syn 2.0.58", | |
2861 | 2951 | ] |
2862 | 2952 | |
2863 | 2953 | [[package]] |
2864 | 2954 | name = "zeroize" |
2865 | version = "1.6.0" | |
2955 | version = "1.7.0" | |
2866 | 2956 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2867 | checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" | |
2957 | checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" |
giterated-core/Cargo.toml
@@ -12,3 +12,4 @@ giterated-models = { path = "giterated-models" } | ||
12 | 12 | |
13 | 13 | anyhow = "1" |
14 | 14 | tracing = "0.1" |
15 | async-trait = "0.1" |
giterated-core/src/lib.rs
@@ -1,6 +1,13 @@ | ||
1 | 1 | use giterated_abi::vtable::{runtime::RuntimeHandle, VTable}; |
2 | use giterated_models::{ | |
3 | error::OperationError, | |
4 | object::{GiteratedObject, Object, ObjectRequestError}, | |
5 | object_backend::ObjectBackend, | |
6 | operation::{GiteratedOperation, OperationState}, | |
7 | }; | |
8 | use std::fmt::Debug; | |
2 | 9 | |
3 | pub mod state; | |
10 | pub mod operation; | |
4 | 11 | pub mod types; |
5 | 12 | |
6 | 13 | #[derive(Clone)] |
@@ -9,6 +16,33 @@ pub struct RuntimeState { | ||
9 | 16 | pub vtable: &'static VTable<RuntimeHandle>, |
10 | 17 | } |
11 | 18 | |
19 | #[async_trait::async_trait(?Send)] | |
20 | impl ObjectBackend for RuntimeState { | |
21 | async fn object_operation<O, D>( | |
22 | &self, | |
23 | object: O, | |
24 | operation: &str, | |
25 | payload: D, | |
26 | operation_state: &OperationState, | |
27 | ) -> Result<D::Success, OperationError<D::Failure>> | |
28 | where | |
29 | O: GiteratedObject + Debug + 'static, | |
30 | D: GiteratedOperation<O> + Debug + 'static, | |
31 | D::Success: Clone, | |
32 | D::Failure: Clone, | |
33 | { | |
34 | todo!() | |
35 | } | |
36 | ||
37 | async fn get_object<O: GiteratedObject + Debug + 'static>( | |
38 | &self, | |
39 | object_str: &str, | |
40 | operation_state: &OperationState, | |
41 | ) -> Result<Object<O, Self>, OperationError<ObjectRequestError>> { | |
42 | todo!() | |
43 | } | |
44 | } | |
45 | ||
12 | 46 | // impl RuntimeState { |
13 | 47 | // pub unsafe fn from_static() -> Self { |
14 | 48 | // let runtime = giterated_static_runtime::get_runtime_reference(); |
giterated-core/src/operation.rs
@@ -0,0 +1,5 @@ | ||
1 | use giterated_abi::value_ex::FfiValueUntyped; | |
2 | ||
3 | pub struct Success(FfiValueUntyped); | |
4 | ||
5 | pub struct Failure(FfiValueUntyped); |
giterated-plugin/Cargo.toml
@@ -10,6 +10,7 @@ giterated-models = { path = "../giterated-core/giterated-models" } | ||
10 | 10 | giterated-static-runtime = { path = "../giterated-runtime/giterated-static-runtime" } |
11 | 11 | giterated-abi = { path = "../giterated-runtime/giterated-abi" } |
12 | 12 | giterated-macros = { path = "giterated-macros" } |
13 | giterated-core = { path = "../giterated-core" } | |
13 | 14 | |
14 | 15 | dlopen2 = "0.6" |
15 | 16 | anyhow = "1" |
giterated-plugin/src/lib.rs
@@ -2,7 +2,15 @@ | ||
2 | 2 | |
3 | 3 | pub mod future; |
4 | 4 | pub mod local; |
5 | ||
6 | #[doc(hidden)] | |
5 | 7 | pub use giterated_abi as abi; |
8 | pub use giterated_abi::vtable::{operation::Operation, Object, Setting, Value}; | |
9 | ||
10 | pub use giterated_abi::state::StateExtractor; | |
11 | pub use giterated_abi::state::{FromState, StateUUID}; | |
12 | pub use giterated_core::operation::{Failure, Success}; | |
13 | pub use giterated_core::RuntimeState; | |
6 | 14 | |
7 | 15 | #[macro_use] |
8 | 16 | extern crate tracing; |
giterated-plugin/src/local.rs
@@ -6,7 +6,7 @@ use giterated_abi::{ | ||
6 | 6 | Callback, CallbackPtr, |
7 | 7 | }, |
8 | 8 | result::FfiError, |
9 | state::{State, StateUUID}, | |
9 | state::{FromState, State, StateUUID}, | |
10 | 10 | value_ex::FfiValueUntyped, |
11 | 11 | vtable::{ |
12 | 12 | operation::{IntoOperationVTable, OperationVTable}, |
@@ -82,12 +82,12 @@ impl PluginStackBuilder { | ||
82 | 82 | self |
83 | 83 | } |
84 | 84 | |
85 | pub fn object_setting<O, OS, HG, HS>(&mut self, _get: HG, _set: HS) -> &mut Self | |
85 | pub fn object_setting<O, OS, HG, HS, A1, A2>(&mut self, _get: HG, _set: HS) -> &mut Self | |
86 | 86 | where |
87 | 87 | O: GiteratedObject, |
88 | 88 | OS: IntoSettingVTable + Setting, |
89 | HG: IntoPluginSettingGetter<O, OS>, | |
90 | HS: IntoPluginSettingSetter<O, OS>, | |
89 | HG: IntoPluginSettingGetter<O, OS, A1>, | |
90 | HS: IntoPluginSettingSetter<O, OS, A2>, | |
91 | 91 | { |
92 | 92 | let _guard = trace_span!("register setting").entered(); |
93 | 93 | |
@@ -126,11 +126,11 @@ impl PluginStackBuilder { | ||
126 | 126 | self |
127 | 127 | } |
128 | 128 | |
129 | pub fn value<O, V, T>(&mut self, handler: T) -> &mut Self | |
129 | pub fn value<O, V, T, A>(&mut self, handler: T) -> &mut Self | |
130 | 130 | where |
131 | 131 | O: GiteratedObject, |
132 | 132 | V: IntoValueVTable + GiteratedObjectValue<Object = O>, |
133 | T: IntoPluginValueGetter<O, V>, | |
133 | T: IntoPluginValueGetter<O, V, A>, | |
134 | 134 | { |
135 | 135 | let _guard = trace_span!("register value").entered(); |
136 | 136 | |
@@ -209,11 +209,11 @@ impl PluginStackBuilder { | ||
209 | 209 | // self |
210 | 210 | // } |
211 | 211 | |
212 | pub fn setting_getter<O, OS, T>(&mut self, handler: T) -> &mut Self | |
212 | pub fn setting_getter<O, OS, T, A>(&mut self, handler: T) -> &mut Self | |
213 | 213 | where |
214 | 214 | O: GiteratedObject + IntoObjectVTable, |
215 | 215 | OS: Setting + IntoSettingVTable, |
216 | T: IntoPluginSettingGetter<O, OS>, | |
216 | T: IntoPluginSettingGetter<O, OS, A>, | |
217 | 217 | { |
218 | 218 | let _guard = trace_span!("register setting_getter handler").entered(); |
219 | 219 | |
@@ -244,21 +244,21 @@ impl PluginStackBuilder { | ||
244 | 244 | } |
245 | 245 | |
246 | 246 | pub trait ValueSettingExt { |
247 | fn value_setting<O, VS, HG, HS>(&mut self, get: HG, set: HS) -> &mut Self | |
247 | fn value_setting<O, VS, HG, HS, A>(&mut self, get: HG, set: HS) -> &mut Self | |
248 | 248 | where |
249 | 249 | O: GiteratedObject + IntoObjectVTable + 'static, |
250 | 250 | VS: GiteratedObjectValue<Object = O> + IntoValueVTable + Setting + IntoSettingVTable, |
251 | HG: IntoPluginSettingGetter<O, VS>, | |
252 | HS: IntoPluginSettingSetter<O, VS>; | |
251 | HG: IntoPluginSettingGetter<O, VS, A>, | |
252 | HS: IntoPluginSettingSetter<O, VS, A>; | |
253 | 253 | } |
254 | 254 | |
255 | 255 | impl ValueSettingExt for PluginStackBuilder { |
256 | fn value_setting<O, VS, HG, HS>(&mut self, _get: HG, _set: HS) -> &mut Self | |
256 | fn value_setting<O, VS, HG, HS, A>(&mut self, _get: HG, _set: HS) -> &mut Self | |
257 | 257 | where |
258 | 258 | O: GiteratedObject + IntoObjectVTable + 'static, |
259 | 259 | VS: GiteratedObjectValue<Object = O> + IntoValueVTable + Setting + IntoSettingVTable, |
260 | HG: IntoPluginSettingGetter<O, VS>, | |
261 | HS: IntoPluginSettingSetter<O, VS>, | |
260 | HG: IntoPluginSettingGetter<O, VS, A>, | |
261 | HS: IntoPluginSettingSetter<O, VS, A>, | |
262 | 262 | { |
263 | 263 | self |
264 | 264 | } |
@@ -275,7 +275,7 @@ impl Callback for ValueSettingGetterCallback { | ||
275 | 275 | ) -> Result<FfiValueUntyped, FfiError>; |
276 | 276 | } |
277 | 277 | |
278 | pub trait ValueSettingGetter<O, V> { | |
278 | pub trait ValueSettingGetter<O, V, A> { | |
279 | 279 | unsafe extern "C" fn get_value( |
280 | 280 | callback: CallbackPtr<ValueSettingGetterCallback>, |
281 | 281 | state: FfiValueMut<State>, |
@@ -285,11 +285,11 @@ pub trait ValueSettingGetter<O, V> { | ||
285 | 285 | fn callback_ptr(&self) -> CallbackPtr<ValueSettingGetterCallback>; |
286 | 286 | } |
287 | 287 | |
288 | impl<O, VS, HG> ValueSettingGetter<O, VS> for HG | |
288 | impl<O, VS, HG, A> ValueSettingGetter<O, VS, A> for HG | |
289 | 289 | where |
290 | 290 | O: GiteratedObject, |
291 | 291 | VS: GiteratedObjectValue<Object = O>, |
292 | HG: IntoPluginSettingGetter<O, VS>, | |
292 | HG: IntoPluginSettingGetter<O, VS, A>, | |
293 | 293 | { |
294 | 294 | unsafe extern "C" fn get_value( |
295 | 295 | _callback: CallbackPtr<ValueSettingGetterCallback>, |
giterated-runtime/Cargo.toml
@@ -11,4 +11,5 @@ giterated-models = { path = "../giterated-core/giterated-models" } | ||
11 | 11 | giterated-core = { path = "../giterated-core" } |
12 | 12 | |
13 | 13 | tracing = "0.1" |
14 | dlopen2 = "0.6" | |
14 | \ No newline at end of file | |
14 | dlopen2 = "0.6" | |
15 | anyhow = "1" | |
15 | \ No newline at end of file |
giterated-runtime/giterated-abi/src/callback/operation.rs
@@ -6,7 +6,7 @@ use giterated_models::{ | ||
6 | 6 | |
7 | 7 | use crate::{ |
8 | 8 | result::FfiResult, |
9 | state::State, | |
9 | state::{FromState, State}, | |
10 | 10 | value_ex::FfiValueUntyped, |
11 | 11 | vtable::{operation::Operation, Object}, |
12 | 12 | FfiFuture, FfiValueMut, FfiValueRef, |
@@ -103,6 +103,7 @@ where | ||
103 | 103 | F: Fn(O, D, A1) -> Fut, |
104 | 104 | O: Debug + GiteratedObject, |
105 | 105 | D: Debug + GiteratedOperation<O>, |
106 | A1: FromState, | |
106 | 107 | { |
107 | 108 | unsafe extern "C" fn handle( |
108 | 109 | _callback_ptr: CallbackPtr<OperationHandlerCallback>, |
@@ -124,6 +125,8 @@ where | ||
124 | 125 | F: Fn(O, D, A1, A2) -> Fut, |
125 | 126 | O: Debug + GiteratedObject, |
126 | 127 | D: Debug + GiteratedOperation<O>, |
128 | A1: FromState, | |
129 | A2: FromState, | |
127 | 130 | { |
128 | 131 | unsafe extern "C" fn handle( |
129 | 132 | _callback_ptr: CallbackPtr<OperationHandlerCallback>, |
giterated-runtime/giterated-abi/src/callback/setting.rs
@@ -3,7 +3,7 @@ use std::future::Future; | ||
3 | 3 | use giterated_models::{error::OperationError, object::GiteratedObject}; |
4 | 4 | |
5 | 5 | use crate::{ |
6 | state::State, | |
6 | state::{FromState, State}, | |
7 | 7 | value_ex::FfiValueUntyped, |
8 | 8 | vtable::{Object, Setting}, |
9 | 9 | FfiFuture, FfiValueMut, FfiValueRef, |
@@ -21,7 +21,7 @@ impl Callback for SettingGetterCallback { | ||
21 | 21 | ) -> FfiFuture<Result<Setting, ()>>; |
22 | 22 | } |
23 | 23 | |
24 | pub trait IntoPluginSettingGetter<O, OS> { | |
24 | pub trait IntoPluginSettingGetter<O, OS, A> { | |
25 | 25 | unsafe extern "C" fn get_setting( |
26 | 26 | callback_ptr: CallbackPtr<SettingGetterCallback>, |
27 | 27 | state: FfiValueMut<State>, |
@@ -34,7 +34,7 @@ pub trait IntoPluginSettingGetter<O, OS> { | ||
34 | 34 | } |
35 | 35 | } |
36 | 36 | |
37 | impl<F, O, OS, Fut> IntoPluginSettingGetter<O, OS> for F | |
37 | impl<F, O, OS, Fut> IntoPluginSettingGetter<O, OS, ()> for F | |
38 | 38 | where |
39 | 39 | Fut: Future<Output = Result<OS, OperationError<anyhow::Error>>> + Send + Sync + 'static, |
40 | 40 | O: GiteratedObject + Send + Sync + 'static, |
@@ -78,7 +78,24 @@ where | ||
78 | 78 | } |
79 | 79 | } |
80 | 80 | |
81 | pub trait IntoPluginSettingSetter<O, OS> { | |
81 | impl<F, O, OS, Fut, A1> IntoPluginSettingGetter<O, OS, (A1,)> for F | |
82 | where | |
83 | Fut: Future<Output = Result<OS, OperationError<anyhow::Error>>> + Send + Sync + 'static, | |
84 | O: GiteratedObject + Send + Sync + 'static, | |
85 | OS: giterated_models::settings::Setting + Send + Sync + 'static, | |
86 | F: Fn(O, A1) -> Fut + Send + Sync + 'static, | |
87 | A1: FromState, | |
88 | { | |
89 | unsafe extern "C" fn get_setting( | |
90 | callback: CallbackPtr<SettingGetterCallback>, | |
91 | state: FfiValueMut<State>, | |
92 | mut object: FfiValueRef<Object>, | |
93 | ) -> FfiFuture<Result<Setting, ()>> { | |
94 | todo!() | |
95 | } | |
96 | } | |
97 | ||
98 | pub trait IntoPluginSettingSetter<O, OS, A> { | |
82 | 99 | unsafe extern "C" fn set_setting( |
83 | 100 | callback_ptr: CallbackPtr<SettingGetterCallback>, |
84 | 101 | state: FfiValueMut<State>, |
@@ -92,7 +109,7 @@ pub trait IntoPluginSettingSetter<O, OS> { | ||
92 | 109 | } |
93 | 110 | } |
94 | 111 | |
95 | impl<F, O, OS, Fut> IntoPluginSettingSetter<O, OS> for F | |
112 | impl<F, O, OS, Fut> IntoPluginSettingSetter<O, OS, ()> for F | |
96 | 113 | where |
97 | 114 | Fut: Future<Output = Result<(), OperationError<anyhow::Error>>>, |
98 | 115 | O: GiteratedObject, |
@@ -129,6 +146,24 @@ where | ||
129 | 146 | } |
130 | 147 | } |
131 | 148 | |
149 | impl<F, O, OS, Fut, A1> IntoPluginSettingSetter<O, OS, (A1,)> for F | |
150 | where | |
151 | Fut: Future<Output = Result<(), OperationError<anyhow::Error>>> + Send + Sync + 'static, | |
152 | O: GiteratedObject + Send + Sync + 'static, | |
153 | OS: giterated_models::settings::Setting + Send + Sync + 'static, | |
154 | F: Fn(O, OS, A1) -> Fut + Send + Sync + 'static, | |
155 | A1: FromState, | |
156 | { | |
157 | unsafe extern "C" fn set_setting( | |
158 | callback: CallbackPtr<SettingGetterCallback>, | |
159 | state: FfiValueMut<State>, | |
160 | mut object: FfiValueRef<Object>, | |
161 | _setting: Setting, | |
162 | ) -> FfiFuture<Result<(), ()>> { | |
163 | todo!() | |
164 | } | |
165 | } | |
166 | ||
132 | 167 | pub struct SettingChangeCallback(FfiValueUntyped); |
133 | 168 | |
134 | 169 | impl Callback for SettingChangeCallback { |
giterated-runtime/giterated-abi/src/callback/value.rs
@@ -6,7 +6,7 @@ use giterated_models::{ | ||
6 | 6 | |
7 | 7 | use crate::{ |
8 | 8 | result::{FfiError, FfiResult}, |
9 | state::State, | |
9 | state::{FromState, State}, | |
10 | 10 | vtable::{Object, Value}, |
11 | 11 | FfiFuture, FfiSliceRef, FfiValueMut, FfiValueRef, |
12 | 12 | }; |
@@ -24,7 +24,7 @@ impl Callback for ValueGetterCallback { | ||
24 | 24 | ) -> FfiFuture<FfiResult<Value, FfiError>>; |
25 | 25 | } |
26 | 26 | |
27 | pub trait IntoPluginValueGetter<O, V> { | |
27 | pub trait IntoPluginValueGetter<O, V, A> { | |
28 | 28 | unsafe extern "C" fn get_value( |
29 | 29 | callback: CallbackPtr<SettingGetterCallback>, |
30 | 30 | state: FfiValueMut<State>, |
@@ -34,7 +34,7 @@ pub trait IntoPluginValueGetter<O, V> { | ||
34 | 34 | fn callback_ptr(&self) -> CallbackPtr<SettingGetterCallback>; |
35 | 35 | } |
36 | 36 | |
37 | impl<F, O, V, Fut> IntoPluginValueGetter<O, V> for F | |
37 | impl<F, O, V, Fut> IntoPluginValueGetter<O, V, ()> for F | |
38 | 38 | where |
39 | 39 | Fut: Future<Output = Result<V, OperationError<anyhow::Error>>> + Send + Sync, |
40 | 40 | O: GiteratedObject + 'static, |
@@ -83,6 +83,56 @@ where | ||
83 | 83 | } |
84 | 84 | } |
85 | 85 | |
86 | impl<F, O, V, Fut, A1> IntoPluginValueGetter<O, V, (A1,)> for F | |
87 | where | |
88 | Fut: Future<Output = Result<V, OperationError<anyhow::Error>>> + Send + Sync, | |
89 | O: GiteratedObject + 'static, | |
90 | V: GiteratedObjectValue<Object = O> + Send + Sync + 'static, | |
91 | F: Fn(O, A1) -> Fut + Send + Sync + 'static, | |
92 | A1: FromState, | |
93 | { | |
94 | unsafe extern "C" fn get_value( | |
95 | callback: CallbackPtr<SettingGetterCallback>, | |
96 | state: FfiValueMut<State>, | |
97 | mut object: FfiValueRef<Object>, | |
98 | ) -> FfiFuture<FfiResult<Value, FfiError>> { | |
99 | // let _guard = trace_span!( | |
100 | // "get_value handler", | |
101 | // object = O::object_name(), | |
102 | // value = V::value_name() | |
103 | // ) | |
104 | // .entered(); | |
105 | // let state = unsafe { state.transmute_ref::<S>() }; | |
106 | ||
107 | // let object = unsafe { object.transmute_owned::<O>() }; | |
108 | ||
109 | // // Cast the callback ptr to ourselves | |
110 | // let callback: *const F = std::mem::transmute(callback.0); | |
111 | // let callback = callback.as_ref().unwrap(); | |
112 | ||
113 | // let state = state.clone(); | |
114 | // runtime_state.spawn_future(async move { | |
115 | // let result = callback(state, *object).await; | |
116 | ||
117 | // match result { | |
118 | // Ok(success) => unsafe { Ok(NewAnyValue::new(success)) }, | |
119 | // Err(err) => match err { | |
120 | // OperationError::Operation(_) => todo!(), | |
121 | // OperationError::Internal(_) => todo!(), | |
122 | // OperationError::Unhandled => todo!(), | |
123 | // }, | |
124 | // } | |
125 | // }) | |
126 | ||
127 | todo!() | |
128 | } | |
129 | ||
130 | fn callback_ptr(&self) -> CallbackPtr<SettingGetterCallback> { | |
131 | todo!() | |
132 | // unsafe { CallbackPtr::from_raw(self as *const _ as *const ()) } | |
133 | } | |
134 | } | |
135 | ||
86 | 136 | pub struct ValueChangeCallback(CallbackPtr<ValueChangeCallback>); |
87 | 137 | |
88 | 138 | impl Callback for ValueChangeCallback { |
giterated-runtime/giterated-abi/src/state.rs
@@ -8,9 +8,9 @@ pub trait FromOperationState<O, D>: Sized { | ||
8 | 8 | ) -> Result<Self, OperationError<Error>>; |
9 | 9 | } |
10 | 10 | |
11 | pub struct StateExtractor<T>(T); | |
11 | pub struct StateExtractor<T>(pub T); | |
12 | 12 | |
13 | impl<T: FromState> FromState for StateExtractor<T> { | |
13 | impl<T: StateUUID> FromState for StateExtractor<T> { | |
14 | 14 | fn from_state(state: &mut State) -> Result<Self, Error> { |
15 | 15 | todo!() |
16 | 16 | } |
@@ -20,7 +20,10 @@ use giterated_models::error::OperationError; | ||
20 | 20 | |
21 | 21 | use crate::{ |
22 | 22 | value_ex::FfiValueUntyped, |
23 | vtable::{ObjectABI, VTable}, | |
23 | vtable::{ | |
24 | runtime::{RuntimeHandle, RuntimeVTable}, | |
25 | ObjectABI, VTable, | |
26 | }, | |
24 | 27 | }; |
25 | 28 | |
26 | 29 | #[repr(transparent)] |
@@ -97,7 +100,7 @@ impl StateUUID for DomainState { | ||
97 | 100 | } |
98 | 101 | } |
99 | 102 | |
100 | pub struct RuntimeState(StateItem<&'static VTable<Runtime>>); | |
103 | pub struct RuntimeState(StateItem<&'static VTable<RuntimeHandle>>); | |
101 | 104 | |
102 | 105 | impl StateUUID for RuntimeState { |
103 | 106 | fn uuid() -> u128 { |
@@ -111,13 +114,9 @@ impl RuntimeState { | ||
111 | 114 | } |
112 | 115 | } |
113 | 116 | |
114 | pub struct Runtime { | |
115 | pub queue_insert_state: unsafe extern "C" fn(state_uuid: u128, state: FfiValueUntyped), | |
116 | } | |
117 | ||
118 | impl ObjectABI for Runtime { | |
119 | type VTable = Runtime; | |
120 | } | |
117 | // pub struct Runtime { | |
118 | // pub queue_insert_state: unsafe extern "C" fn(state_uuid: u128, state: FfiValueUntyped), | |
119 | // } | |
121 | 120 | |
122 | 121 | pub trait FromState: Sized { |
123 | 122 | fn from_state(state: &mut State) -> Result<Self, Error>; |
giterated-runtime/giterated-static-runtime/Cargo.toml
@@ -5,4 +5,4 @@ edition = "2021" | ||
5 | 5 | |
6 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
7 | 7 | |
8 | [dependencies] | |
8 | [dependencies] | |
8 | \ No newline at end of file |
giterated-runtime/src/lib.rs
@@ -1,8 +1,13 @@ | ||
1 | 1 | mod operation_walker; |
2 | 2 | pub mod plugin; |
3 | 3 | |
4 | use std::{collections::HashMap, sync::Arc}; | |
4 | use std::{ | |
5 | collections::HashMap, | |
6 | path::{Path, PathBuf}, | |
7 | sync::Arc, | |
8 | }; | |
5 | 9 | |
10 | use anyhow::Error; | |
6 | 11 | use dlopen2::wrapper::Container; |
7 | 12 | use giterated_abi::{ |
8 | 13 | callback::{ |
@@ -21,6 +26,7 @@ use giterated_core::types::TypeMetadata; | ||
21 | 26 | use giterated_models::{ |
22 | 27 | error::OperationError, |
23 | 28 | object::{GiteratedObject, ObjectOperationPair}, |
29 | object_backend::ObjectBackend, | |
24 | 30 | operation::GiteratedOperation, |
25 | 31 | settings::ObjectSettingPair, |
26 | 32 | value::ObjectValuePair, |
@@ -29,6 +35,8 @@ use operation_walker::OperationHandlerRules; | ||
29 | 35 | use plugin::initialization::PluginInitializationState; |
30 | 36 | use tracing::{debug, debug_span, trace, trace_span, warn}; |
31 | 37 | |
38 | pub use giterated_core::RuntimeState; | |
39 | ||
32 | 40 | pub struct Runtime { |
33 | 41 | plugins: Vec<RuntimePlugin>, |
34 | 42 | handlers: RuntimeHandlers, |
@@ -66,6 +74,23 @@ impl Runtime { | ||
66 | 74 | RuntimeHandle |
67 | 75 | } |
68 | 76 | |
77 | pub fn load_dylib(&mut self, path: impl AsRef<str>) -> Result<(), Error> { | |
78 | let path = path.as_ref(); | |
79 | ||
80 | let _guard = debug_span!("loading dylib", path = debug(path)).entered(); | |
81 | ||
82 | let library: Container<GiteratedPluginAbi> = unsafe { Container::load(path) }?; | |
83 | ||
84 | let vtable = unsafe { library.__get_plugin_vtable() }; | |
85 | ||
86 | self.plugins.push(RuntimePlugin { | |
87 | vtable, | |
88 | library: Arc::new(library), | |
89 | }); | |
90 | ||
91 | Ok(()) | |
92 | } | |
93 | ||
69 | 94 | pub fn insert_plugin( |
70 | 95 | &mut self, |
71 | 96 | mut plugin: RuntimePlugin, |
@@ -380,3 +405,13 @@ impl RuntimeHandlers { | ||
380 | 405 | OperationHandlerRules::new(object_kind, operation_name, self) |
381 | 406 | } |
382 | 407 | } |
408 | ||
409 | pub trait StaticRuntimeExt { | |
410 | fn from_static() -> Self; | |
411 | } | |
412 | ||
413 | impl StaticRuntimeExt for RuntimeHandle { | |
414 | fn from_static() -> Self { | |
415 | todo!() | |
416 | } | |
417 | } |
plugins/example-plugin/Cargo.toml
@@ -14,6 +14,7 @@ crate-type = ["dylib"] | ||
14 | 14 | giterated-plugin = { path = "../../giterated-plugin" } |
15 | 15 | giterated-static-runtime = { path = "../../giterated-runtime/giterated-static-runtime" } |
16 | 16 | giterated-models = { path = "../../giterated-core/giterated-models" } |
17 | giterated-runtime = { path = "../../giterated-runtime" } | |
17 | 18 | |
18 | 19 | dlopen2 = "0.6" |
19 | 20 | tracing-subscriber = "0.3" |
plugins/example-plugin/src/main.rs
@@ -5,7 +5,9 @@ use giterated_models::{ | ||
5 | 5 | operation::OperationState, |
6 | 6 | user::{DisplayName, User}, |
7 | 7 | }; |
8 | use giterated_plugin::abi::state::{Runtime, RuntimeState}; | |
8 | use giterated_plugin::abi::state::RuntimeState; | |
9 | use giterated_plugin::abi::vtable::runtime::RuntimeHandle; | |
10 | use giterated_runtime::{Runtime, StaticRuntimeExt}; | |
9 | 11 | use tracing::{info, Level}; |
10 | 12 | |
11 | 13 | #[tokio::main] |
@@ -16,23 +18,13 @@ async fn main() -> Result<(), anyhow::Error> { | ||
16 | 18 | .with_max_level(Level::TRACE) |
17 | 19 | .init(); |
18 | 20 | |
19 | let handle = PluginHandle::from_dylib("example_plugin_dylib.dll").unwrap(); | |
20 | ||
21 | info!("1"); | |
22 | ||
23 | 21 | let mut runtime = Runtime::new(); |
24 | 22 | |
25 | info!("2"); | |
26 | ||
27 | // runtime.insert_plugin(handle); | |
28 | ||
29 | info!("3"); | |
23 | runtime.load_dylib("example_plugin_dylib.dll")?; | |
30 | 24 | |
31 | 25 | runtime.init(); |
32 | 26 | |
33 | info!("4"); | |
34 | ||
35 | let runtime = unsafe { RuntimeState::from_static() }; | |
27 | let runtime = unsafe { RuntimeHandle::from_static() }; | |
36 | 28 | |
37 | 29 | let _object_request = ObjectRequest(String::from("foobar")); |
38 | 30 |
plugins/giterated-backend/src/handlers.rs
@@ -4,7 +4,7 @@ use giterated_models::{ | ||
4 | 4 | repository::{Repository, RepositoryInfoRequest, RepositorySummary, RepositoryView}, |
5 | 5 | user::{User, UserRepositoriesRequest}, |
6 | 6 | }; |
7 | use giterated_plugin::new_stack::{handle::RuntimeHandle, State}; | |
7 | use giterated_plugin::{RuntimeState, StateExtractor}; | |
8 | 8 | |
9 | 9 | use crate::DatabaseBackend; |
10 | 10 | |
@@ -20,8 +20,8 @@ pub async fn repository_info( | ||
20 | 20 | _state: DatabaseBackend, |
21 | 21 | _object: Repository, |
22 | 22 | _request: RepositoryInfoRequest, |
23 | _runtime: RuntimeHandle, | |
24 | State(_operation_state): State<OperationState>, | |
23 | _runtime: RuntimeState, | |
24 | StateExtractor(_operation_state): StateExtractor<OperationState>, | |
25 | 25 | ) -> Result<RepositoryView, OperationError<RepositoryError>> { |
26 | 26 | todo!() |
27 | 27 | } |
plugins/giterated-issues/Cargo.toml
@@ -13,6 +13,8 @@ crate-type = ["rlib", "dylib"] | ||
13 | 13 | [dependencies] |
14 | 14 | giterated-plugin = { path = "../../giterated-plugin" } |
15 | 15 | giterated-models = { path = "../../giterated-core/giterated-models" } |
16 | giterated-runtime = { path = "../../giterated-runtime" } | |
17 | giterated-static-runtime = { path = "../../giterated-runtime/giterated-static-runtime" } | |
16 | 18 | |
17 | 19 | serde = { version = "1.0", features = [ "derive" ]} |
18 | 20 | anyhow = "1" |
plugins/giterated-issues/src/handlers.rs
@@ -10,11 +10,12 @@ use crate::{ | ||
10 | 10 | }; |
11 | 11 | |
12 | 12 | use giterated_models::{error::OperationError, repository::Repository}; |
13 | use giterated_plugin::StateExtractor; | |
13 | 14 | |
14 | 15 | pub async fn create_issue_request( |
15 | _state: IssuesPluginState, | |
16 | 16 | repository: Repository, |
17 | 17 | _request: CreateIssueRequest, |
18 | _state: StateExtractor<IssuesPluginState>, | |
18 | 19 | ) -> Result<Issue, OperationError<IssueCreationError>> { |
19 | 20 | // // TODO: AUTHN & AUTHZ |
20 | 21 | // let issue = sqlx::query_as!( |
@@ -39,79 +40,79 @@ pub async fn create_issue_request( | ||
39 | 40 | } |
40 | 41 | |
41 | 42 | pub async fn query_issues_request( |
42 | _state: IssuesPluginState, | |
43 | 43 | _repository: Repository, |
44 | 44 | _request: QueryIssuesRequest, |
45 | _state: StateExtractor<IssuesPluginState>, | |
45 | 46 | ) -> Result<Vec<Issue>, OperationError<IssueQueryError>> { |
46 | 47 | // TODO: AUTHN & AUTHZ |
47 | 48 | todo!() |
48 | 49 | } |
49 | 50 | |
50 | 51 | pub async fn edit_issue_request( |
51 | _state: IssuesPluginState, | |
52 | 52 | _issue: Issue, |
53 | 53 | _request: IssueEditRequest, |
54 | _state: StateExtractor<IssuesPluginState>, | |
54 | 55 | ) -> Result<(), OperationError<IssueEditError>> { |
55 | 56 | // TODO: AUTHN & AUTHZ |
56 | 57 | todo!() |
57 | 58 | } |
58 | 59 | |
59 | 60 | pub async fn issue_post_comment_request( |
60 | _state: IssuesPluginState, | |
61 | 61 | _issue: Issue, |
62 | 62 | _request: IssuePostCommentRequest, |
63 | _state: StateExtractor<IssuesPluginState>, | |
63 | 64 | ) -> Result<u32, OperationError<IssuePostCommentError>> { |
64 | 65 | // TODO: AUTHN & AUTHZ |
65 | 66 | todo!() |
66 | 67 | } |
67 | 68 | |
68 | 69 | pub async fn issue_value_author( |
69 | _state: IssuesPluginState, | |
70 | 70 | _issue: Issue, |
71 | _state: StateExtractor<IssuesPluginState>, | |
71 | 72 | ) -> Result<Author, OperationError<anyhow::Error>> { |
72 | 73 | todo!() |
73 | 74 | } |
74 | 75 | |
75 | 76 | pub async fn issue_value_creation_date( |
76 | _state: IssuesPluginState, | |
77 | 77 | _issue: Issue, |
78 | _state: StateExtractor<IssuesPluginState>, | |
78 | 79 | ) -> Result<CreationDate, OperationError<anyhow::Error>> { |
79 | 80 | todo!() |
80 | 81 | } |
81 | 82 | |
82 | 83 | pub async fn issue_value_comment_count( |
83 | _state: IssuesPluginState, | |
84 | 84 | _issue: Issue, |
85 | _state: StateExtractor<IssuesPluginState>, | |
85 | 86 | ) -> Result<CommentCount, OperationError<anyhow::Error>> { |
86 | 87 | todo!() |
87 | 88 | } |
88 | 89 | |
89 | 90 | pub async fn issue_set_setting_name( |
90 | _state: IssuesPluginState, | |
91 | 91 | _issue: Issue, |
92 | 92 | _name: Name, |
93 | _state: StateExtractor<IssuesPluginState>, | |
93 | 94 | ) -> Result<(), OperationError<anyhow::Error>> { |
94 | 95 | todo!() |
95 | 96 | } |
96 | 97 | |
97 | 98 | pub async fn issue_get_setting_name( |
98 | _state: IssuesPluginState, | |
99 | 99 | _issue: Issue, |
100 | _state: StateExtractor<IssuesPluginState>, | |
100 | 101 | ) -> Result<Name, OperationError<anyhow::Error>> { |
101 | 102 | todo!() |
102 | 103 | } |
103 | 104 | |
104 | 105 | pub async fn issue_set_setting_contents( |
105 | _state: IssuesPluginState, | |
106 | 106 | _issue: Issue, |
107 | 107 | _contents: Contents, |
108 | _state: StateExtractor<IssuesPluginState>, | |
108 | 109 | ) -> Result<(), OperationError<anyhow::Error>> { |
109 | 110 | todo!() |
110 | 111 | } |
111 | 112 | |
112 | 113 | pub async fn issue_get_setting_contents( |
113 | _state: IssuesPluginState, | |
114 | 114 | _issue: Issue, |
115 | _state: StateExtractor<IssuesPluginState>, | |
115 | 116 | ) -> Result<Contents, OperationError<anyhow::Error>> { |
116 | 117 | todo!() |
117 | 118 | } |
plugins/giterated-issues/src/lib.rs
@@ -2,12 +2,7 @@ use std::{fmt::Display, str::FromStr, sync::OnceLock}; | ||
2 | 2 | |
3 | 3 | use anyhow::Error; |
4 | 4 | use giterated_models::{object::GiteratedObject, repository::Repository}; |
5 | use giterated_plugin::{ | |
6 | handle::PluginInitializationState, | |
7 | new_stack::{FFIPluginMeta, PluginState}, | |
8 | vtable::{HostVTable, InitializationVTable}, | |
9 | }; | |
10 | use giterated_plugin_sys::PluginStackBuilder; | |
5 | use giterated_plugin::{local::PluginStackBuilder, plugin, StateUUID}; | |
11 | 6 | use handlers::{ |
12 | 7 | create_issue_request, edit_issue_request, issue_get_setting_contents, issue_get_setting_name, |
13 | 8 | issue_post_comment_request, issue_set_setting_contents, issue_set_setting_name, |
@@ -26,6 +21,10 @@ pub mod operations; | ||
26 | 21 | pub mod setting; |
27 | 22 | pub mod value; |
28 | 23 | |
24 | plugin!( | |
25 | name: "plugin name" | |
26 | ); | |
27 | ||
29 | 28 | /// An issue, defined by the repository which owns it and its index. |
30 | 29 | /// |
31 | 30 | /// # Textual Format |
@@ -75,55 +74,20 @@ impl FromStr for Issue { | ||
75 | 74 | #[error("error parsing issue")] |
76 | 75 | pub struct IssueParseError; |
77 | 76 | |
78 | static INIT_VTABLE: OnceLock<InitializationVTable> = OnceLock::new(); | |
79 | static ASYNC_RUNTIME: OnceLock<Runtime> = OnceLock::new(); | |
80 | ||
81 | #[no_mangle] | |
82 | pub extern "C" fn plugin_meta() -> FFIPluginMeta { | |
83 | const PLUGIN_NAME: &str = "Giterated [Issues]"; | |
84 | const PLUGIN_VERSION: &str = "0.1.0"; | |
85 | ||
86 | FFIPluginMeta { | |
87 | name: PLUGIN_NAME.as_ptr(), | |
88 | name_len: PLUGIN_NAME.len(), | |
89 | version: PLUGIN_VERSION.as_ptr(), | |
90 | version_len: PLUGIN_VERSION.len(), | |
91 | } | |
92 | } | |
93 | ||
94 | #[no_mangle] | |
95 | pub extern "C" fn load_host_vtable(_vtable: &HostVTable) { | |
96 | println!("Loading vtable"); | |
97 | } | |
98 | ||
99 | #[no_mangle] | |
100 | pub extern "C" fn load_initialization_vtable(init_vtable: &InitializationVTable) { | |
101 | INIT_VTABLE.set(*init_vtable).unwrap(); | |
102 | println!("Loaded initialization vtable"); | |
77 | #[derive(Clone, Debug)] | |
78 | pub struct IssuesPluginState { | |
79 | pub pool: PgPool, | |
103 | 80 | } |
104 | 81 | |
105 | #[no_mangle] | |
106 | pub extern "C" fn initialize() -> PluginState { | |
107 | // tracing_subscriber::fmt() | |
108 | // .pretty() | |
109 | // .with_thread_names(true) | |
110 | // .with_max_level(Level::TRACE) | |
111 | // .init(); | |
112 | ||
113 | PluginState { | |
114 | inner: Box::into_raw(Box::new(())), | |
82 | impl StateUUID for IssuesPluginState { | |
83 | fn uuid() -> u128 { | |
84 | todo!() | |
115 | 85 | } |
116 | 86 | } |
117 | 87 | |
118 | #[no_mangle] | |
119 | pub extern "C" fn initialize_registration( | |
120 | state: *mut PluginInitializationState, | |
121 | ) -> *mut PluginInitializationState { | |
88 | #[plugin::init] | |
89 | pub fn init(builder: &mut PluginStackBuilder) -> Result<(), Error> { | |
122 | 90 | let runtime = Runtime::new().unwrap(); |
123 | ||
124 | // let _guard: tracing::span::EnteredSpan = trace_span!("initialize_registration").entered(); | |
125 | let init_vtable = INIT_VTABLE.get().unwrap(); | |
126 | ||
127 | 91 | let db_pool = runtime.block_on(async { |
128 | 92 | let config: Table = { |
129 | 93 | let mut file = File::open("Giterated.toml").await.unwrap(); |
@@ -146,12 +110,12 @@ pub extern "C" fn initialize_registration( | ||
146 | 110 | db_pool |
147 | 111 | }); |
148 | 112 | |
149 | ASYNC_RUNTIME.set(runtime).unwrap(); | |
113 | // ASYNC_RUNTIME.set(runtime).unwrap(); | |
150 | 114 | |
151 | 115 | let plugin_state = IssuesPluginState { pool: db_pool }; |
152 | 116 | |
153 | let mut builder: PluginStackBuilder<'_, IssuesPluginState> = | |
154 | PluginStackBuilder::new(plugin_state, state, init_vtable); | |
117 | // let mut builder: PluginStackBuilder<'_, IssuesPluginState> = | |
118 | // PluginStackBuilder::new(plugin_state, state, init_vtable); | |
155 | 119 | |
156 | 120 | builder.object::<Issue>(); |
157 | 121 | |
@@ -173,10 +137,5 @@ pub extern "C" fn initialize_registration( | ||
173 | 137 | .operation(edit_issue_request) |
174 | 138 | .operation(issue_post_comment_request); |
175 | 139 | |
176 | state | |
177 | } | |
178 | ||
179 | #[derive(Clone, Debug)] | |
180 | pub struct IssuesPluginState { | |
181 | pub pool: PgPool, | |
140 | Ok(()) | |
182 | 141 | } |
plugins/giterated-issues/src/main.rs
@@ -2,22 +2,25 @@ use std::str::FromStr; | ||
2 | 2 | |
3 | 3 | use giterated_issues::operations::CreateIssueRequest; |
4 | 4 | use giterated_models::{repository::Repository, user::User}; |
5 | use giterated_plugin::{handle::PluginHandle, new_stack::Runtime}; | |
5 | use giterated_plugin::abi::vtable::runtime::RuntimeHandle; | |
6 | use giterated_runtime::{Runtime, StaticRuntimeExt}; | |
6 | 7 | use tracing::Level; |
7 | 8 | |
8 | 9 | #[tokio::main] |
9 | pub async fn main() { | |
10 | pub async fn main() -> Result<(), anyhow::Error> { | |
10 | 11 | tracing_subscriber::fmt() |
11 | 12 | .pretty() |
12 | 13 | .with_thread_names(true) |
13 | 14 | .with_max_level(Level::TRACE) |
14 | 15 | .init(); |
15 | 16 | |
16 | let handle = PluginHandle::from_dylib("giterated_issues.dll").unwrap(); | |
17 | ||
18 | 17 | let mut runtime = Runtime::new(); |
19 | 18 | |
20 | runtime.insert_plugin(handle); | |
19 | runtime.load_dylib("giterated_issues.dll")?; | |
20 | ||
21 | runtime.init(); | |
22 | ||
23 | let runtime = unsafe { RuntimeHandle::from_static() }; | |
21 | 24 | |
22 | 25 | let operation = CreateIssueRequest { |
23 | 26 | name: String::from("test issue"), |
@@ -36,4 +39,6 @@ pub async fn main() { | ||
36 | 39 | println!("Error in create issue: {:?}", err) |
37 | 40 | } |
38 | 41 | } |
42 | ||
43 | Ok(()) | |
39 | 44 | } |
plugins/giterated-protocol/src/handlers.rs
@@ -8,7 +8,7 @@ use giterated_models::{ | ||
8 | 8 | object::GiteratedObject, |
9 | 9 | operation::GiteratedOperation, |
10 | 10 | }; |
11 | use giterated_plugin::abi::vtable::runtime::RuntimeHandle; | |
11 | use giterated_plugin::{abi::vtable::runtime::RuntimeHandle, Failure, Object, Operation, Success}; | |
12 | 12 | use serde::{Deserialize, Serialize}; |
13 | 13 | use tokio::net::TcpStream; |
14 | 14 | use tokio_tungstenite::{connect_async, tungstenite::Message, MaybeTlsStream, WebSocketStream}; |
@@ -85,10 +85,10 @@ impl GiteratedOperation<NetworkedObject> for NetworkedOperation { | ||
85 | 85 | /// against a remote instance. |
86 | 86 | pub async fn try_handle_with_remote( |
87 | 87 | state: ProtocolState, |
88 | object: AnyObject, | |
89 | operation: AnyOperation, | |
88 | object: Object, | |
89 | operation: Operation, | |
90 | 90 | _runtime: RuntimeHandle, |
91 | ) -> Result<AnySuccess, OperationError<AnyFailure>> { | |
91 | ) -> Result<Success, OperationError<Failure>> { | |
92 | 92 | // if object.is::<NetworkedObject>() { |
93 | 93 | // return Err(OperationError::Unhandled); |
94 | 94 | // } |