Two teams try and fill in any horizontal, vertical, or diagonal line on a bingo board by playing maps on osu! osu.bingo
osu

get gameservice request working

clxxiii a4e58215 eaad450c

+532 -690
+432 -689
Cargo.lock
··· 3 3 version = 4 4 4 5 5 [[package]] 6 - name = "aes" 7 - version = "0.8.4" 8 - source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" 10 - dependencies = [ 11 - "cfg-if", 12 - "cipher", 13 - "cpufeatures", 14 - ] 15 - 16 - [[package]] 17 6 name = "aho-corasick" 18 7 version = "1.1.3" 19 8 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 29 18 checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 30 19 31 20 [[package]] 32 - name = "amq-protocol" 33 - version = "8.3.1" 34 - source = "registry+https://github.com/rust-lang/crates.io-index" 35 - checksum = "355603365d2217f7fbc03f0be085ea1440498957890f04276402012cdde445f5" 36 - dependencies = [ 37 - "amq-protocol-tcp", 38 - "amq-protocol-types", 39 - "amq-protocol-uri", 40 - "cookie-factory", 41 - "nom 8.0.0", 42 - "serde", 43 - ] 44 - 45 - [[package]] 46 - name = "amq-protocol-tcp" 47 - version = "8.3.1" 48 - source = "registry+https://github.com/rust-lang/crates.io-index" 49 - checksum = "8d7b97a85e08671697e724a6b7f1459ff81603613695e3151764a9529c6fec15" 50 - dependencies = [ 51 - "amq-protocol-uri", 52 - "async-trait", 53 - "cfg-if", 54 - "executor-trait 2.1.2", 55 - "reactor-trait 2.8.0", 56 - "tcp-stream", 57 - "tracing", 58 - ] 59 - 60 - [[package]] 61 - name = "amq-protocol-types" 62 - version = "8.3.1" 63 - source = "registry+https://github.com/rust-lang/crates.io-index" 64 - checksum = "a2984a816dba991b5922503921d8f94650792bdeac47c27c83830710d2567f63" 65 - dependencies = [ 66 - "cookie-factory", 67 - "nom 8.0.0", 68 - "serde", 69 - "serde_json", 70 - ] 71 - 72 - [[package]] 73 - name = "amq-protocol-uri" 74 - version = "8.3.1" 75 - source = "registry+https://github.com/rust-lang/crates.io-index" 76 - checksum = "f31db8e69d1456ec8ecf6ee598707179cf1d95f34f7d30037b16ad43f0cddcff" 77 - dependencies = [ 78 - "amq-protocol-types", 79 - "percent-encoding", 80 - "url", 81 - ] 82 - 83 - [[package]] 84 21 name = "android_system_properties" 85 22 version = "0.1.5" 86 23 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 140 77 ] 141 78 142 79 [[package]] 143 - name = "asn1-rs" 144 - version = "0.7.1" 145 - source = "registry+https://github.com/rust-lang/crates.io-index" 146 - checksum = "56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60" 147 - dependencies = [ 148 - "asn1-rs-derive", 149 - "asn1-rs-impl", 150 - "displaydoc", 151 - "nom 7.1.3", 152 - "num-traits", 153 - "rusticata-macros", 154 - "thiserror 2.0.16", 155 - "time", 156 - ] 157 - 158 - [[package]] 159 - name = "asn1-rs-derive" 160 - version = "0.6.0" 161 - source = "registry+https://github.com/rust-lang/crates.io-index" 162 - checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" 163 - dependencies = [ 164 - "proc-macro2", 165 - "quote", 166 - "syn", 167 - "synstructure", 168 - ] 169 - 170 - [[package]] 171 - name = "asn1-rs-impl" 172 - version = "0.2.0" 173 - source = "registry+https://github.com/rust-lang/crates.io-index" 174 - checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" 175 - dependencies = [ 176 - "proc-macro2", 177 - "quote", 178 - "syn", 179 - ] 180 - 181 - [[package]] 182 - name = "async-channel" 183 - version = "2.5.0" 184 - source = "registry+https://github.com/rust-lang/crates.io-index" 185 - checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" 186 - dependencies = [ 187 - "concurrent-queue", 188 - "event-listener-strategy", 189 - "futures-core", 190 - "pin-project-lite", 191 - ] 192 - 193 - [[package]] 194 - name = "async-executor" 195 - version = "1.13.3" 196 - source = "registry+https://github.com/rust-lang/crates.io-index" 197 - checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" 198 - dependencies = [ 199 - "async-task", 200 - "concurrent-queue", 201 - "fastrand", 202 - "futures-lite", 203 - "pin-project-lite", 204 - "slab", 205 - ] 206 - 207 - [[package]] 208 - name = "async-global-executor" 209 - version = "3.1.0" 210 - source = "registry+https://github.com/rust-lang/crates.io-index" 211 - checksum = "13f937e26114b93193065fd44f507aa2e9169ad0cdabbb996920b1fe1ddea7ba" 212 - dependencies = [ 213 - "async-channel", 214 - "async-executor", 215 - "async-io", 216 - "async-lock", 217 - "blocking", 218 - "futures-lite", 219 - ] 220 - 221 - [[package]] 222 - name = "async-global-executor-trait" 223 - version = "2.2.0" 224 - source = "registry+https://github.com/rust-lang/crates.io-index" 225 - checksum = "9af57045d58eeb1f7060e7025a1631cbc6399e0a1d10ad6735b3d0ea7f8346ce" 226 - dependencies = [ 227 - "async-global-executor", 228 - "async-trait", 229 - "executor-trait 2.1.2", 230 - ] 231 - 232 - [[package]] 233 - name = "async-global-executor-trait" 234 - version = "3.1.0" 235 - source = "registry+https://github.com/rust-lang/crates.io-index" 236 - checksum = "c3727b7da74b92d2d03403cf1142706b53423e5c050791af438f8f50edea057a" 237 - dependencies = [ 238 - "async-global-executor", 239 - "async-global-executor-trait 2.2.0", 240 - "async-trait", 241 - "executor-trait 2.1.2", 242 - "executor-trait 3.1.0", 243 - ] 244 - 245 - [[package]] 246 - name = "async-io" 247 - version = "2.6.0" 248 - source = "registry+https://github.com/rust-lang/crates.io-index" 249 - checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" 250 - dependencies = [ 251 - "autocfg", 252 - "cfg-if", 253 - "concurrent-queue", 254 - "futures-io", 255 - "futures-lite", 256 - "parking", 257 - "polling", 258 - "rustix", 259 - "slab", 260 - "windows-sys 0.61.0", 261 - ] 262 - 263 - [[package]] 264 - name = "async-lock" 265 - version = "3.4.2" 266 - source = "registry+https://github.com/rust-lang/crates.io-index" 267 - checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" 268 - dependencies = [ 269 - "event-listener", 270 - "event-listener-strategy", 271 - "pin-project-lite", 272 - ] 273 - 274 - [[package]] 275 - name = "async-reactor-trait" 276 - version = "3.1.1" 277 - source = "registry+https://github.com/rust-lang/crates.io-index" 278 - checksum = "8ab52004af1f14a170088bd9e10a2d3b2f2307ce04320e58a6ce36ee531be625" 279 - dependencies = [ 280 - "async-io", 281 - "async-trait", 282 - "futures-core", 283 - "reactor-trait 3.1.1", 284 - ] 285 - 286 - [[package]] 287 - name = "async-task" 288 - version = "4.7.1" 289 - source = "registry+https://github.com/rust-lang/crates.io-index" 290 - checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" 291 - 292 - [[package]] 293 80 name = "async-trait" 294 81 version = "0.1.89" 295 82 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 335 122 336 123 [[package]] 337 124 name = "aws-lc-rs" 338 - version = "1.15.2" 125 + version = "1.16.0" 339 126 source = "registry+https://github.com/rust-lang/crates.io-index" 340 - checksum = "6a88aab2464f1f25453baa7a07c84c5b7684e274054ba06817f382357f77a288" 127 + checksum = "d9a7b350e3bb1767102698302bc37256cbd48422809984b98d292c40e2579aa9" 341 128 dependencies = [ 342 129 "aws-lc-sys", 343 130 "zeroize", ··· 345 132 346 133 [[package]] 347 134 name = "aws-lc-sys" 348 - version = "0.35.0" 135 + version = "0.37.1" 349 136 source = "registry+https://github.com/rust-lang/crates.io-index" 350 - checksum = "b45afffdee1e7c9126814751f88dddc747f41d91da16c9551a0f1e8a11e788a1" 137 + checksum = "b092fe214090261288111db7a2b2c2118e5a7f30dc2569f1732c4069a6840549" 351 138 dependencies = [ 352 139 "cc", 353 140 "cmake", ··· 410 197 ] 411 198 412 199 [[package]] 413 - name = "backon" 414 - version = "1.6.0" 415 - source = "registry+https://github.com/rust-lang/crates.io-index" 416 - checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" 417 - dependencies = [ 418 - "fastrand", 419 - ] 420 - 421 - [[package]] 422 200 name = "base64" 423 201 version = "0.13.1" 424 202 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 473 251 "jsonwebtoken 9.3.1", 474 252 "log", 475 253 "rand 0.9.2", 476 - "reqwest", 254 + "reqwest 0.12.23", 477 255 "serde", 478 256 "serde_json", 479 257 "sqlx", ··· 484 262 name = "bingolib" 485 263 version = "0.1.0" 486 264 dependencies = [ 487 - "futures-lite", 488 - "lapin", 489 - "serde", 490 - "serde_json", 491 - "tokio", 265 + "chrono", 492 266 ] 493 267 494 268 [[package]] ··· 499 273 500 274 [[package]] 501 275 name = "bitflags" 502 - version = "2.9.4" 276 + version = "2.11.0" 503 277 source = "registry+https://github.com/rust-lang/crates.io-index" 504 - checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" 278 + checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" 505 279 dependencies = [ 506 - "serde", 280 + "serde_core", 507 281 ] 508 282 509 283 [[package]] ··· 525 299 ] 526 300 527 301 [[package]] 528 - name = "block-padding" 529 - version = "0.3.3" 530 - source = "registry+https://github.com/rust-lang/crates.io-index" 531 - checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" 532 - dependencies = [ 533 - "generic-array", 534 - ] 535 - 536 - [[package]] 537 - name = "blocking" 538 - version = "1.6.2" 539 - source = "registry+https://github.com/rust-lang/crates.io-index" 540 - checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" 541 - dependencies = [ 542 - "async-channel", 543 - "async-task", 544 - "futures-io", 545 - "futures-lite", 546 - "piper", 547 - ] 548 - 549 - [[package]] 550 302 name = "bumpalo" 551 303 version = "3.19.0" 552 304 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 565 317 checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 566 318 567 319 [[package]] 568 - name = "cbc" 569 - version = "0.1.2" 570 - source = "registry+https://github.com/rust-lang/crates.io-index" 571 - checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" 572 - dependencies = [ 573 - "cipher", 574 - ] 575 - 576 - [[package]] 577 320 name = "cc" 578 321 version = "1.2.51" 579 322 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 584 327 "libc", 585 328 "shlex", 586 329 ] 330 + 331 + [[package]] 332 + name = "cesu8" 333 + version = "1.1.0" 334 + source = "registry+https://github.com/rust-lang/crates.io-index" 335 + checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" 587 336 588 337 [[package]] 589 338 name = "cfg-if" ··· 592 341 checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" 593 342 594 343 [[package]] 344 + name = "cfg_aliases" 345 + version = "0.2.1" 346 + source = "registry+https://github.com/rust-lang/crates.io-index" 347 + checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 348 + 349 + [[package]] 595 350 name = "chrono" 596 - version = "0.4.42" 351 + version = "0.4.44" 597 352 source = "registry+https://github.com/rust-lang/crates.io-index" 598 - checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" 353 + checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" 599 354 dependencies = [ 600 355 "iana-time-zone", 601 356 "js-sys", ··· 628 383 ] 629 384 630 385 [[package]] 631 - name = "cipher" 632 - version = "0.4.4" 633 - source = "registry+https://github.com/rust-lang/crates.io-index" 634 - checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" 635 - dependencies = [ 636 - "crypto-common", 637 - "inout", 638 - ] 639 - 640 - [[package]] 641 386 name = "cmake" 642 387 version = "0.1.57" 643 388 source = "registry+https://github.com/rust-lang/crates.io-index" 644 389 checksum = "75443c44cd6b379beb8c5b45d85d0773baf31cce901fe7bb252f4eff3008ef7d" 645 390 dependencies = [ 646 391 "cc", 647 - ] 648 - 649 - [[package]] 650 - name = "cms" 651 - version = "0.2.3" 652 - source = "registry+https://github.com/rust-lang/crates.io-index" 653 - checksum = "7b77c319abfd5219629c45c34c89ba945ed3c5e49fcde9d16b6c3885f118a730" 654 - dependencies = [ 655 - "const-oid 0.9.6", 656 - "der 0.7.10", 657 - "spki 0.7.3", 658 - "x509-cert", 659 392 ] 660 393 661 394 [[package]] ··· 716 449 checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" 717 450 718 451 [[package]] 719 - name = "cookie-factory" 720 - version = "0.3.3" 721 - source = "registry+https://github.com/rust-lang/crates.io-index" 722 - checksum = "9885fa71e26b8ab7855e2ec7cae6e9b380edff76cd052e07c683a0319d51b3a2" 723 - 724 - [[package]] 725 452 name = "core-foundation" 726 453 version = "0.9.4" 727 454 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 819 546 ] 820 547 821 548 [[package]] 822 - name = "data-encoding" 823 - version = "2.9.0" 549 + name = "dashmap" 550 + version = "6.1.0" 824 551 source = "registry+https://github.com/rust-lang/crates.io-index" 825 - checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" 552 + checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" 553 + dependencies = [ 554 + "cfg-if", 555 + "crossbeam-utils", 556 + "hashbrown 0.14.5", 557 + "lock_api", 558 + "once_cell", 559 + "parking_lot_core", 560 + ] 826 561 827 562 [[package]] 828 563 name = "der" ··· 840 575 checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" 841 576 dependencies = [ 842 577 "const-oid 0.9.6", 843 - "der_derive", 844 - "flagset", 845 578 "pem-rfc7468", 846 579 "zeroize", 847 580 ] 848 581 849 582 [[package]] 850 - name = "der-parser" 851 - version = "10.0.0" 852 - source = "registry+https://github.com/rust-lang/crates.io-index" 853 - checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" 854 - dependencies = [ 855 - "asn1-rs", 856 - "displaydoc", 857 - "nom 7.1.3", 858 - "num-bigint", 859 - "num-traits", 860 - "rusticata-macros", 861 - ] 862 - 863 - [[package]] 864 - name = "der_derive" 865 - version = "0.7.3" 866 - source = "registry+https://github.com/rust-lang/crates.io-index" 867 - checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18" 868 - dependencies = [ 869 - "proc-macro2", 870 - "quote", 871 - "syn", 872 - ] 873 - 874 - [[package]] 875 583 name = "deranged" 876 584 version = "0.5.4" 877 585 source = "registry+https://github.com/rust-lang/crates.io-index" 878 586 checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071" 879 587 dependencies = [ 880 588 "powerfmt", 589 + "serde_core", 881 590 ] 882 591 883 592 [[package]] ··· 889 598 "proc-macro2", 890 599 "quote", 891 600 "syn", 892 - ] 893 - 894 - [[package]] 895 - name = "des" 896 - version = "0.8.1" 897 - source = "registry+https://github.com/rust-lang/crates.io-index" 898 - checksum = "ffdd80ce8ce993de27e9f063a444a4d53ce8e8db4c1f00cc03af5ad5a9867a1e" 899 - dependencies = [ 900 - "cipher", 901 601 ] 902 602 903 603 [[package]] ··· 1058 758 ] 1059 759 1060 760 [[package]] 1061 - name = "event-listener-strategy" 1062 - version = "0.5.4" 1063 - source = "registry+https://github.com/rust-lang/crates.io-index" 1064 - checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" 1065 - dependencies = [ 1066 - "event-listener", 1067 - "pin-project-lite", 1068 - ] 1069 - 1070 - [[package]] 1071 - name = "executor-trait" 1072 - version = "2.1.2" 1073 - source = "registry+https://github.com/rust-lang/crates.io-index" 1074 - checksum = "13c39dff9342e4e0e16ce96be751eb21a94e94a87bb2f6e63ad1961c2ce109bf" 1075 - dependencies = [ 1076 - "async-trait", 1077 - ] 1078 - 1079 - [[package]] 1080 - name = "executor-trait" 1081 - version = "3.1.0" 1082 - source = "registry+https://github.com/rust-lang/crates.io-index" 1083 - checksum = "57d6a1fc6700fa12782770cb344a29172ae940ea41d5fd5049fdf236dd6eaa92" 1084 - dependencies = [ 1085 - "async-trait", 1086 - ] 1087 - 1088 - [[package]] 1089 761 name = "fastrand" 1090 762 version = "2.3.0" 1091 763 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1106 778 version = "0.1.6" 1107 779 source = "registry+https://github.com/rust-lang/crates.io-index" 1108 780 checksum = "645cbb3a84e60b7531617d5ae4e57f7e27308f6445f5abf653209ea76dec8dff" 1109 - 1110 - [[package]] 1111 - name = "flagset" 1112 - version = "0.4.7" 1113 - source = "registry+https://github.com/rust-lang/crates.io-index" 1114 - checksum = "b7ac824320a75a52197e8f2d787f6a38b6718bb6897a35142d749af3c0e8f4fe" 1115 781 1116 782 [[package]] 1117 783 name = "flume" ··· 1226 892 checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" 1227 893 1228 894 [[package]] 1229 - name = "futures-lite" 1230 - version = "2.6.1" 1231 - source = "registry+https://github.com/rust-lang/crates.io-index" 1232 - checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" 1233 - dependencies = [ 1234 - "fastrand", 1235 - "futures-core", 1236 - "futures-io", 1237 - "parking", 1238 - "pin-project-lite", 1239 - ] 1240 - 1241 - [[package]] 1242 895 name = "futures-macro" 1243 896 version = "0.3.31" 1244 897 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1250 903 ] 1251 904 1252 905 [[package]] 1253 - name = "futures-rustls" 1254 - version = "0.26.0" 1255 - source = "registry+https://github.com/rust-lang/crates.io-index" 1256 - checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb" 1257 - dependencies = [ 1258 - "futures-io", 1259 - "rustls", 1260 - "rustls-pki-types", 1261 - ] 1262 - 1263 - [[package]] 1264 906 name = "futures-sink" 1265 907 version = "0.3.31" 1266 908 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1291 933 ] 1292 934 1293 935 [[package]] 936 + name = "gameservice" 937 + version = "0.1.0" 938 + dependencies = [ 939 + "bingolib", 940 + "chrono", 941 + "colog", 942 + "log", 943 + "reqwest 0.13.2", 944 + "rosu-v2", 945 + "serde", 946 + "tokio", 947 + ] 948 + 949 + [[package]] 1294 950 name = "generic-array" 1295 951 version = "0.14.7" 1296 952 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1320 976 checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" 1321 977 dependencies = [ 1322 978 "cfg-if", 979 + "js-sys", 1323 980 "libc", 1324 981 "r-efi", 1325 982 "wasi 0.14.7+wasi-0.2.4", 983 + "wasm-bindgen", 1326 984 ] 1327 985 1328 986 [[package]] ··· 1367 1025 1368 1026 [[package]] 1369 1027 name = "hashbrown" 1028 + version = "0.14.5" 1029 + source = "registry+https://github.com/rust-lang/crates.io-index" 1030 + checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 1031 + 1032 + [[package]] 1033 + name = "hashbrown" 1370 1034 version = "0.15.5" 1371 1035 source = "registry+https://github.com/rust-lang/crates.io-index" 1372 1036 checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" ··· 1396 1060 version = "0.5.0" 1397 1061 source = "registry+https://github.com/rust-lang/crates.io-index" 1398 1062 checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 1399 - 1400 - [[package]] 1401 - name = "hermit-abi" 1402 - version = "0.5.2" 1403 - source = "registry+https://github.com/rust-lang/crates.io-index" 1404 - checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" 1405 1063 1406 1064 [[package]] 1407 1065 name = "hex" ··· 1525 1183 "hyper", 1526 1184 "hyper-util", 1527 1185 "rustls", 1186 + "rustls-native-certs", 1528 1187 "rustls-pki-types", 1529 1188 "tokio", 1530 1189 "tokio-rustls", ··· 1717 1376 ] 1718 1377 1719 1378 [[package]] 1720 - name = "inout" 1721 - version = "0.1.4" 1722 - source = "registry+https://github.com/rust-lang/crates.io-index" 1723 - checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" 1724 - dependencies = [ 1725 - "block-padding", 1726 - "generic-array", 1727 - ] 1728 - 1729 - [[package]] 1730 1379 name = "ipnet" 1731 1380 version = "2.11.0" 1732 1381 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1779 1428 ] 1780 1429 1781 1430 [[package]] 1431 + name = "jni" 1432 + version = "0.21.1" 1433 + source = "registry+https://github.com/rust-lang/crates.io-index" 1434 + checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" 1435 + dependencies = [ 1436 + "cesu8", 1437 + "cfg-if", 1438 + "combine", 1439 + "jni-sys", 1440 + "log", 1441 + "thiserror 1.0.69", 1442 + "walkdir", 1443 + "windows-sys 0.45.0", 1444 + ] 1445 + 1446 + [[package]] 1447 + name = "jni-sys" 1448 + version = "0.3.0" 1449 + source = "registry+https://github.com/rust-lang/crates.io-index" 1450 + checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" 1451 + 1452 + [[package]] 1782 1453 name = "jobserver" 1783 1454 version = "0.1.34" 1784 1455 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1916 1587 ] 1917 1588 1918 1589 [[package]] 1919 - name = "lapin" 1920 - version = "3.7.2" 1590 + name = "lazy_static" 1591 + version = "1.5.0" 1921 1592 source = "registry+https://github.com/rust-lang/crates.io-index" 1922 - checksum = "913a84142a99160ecef997a5c17c53639bcbac4424a0315a5ffe6c8be8e8db86" 1593 + checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 1923 1594 dependencies = [ 1924 - "amq-protocol", 1925 - "async-global-executor-trait 3.1.0", 1926 - "async-reactor-trait", 1927 - "async-trait", 1928 - "backon", 1929 - "executor-trait 2.1.2", 1930 - "flume", 1931 - "futures-core", 1932 - "futures-io", 1933 - "reactor-trait 2.8.0", 1934 - "tracing", 1595 + "spin 0.9.8", 1935 1596 ] 1936 1597 1937 1598 [[package]] 1938 - name = "lazy_static" 1939 - version = "1.5.0" 1599 + name = "leaky-bucket" 1600 + version = "1.1.2" 1940 1601 source = "registry+https://github.com/rust-lang/crates.io-index" 1941 - checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 1602 + checksum = "0a396bb213c2d09ed6c5495fd082c991b6ab39c9daf4fff59e6727f85c73e4c5" 1942 1603 dependencies = [ 1943 - "spin 0.9.8", 1604 + "parking_lot", 1605 + "pin-project-lite", 1606 + "tokio", 1944 1607 ] 1945 1608 1946 1609 [[package]] ··· 1961 1624 source = "registry+https://github.com/rust-lang/crates.io-index" 1962 1625 checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" 1963 1626 dependencies = [ 1964 - "bitflags 2.9.4", 1627 + "bitflags 2.11.0", 1965 1628 "libc", 1966 1629 "redox_syscall", 1967 1630 ] ··· 2000 1663 2001 1664 [[package]] 2002 1665 name = "log" 2003 - version = "0.4.28" 1666 + version = "0.4.29" 2004 1667 source = "registry+https://github.com/rust-lang/crates.io-index" 2005 - checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 1668 + checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" 1669 + 1670 + [[package]] 1671 + name = "lru-slab" 1672 + version = "0.1.2" 1673 + source = "registry+https://github.com/rust-lang/crates.io-index" 1674 + checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" 2006 1675 2007 1676 [[package]] 2008 1677 name = "matchit" ··· 2031 1700 version = "0.3.17" 2032 1701 source = "registry+https://github.com/rust-lang/crates.io-index" 2033 1702 checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 2034 - 2035 - [[package]] 2036 - name = "minimal-lexical" 2037 - version = "0.2.1" 2038 - source = "registry+https://github.com/rust-lang/crates.io-index" 2039 - checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 2040 1703 2041 1704 [[package]] 2042 1705 name = "mio" ··· 2058 1721 "libc", 2059 1722 "log", 2060 1723 "openssl", 2061 - "openssl-probe", 1724 + "openssl-probe 0.1.6", 2062 1725 "openssl-sys", 2063 1726 "schannel", 2064 1727 "security-framework 2.11.1", ··· 2067 1730 ] 2068 1731 2069 1732 [[package]] 2070 - name = "nom" 2071 - version = "7.1.3" 2072 - source = "registry+https://github.com/rust-lang/crates.io-index" 2073 - checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 2074 - dependencies = [ 2075 - "memchr", 2076 - "minimal-lexical", 2077 - ] 2078 - 2079 - [[package]] 2080 - name = "nom" 2081 - version = "8.0.0" 2082 - source = "registry+https://github.com/rust-lang/crates.io-index" 2083 - checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" 2084 - dependencies = [ 2085 - "memchr", 2086 - ] 2087 - 2088 - [[package]] 2089 1733 name = "num-bigint" 2090 1734 version = "0.4.6" 2091 1735 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2149 1793 ] 2150 1794 2151 1795 [[package]] 2152 - name = "oid-registry" 2153 - version = "0.8.1" 2154 - source = "registry+https://github.com/rust-lang/crates.io-index" 2155 - checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7" 2156 - dependencies = [ 2157 - "asn1-rs", 2158 - ] 2159 - 2160 - [[package]] 2161 1796 name = "once_cell" 2162 1797 version = "1.21.3" 2163 1798 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2181 1816 source = "registry+https://github.com/rust-lang/crates.io-index" 2182 1817 checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" 2183 1818 dependencies = [ 2184 - "bitflags 2.9.4", 1819 + "bitflags 2.11.0", 2185 1820 "cfg-if", 2186 1821 "foreign-types", 2187 1822 "libc", ··· 2208 1843 checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" 2209 1844 2210 1845 [[package]] 1846 + name = "openssl-probe" 1847 + version = "0.2.1" 1848 + source = "registry+https://github.com/rust-lang/crates.io-index" 1849 + checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" 1850 + 1851 + [[package]] 2211 1852 name = "openssl-sys" 2212 1853 version = "0.9.109" 2213 1854 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2217 1858 "libc", 2218 1859 "pkg-config", 2219 1860 "vcpkg", 2220 - ] 2221 - 2222 - [[package]] 2223 - name = "p12-keystore" 2224 - version = "0.2.0" 2225 - source = "registry+https://github.com/rust-lang/crates.io-index" 2226 - checksum = "e8d55319bae67f92141ce4da80c5392acd3d1323bd8312c1ffdfb018927d07d7" 2227 - dependencies = [ 2228 - "base64 0.22.1", 2229 - "cbc", 2230 - "cms", 2231 - "der 0.7.10", 2232 - "des", 2233 - "hex", 2234 - "hmac 0.12.1", 2235 - "pkcs12", 2236 - "pkcs5", 2237 - "rand 0.9.2", 2238 - "rc2", 2239 - "sha1", 2240 - "sha2 0.10.9", 2241 - "thiserror 2.0.16", 2242 - "x509-parser", 2243 1861 ] 2244 1862 2245 1863 [[package]] ··· 2292 1910 ] 2293 1911 2294 1912 [[package]] 2295 - name = "pbkdf2" 2296 - version = "0.12.2" 1913 + name = "paste" 1914 + version = "1.0.15" 2297 1915 source = "registry+https://github.com/rust-lang/crates.io-index" 2298 - checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" 2299 - dependencies = [ 2300 - "digest 0.10.7", 2301 - "hmac 0.12.1", 2302 - ] 1916 + checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" 2303 1917 2304 1918 [[package]] 2305 1919 name = "pem" ··· 2374 1988 ] 2375 1989 2376 1990 [[package]] 1991 + name = "pin-project" 1992 + version = "1.1.11" 1993 + source = "registry+https://github.com/rust-lang/crates.io-index" 1994 + checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" 1995 + dependencies = [ 1996 + "pin-project-internal", 1997 + ] 1998 + 1999 + [[package]] 2000 + name = "pin-project-internal" 2001 + version = "1.1.11" 2002 + source = "registry+https://github.com/rust-lang/crates.io-index" 2003 + checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" 2004 + dependencies = [ 2005 + "proc-macro2", 2006 + "quote", 2007 + "syn", 2008 + ] 2009 + 2010 + [[package]] 2377 2011 name = "pin-project-lite" 2378 2012 version = "0.2.16" 2379 2013 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2386 2020 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 2387 2021 2388 2022 [[package]] 2389 - name = "piper" 2390 - version = "0.2.4" 2391 - source = "registry+https://github.com/rust-lang/crates.io-index" 2392 - checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" 2393 - dependencies = [ 2394 - "atomic-waker", 2395 - "fastrand", 2396 - "futures-io", 2397 - ] 2398 - 2399 - [[package]] 2400 2023 name = "pkcs1" 2401 2024 version = "0.7.5" 2402 2025 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2408 2031 ] 2409 2032 2410 2033 [[package]] 2411 - name = "pkcs12" 2412 - version = "0.1.0" 2413 - source = "registry+https://github.com/rust-lang/crates.io-index" 2414 - checksum = "695b3df3d3cc1015f12d70235e35b6b79befc5fa7a9b95b951eab1dd07c9efc2" 2415 - dependencies = [ 2416 - "cms", 2417 - "const-oid 0.9.6", 2418 - "der 0.7.10", 2419 - "digest 0.10.7", 2420 - "spki 0.7.3", 2421 - "x509-cert", 2422 - "zeroize", 2423 - ] 2424 - 2425 - [[package]] 2426 - name = "pkcs5" 2427 - version = "0.7.1" 2428 - source = "registry+https://github.com/rust-lang/crates.io-index" 2429 - checksum = "e847e2c91a18bfa887dd028ec33f2fe6f25db77db3619024764914affe8b69a6" 2430 - dependencies = [ 2431 - "aes", 2432 - "cbc", 2433 - "der 0.7.10", 2434 - "pbkdf2", 2435 - "scrypt", 2436 - "sha2 0.10.9", 2437 - "spki 0.7.3", 2438 - ] 2439 - 2440 - [[package]] 2441 2034 name = "pkcs8" 2442 2035 version = "0.7.6" 2443 2036 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2462 2055 version = "0.3.32" 2463 2056 source = "registry+https://github.com/rust-lang/crates.io-index" 2464 2057 checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 2465 - 2466 - [[package]] 2467 - name = "polling" 2468 - version = "3.11.0" 2469 - source = "registry+https://github.com/rust-lang/crates.io-index" 2470 - checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" 2471 - dependencies = [ 2472 - "cfg-if", 2473 - "concurrent-queue", 2474 - "hermit-abi", 2475 - "pin-project-lite", 2476 - "rustix", 2477 - "windows-sys 0.61.0", 2478 - ] 2479 2058 2480 2059 [[package]] 2481 2060 name = "portable-atomic" ··· 2526 2105 ] 2527 2106 2528 2107 [[package]] 2108 + name = "quinn" 2109 + version = "0.11.9" 2110 + source = "registry+https://github.com/rust-lang/crates.io-index" 2111 + checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" 2112 + dependencies = [ 2113 + "bytes", 2114 + "cfg_aliases", 2115 + "pin-project-lite", 2116 + "quinn-proto", 2117 + "quinn-udp", 2118 + "rustc-hash", 2119 + "rustls", 2120 + "socket2", 2121 + "thiserror 2.0.16", 2122 + "tokio", 2123 + "tracing", 2124 + "web-time", 2125 + ] 2126 + 2127 + [[package]] 2128 + name = "quinn-proto" 2129 + version = "0.11.13" 2130 + source = "registry+https://github.com/rust-lang/crates.io-index" 2131 + checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" 2132 + dependencies = [ 2133 + "aws-lc-rs", 2134 + "bytes", 2135 + "getrandom 0.3.3", 2136 + "lru-slab", 2137 + "rand 0.9.2", 2138 + "ring 0.17.14", 2139 + "rustc-hash", 2140 + "rustls", 2141 + "rustls-pki-types", 2142 + "slab", 2143 + "thiserror 2.0.16", 2144 + "tinyvec", 2145 + "tracing", 2146 + "web-time", 2147 + ] 2148 + 2149 + [[package]] 2150 + name = "quinn-udp" 2151 + version = "0.5.14" 2152 + source = "registry+https://github.com/rust-lang/crates.io-index" 2153 + checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" 2154 + dependencies = [ 2155 + "cfg_aliases", 2156 + "libc", 2157 + "once_cell", 2158 + "socket2", 2159 + "tracing", 2160 + "windows-sys 0.60.2", 2161 + ] 2162 + 2163 + [[package]] 2529 2164 name = "quote" 2530 2165 version = "1.0.40" 2531 2166 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2600 2235 ] 2601 2236 2602 2237 [[package]] 2603 - name = "rc2" 2604 - version = "0.8.1" 2605 - source = "registry+https://github.com/rust-lang/crates.io-index" 2606 - checksum = "62c64daa8e9438b84aaae55010a93f396f8e60e3911590fcba770d04643fc1dd" 2607 - dependencies = [ 2608 - "cipher", 2609 - ] 2610 - 2611 - [[package]] 2612 - name = "reactor-trait" 2613 - version = "2.8.0" 2614 - source = "registry+https://github.com/rust-lang/crates.io-index" 2615 - checksum = "0ffbbf16bc3e4db5fdcf4b77cebf1313610b54b339712aa90088d2d9b1acb1f1" 2616 - dependencies = [ 2617 - "async-trait", 2618 - "reactor-trait 3.1.1", 2619 - ] 2620 - 2621 - [[package]] 2622 - name = "reactor-trait" 2623 - version = "3.1.1" 2624 - source = "registry+https://github.com/rust-lang/crates.io-index" 2625 - checksum = "5b1c85237926dd82e8bc3634240ecf2236ea81e904b3d83cdb1df974af9af293" 2626 - dependencies = [ 2627 - "async-io", 2628 - "async-trait", 2629 - "executor-trait 2.1.2", 2630 - "flume", 2631 - "futures-core", 2632 - "futures-io", 2633 - ] 2634 - 2635 - [[package]] 2636 2238 name = "redox_syscall" 2637 2239 version = "0.5.17" 2638 2240 source = "registry+https://github.com/rust-lang/crates.io-index" 2639 2241 checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" 2640 2242 dependencies = [ 2641 - "bitflags 2.9.4", 2243 + "bitflags 2.11.0", 2642 2244 ] 2643 2245 2644 2246 [[package]] ··· 2711 2313 ] 2712 2314 2713 2315 [[package]] 2316 + name = "reqwest" 2317 + version = "0.13.2" 2318 + source = "registry+https://github.com/rust-lang/crates.io-index" 2319 + checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801" 2320 + dependencies = [ 2321 + "base64 0.22.1", 2322 + "bytes", 2323 + "encoding_rs", 2324 + "futures-core", 2325 + "h2", 2326 + "http", 2327 + "http-body", 2328 + "http-body-util", 2329 + "hyper", 2330 + "hyper-rustls", 2331 + "hyper-util", 2332 + "js-sys", 2333 + "log", 2334 + "mime", 2335 + "percent-encoding", 2336 + "pin-project-lite", 2337 + "quinn", 2338 + "rustls", 2339 + "rustls-pki-types", 2340 + "rustls-platform-verifier", 2341 + "serde", 2342 + "serde_json", 2343 + "sync_wrapper", 2344 + "tokio", 2345 + "tokio-rustls", 2346 + "tower", 2347 + "tower-http", 2348 + "tower-service", 2349 + "url", 2350 + "wasm-bindgen", 2351 + "wasm-bindgen-futures", 2352 + "web-sys", 2353 + ] 2354 + 2355 + [[package]] 2714 2356 name = "ring" 2715 2357 version = "0.16.20" 2716 2358 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2740 2382 ] 2741 2383 2742 2384 [[package]] 2385 + name = "rosu-mods" 2386 + version = "0.3.1" 2387 + source = "registry+https://github.com/rust-lang/crates.io-index" 2388 + checksum = "cdc002dd5c7baef181e98980615ef27df55f35ff291c088cb37e6a339f2777e1" 2389 + dependencies = [ 2390 + "paste", 2391 + "serde", 2392 + ] 2393 + 2394 + [[package]] 2395 + name = "rosu-v2" 2396 + version = "0.11.0" 2397 + source = "registry+https://github.com/rust-lang/crates.io-index" 2398 + checksum = "955fe1260c1efcc589167447f329e2473c9765cfe5157ab025ede05503365fe7" 2399 + dependencies = [ 2400 + "bytes", 2401 + "dashmap", 2402 + "futures", 2403 + "http-body-util", 2404 + "hyper", 2405 + "hyper-rustls", 2406 + "hyper-util", 2407 + "itoa", 2408 + "leaky-bucket", 2409 + "pin-project", 2410 + "rosu-mods", 2411 + "serde", 2412 + "serde_json", 2413 + "serde_urlencoded", 2414 + "smallstr", 2415 + "thiserror 2.0.16", 2416 + "time", 2417 + "tokio", 2418 + "tracing", 2419 + "url", 2420 + ] 2421 + 2422 + [[package]] 2743 2423 name = "rsa" 2744 2424 version = "0.9.8" 2745 2425 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2760 2440 ] 2761 2441 2762 2442 [[package]] 2763 - name = "rusticata-macros" 2764 - version = "4.1.0" 2443 + name = "rustc-hash" 2444 + version = "2.1.1" 2765 2445 source = "registry+https://github.com/rust-lang/crates.io-index" 2766 - checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" 2767 - dependencies = [ 2768 - "nom 7.1.3", 2769 - ] 2446 + checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" 2770 2447 2771 2448 [[package]] 2772 2449 name = "rustix" ··· 2774 2451 source = "registry+https://github.com/rust-lang/crates.io-index" 2775 2452 checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" 2776 2453 dependencies = [ 2777 - "bitflags 2.9.4", 2454 + "bitflags 2.11.0", 2778 2455 "errno", 2779 2456 "libc", 2780 2457 "linux-raw-sys", ··· 2789 2466 dependencies = [ 2790 2467 "aws-lc-rs", 2791 2468 "once_cell", 2469 + "ring 0.17.14", 2792 2470 "rustls-pki-types", 2793 2471 "rustls-webpki", 2794 2472 "subtle", ··· 2796 2474 ] 2797 2475 2798 2476 [[package]] 2799 - name = "rustls-connector" 2800 - version = "0.21.11" 2477 + name = "rustls-native-certs" 2478 + version = "0.8.3" 2801 2479 source = "registry+https://github.com/rust-lang/crates.io-index" 2802 - checksum = "10eb7ce243317e6b6a342ef6bff8c2e0d46d78120a9aeb2ee39693a569615c96" 2480 + checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" 2803 2481 dependencies = [ 2804 - "futures-io", 2805 - "futures-rustls", 2806 - "log", 2807 - "rustls", 2808 - "rustls-native-certs", 2482 + "openssl-probe 0.2.1", 2809 2483 "rustls-pki-types", 2810 - "rustls-webpki", 2484 + "schannel", 2485 + "security-framework 3.7.0", 2811 2486 ] 2812 2487 2813 2488 [[package]] 2814 - name = "rustls-native-certs" 2815 - version = "0.8.2" 2489 + name = "rustls-pki-types" 2490 + version = "1.12.0" 2816 2491 source = "registry+https://github.com/rust-lang/crates.io-index" 2817 - checksum = "9980d917ebb0c0536119ba501e90834767bffc3d60641457fd84a1f3fd337923" 2492 + checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" 2818 2493 dependencies = [ 2819 - "openssl-probe", 2820 - "rustls-pki-types", 2821 - "schannel", 2822 - "security-framework 3.5.1", 2494 + "web-time", 2495 + "zeroize", 2823 2496 ] 2824 2497 2825 2498 [[package]] 2826 - name = "rustls-pemfile" 2827 - version = "2.2.0" 2499 + name = "rustls-platform-verifier" 2500 + version = "0.6.2" 2828 2501 source = "registry+https://github.com/rust-lang/crates.io-index" 2829 - checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" 2502 + checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784" 2830 2503 dependencies = [ 2831 - "rustls-pki-types", 2504 + "core-foundation 0.10.1", 2505 + "core-foundation-sys", 2506 + "jni", 2507 + "log", 2508 + "once_cell", 2509 + "rustls", 2510 + "rustls-native-certs", 2511 + "rustls-platform-verifier-android", 2512 + "rustls-webpki", 2513 + "security-framework 3.7.0", 2514 + "security-framework-sys", 2515 + "webpki-root-certs", 2516 + "windows-sys 0.61.0", 2832 2517 ] 2833 2518 2834 2519 [[package]] 2835 - name = "rustls-pki-types" 2836 - version = "1.12.0" 2520 + name = "rustls-platform-verifier-android" 2521 + version = "0.1.1" 2837 2522 source = "registry+https://github.com/rust-lang/crates.io-index" 2838 - checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" 2839 - dependencies = [ 2840 - "zeroize", 2841 - ] 2523 + checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" 2842 2524 2843 2525 [[package]] 2844 2526 name = "rustls-webpki" ··· 2865 2547 checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 2866 2548 2867 2549 [[package]] 2868 - name = "salsa20" 2869 - version = "0.10.2" 2550 + name = "same-file" 2551 + version = "1.0.6" 2870 2552 source = "registry+https://github.com/rust-lang/crates.io-index" 2871 - checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" 2553 + checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2872 2554 dependencies = [ 2873 - "cipher", 2555 + "winapi-util", 2874 2556 ] 2875 2557 2876 2558 [[package]] ··· 2889 2571 checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 2890 2572 2891 2573 [[package]] 2892 - name = "scrypt" 2893 - version = "0.11.0" 2894 - source = "registry+https://github.com/rust-lang/crates.io-index" 2895 - checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" 2896 - dependencies = [ 2897 - "pbkdf2", 2898 - "salsa20", 2899 - "sha2 0.10.9", 2900 - ] 2901 - 2902 - [[package]] 2903 2574 name = "security-framework" 2904 2575 version = "2.11.1" 2905 2576 source = "registry+https://github.com/rust-lang/crates.io-index" 2906 2577 checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" 2907 2578 dependencies = [ 2908 - "bitflags 2.9.4", 2579 + "bitflags 2.11.0", 2909 2580 "core-foundation 0.9.4", 2910 2581 "core-foundation-sys", 2911 2582 "libc", ··· 2914 2585 2915 2586 [[package]] 2916 2587 name = "security-framework" 2917 - version = "3.5.1" 2588 + version = "3.7.0" 2918 2589 source = "registry+https://github.com/rust-lang/crates.io-index" 2919 - checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" 2590 + checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" 2920 2591 dependencies = [ 2921 - "bitflags 2.9.4", 2592 + "bitflags 2.11.0", 2922 2593 "core-foundation 0.10.1", 2923 2594 "core-foundation-sys", 2924 2595 "libc", ··· 2927 2598 2928 2599 [[package]] 2929 2600 name = "security-framework-sys" 2930 - version = "2.15.0" 2601 + version = "2.17.0" 2931 2602 source = "registry+https://github.com/rust-lang/crates.io-index" 2932 - checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" 2603 + checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" 2933 2604 dependencies = [ 2934 2605 "core-foundation-sys", 2935 2606 "libc", ··· 3087 2758 checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" 3088 2759 3089 2760 [[package]] 2761 + name = "smallstr" 2762 + version = "0.3.1" 2763 + source = "registry+https://github.com/rust-lang/crates.io-index" 2764 + checksum = "862077b1e764f04c251fe82a2ef562fd78d7cadaeb072ca7c2bcaf7217b1ff3b" 2765 + dependencies = [ 2766 + "serde", 2767 + "smallvec", 2768 + ] 2769 + 2770 + [[package]] 3090 2771 name = "smallvec" 3091 2772 version = "1.15.1" 3092 2773 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3244 2925 dependencies = [ 3245 2926 "atoi", 3246 2927 "base64 0.22.1", 3247 - "bitflags 2.9.4", 2928 + "bitflags 2.11.0", 3248 2929 "byteorder", 3249 2930 "bytes", 3250 2931 "chrono", ··· 3287 2968 dependencies = [ 3288 2969 "atoi", 3289 2970 "base64 0.22.1", 3290 - "bitflags 2.9.4", 2971 + "bitflags 2.11.0", 3291 2972 "byteorder", 3292 2973 "chrono", 3293 2974 "crc", ··· 3408 3089 source = "registry+https://github.com/rust-lang/crates.io-index" 3409 3090 checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" 3410 3091 dependencies = [ 3411 - "bitflags 2.9.4", 3092 + "bitflags 2.11.0", 3412 3093 "core-foundation 0.9.4", 3413 3094 "system-configuration-sys", 3414 3095 ] ··· 3421 3102 dependencies = [ 3422 3103 "core-foundation-sys", 3423 3104 "libc", 3424 - ] 3425 - 3426 - [[package]] 3427 - name = "tcp-stream" 3428 - version = "0.30.9" 3429 - source = "registry+https://github.com/rust-lang/crates.io-index" 3430 - checksum = "282ebecea8280bce8b7a0695b5dc93a19839dd445cbba70d3e07c9f6e12c4653" 3431 - dependencies = [ 3432 - "cfg-if", 3433 - "futures-io", 3434 - "p12-keystore", 3435 - "reactor-trait 2.8.0", 3436 - "rustls-connector", 3437 - "rustls-pemfile", 3438 3105 ] 3439 3106 3440 3107 [[package]] ··· 3548 3215 3549 3216 [[package]] 3550 3217 name = "tokio" 3551 - version = "1.48.0" 3218 + version = "1.49.0" 3552 3219 source = "registry+https://github.com/rust-lang/crates.io-index" 3553 - checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" 3220 + checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" 3554 3221 dependencies = [ 3555 3222 "bytes", 3556 3223 "libc", ··· 3634 3301 3635 3302 [[package]] 3636 3303 name = "tower-http" 3637 - version = "0.6.6" 3304 + version = "0.6.8" 3638 3305 source = "registry+https://github.com/rust-lang/crates.io-index" 3639 - checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" 3306 + checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" 3640 3307 dependencies = [ 3641 - "bitflags 2.9.4", 3308 + "bitflags 2.11.0", 3642 3309 "bytes", 3643 3310 "futures-util", 3644 3311 "http", ··· 3786 3453 version = "1.0.2" 3787 3454 source = "registry+https://github.com/rust-lang/crates.io-index" 3788 3455 checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" 3456 + 3457 + [[package]] 3458 + name = "walkdir" 3459 + version = "2.5.0" 3460 + source = "registry+https://github.com/rust-lang/crates.io-index" 3461 + checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 3462 + dependencies = [ 3463 + "same-file", 3464 + "winapi-util", 3465 + ] 3789 3466 3790 3467 [[package]] 3791 3468 name = "want" ··· 3909 3586 ] 3910 3587 3911 3588 [[package]] 3589 + name = "web-time" 3590 + version = "1.1.0" 3591 + source = "registry+https://github.com/rust-lang/crates.io-index" 3592 + checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" 3593 + dependencies = [ 3594 + "js-sys", 3595 + "wasm-bindgen", 3596 + ] 3597 + 3598 + [[package]] 3599 + name = "webpki-root-certs" 3600 + version = "1.0.6" 3601 + source = "registry+https://github.com/rust-lang/crates.io-index" 3602 + checksum = "804f18a4ac2676ffb4e8b5b5fa9ae38af06df08162314f96a68d2a363e21a8ca" 3603 + dependencies = [ 3604 + "rustls-pki-types", 3605 + ] 3606 + 3607 + [[package]] 3912 3608 name = "whoami" 3913 3609 version = "1.6.1" 3914 3610 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3933 3629 version = "0.4.0" 3934 3630 source = "registry+https://github.com/rust-lang/crates.io-index" 3935 3631 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 3632 + 3633 + [[package]] 3634 + name = "winapi-util" 3635 + version = "0.1.11" 3636 + source = "registry+https://github.com/rust-lang/crates.io-index" 3637 + checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" 3638 + dependencies = [ 3639 + "windows-sys 0.61.0", 3640 + ] 3936 3641 3937 3642 [[package]] 3938 3643 name = "winapi-x86_64-pc-windows-gnu" ··· 4036 3741 4037 3742 [[package]] 4038 3743 name = "windows-sys" 3744 + version = "0.45.0" 3745 + source = "registry+https://github.com/rust-lang/crates.io-index" 3746 + checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 3747 + dependencies = [ 3748 + "windows-targets 0.42.2", 3749 + ] 3750 + 3751 + [[package]] 3752 + name = "windows-sys" 4039 3753 version = "0.48.0" 4040 3754 source = "registry+https://github.com/rust-lang/crates.io-index" 4041 3755 checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" ··· 4077 3791 checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa" 4078 3792 dependencies = [ 4079 3793 "windows-link 0.2.0", 3794 + ] 3795 + 3796 + [[package]] 3797 + name = "windows-targets" 3798 + version = "0.42.2" 3799 + source = "registry+https://github.com/rust-lang/crates.io-index" 3800 + checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 3801 + dependencies = [ 3802 + "windows_aarch64_gnullvm 0.42.2", 3803 + "windows_aarch64_msvc 0.42.2", 3804 + "windows_i686_gnu 0.42.2", 3805 + "windows_i686_msvc 0.42.2", 3806 + "windows_x86_64_gnu 0.42.2", 3807 + "windows_x86_64_gnullvm 0.42.2", 3808 + "windows_x86_64_msvc 0.42.2", 4080 3809 ] 4081 3810 4082 3811 [[package]] ··· 4129 3858 4130 3859 [[package]] 4131 3860 name = "windows_aarch64_gnullvm" 3861 + version = "0.42.2" 3862 + source = "registry+https://github.com/rust-lang/crates.io-index" 3863 + checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 3864 + 3865 + [[package]] 3866 + name = "windows_aarch64_gnullvm" 4132 3867 version = "0.48.5" 4133 3868 source = "registry+https://github.com/rust-lang/crates.io-index" 4134 3869 checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" ··· 4147 3882 4148 3883 [[package]] 4149 3884 name = "windows_aarch64_msvc" 3885 + version = "0.42.2" 3886 + source = "registry+https://github.com/rust-lang/crates.io-index" 3887 + checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 3888 + 3889 + [[package]] 3890 + name = "windows_aarch64_msvc" 4150 3891 version = "0.48.5" 4151 3892 source = "registry+https://github.com/rust-lang/crates.io-index" 4152 3893 checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" ··· 4162 3903 version = "0.53.0" 4163 3904 source = "registry+https://github.com/rust-lang/crates.io-index" 4164 3905 checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" 3906 + 3907 + [[package]] 3908 + name = "windows_i686_gnu" 3909 + version = "0.42.2" 3910 + source = "registry+https://github.com/rust-lang/crates.io-index" 3911 + checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 4165 3912 4166 3913 [[package]] 4167 3914 name = "windows_i686_gnu" ··· 4195 3942 4196 3943 [[package]] 4197 3944 name = "windows_i686_msvc" 3945 + version = "0.42.2" 3946 + source = "registry+https://github.com/rust-lang/crates.io-index" 3947 + checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 3948 + 3949 + [[package]] 3950 + name = "windows_i686_msvc" 4198 3951 version = "0.48.5" 4199 3952 source = "registry+https://github.com/rust-lang/crates.io-index" 4200 3953 checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" ··· 4213 3966 4214 3967 [[package]] 4215 3968 name = "windows_x86_64_gnu" 3969 + version = "0.42.2" 3970 + source = "registry+https://github.com/rust-lang/crates.io-index" 3971 + checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 3972 + 3973 + [[package]] 3974 + name = "windows_x86_64_gnu" 4216 3975 version = "0.48.5" 4217 3976 source = "registry+https://github.com/rust-lang/crates.io-index" 4218 3977 checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" ··· 4231 3990 4232 3991 [[package]] 4233 3992 name = "windows_x86_64_gnullvm" 3993 + version = "0.42.2" 3994 + source = "registry+https://github.com/rust-lang/crates.io-index" 3995 + checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 3996 + 3997 + [[package]] 3998 + name = "windows_x86_64_gnullvm" 4234 3999 version = "0.48.5" 4235 4000 source = "registry+https://github.com/rust-lang/crates.io-index" 4236 4001 checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" ··· 4246 4011 version = "0.53.0" 4247 4012 source = "registry+https://github.com/rust-lang/crates.io-index" 4248 4013 checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" 4014 + 4015 + [[package]] 4016 + name = "windows_x86_64_msvc" 4017 + version = "0.42.2" 4018 + source = "registry+https://github.com/rust-lang/crates.io-index" 4019 + checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 4249 4020 4250 4021 [[package]] 4251 4022 name = "windows_x86_64_msvc" ··· 4276 4047 version = "0.6.1" 4277 4048 source = "registry+https://github.com/rust-lang/crates.io-index" 4278 4049 checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" 4279 - 4280 - [[package]] 4281 - name = "x509-cert" 4282 - version = "0.2.5" 4283 - source = "registry+https://github.com/rust-lang/crates.io-index" 4284 - checksum = "1301e935010a701ae5f8655edc0ad17c44bad3ac5ce8c39185f75453b720ae94" 4285 - dependencies = [ 4286 - "const-oid 0.9.6", 4287 - "der 0.7.10", 4288 - "spki 0.7.3", 4289 - ] 4290 - 4291 - [[package]] 4292 - name = "x509-parser" 4293 - version = "0.17.0" 4294 - source = "registry+https://github.com/rust-lang/crates.io-index" 4295 - checksum = "4569f339c0c402346d4a75a9e39cf8dad310e287eef1ff56d4c68e5067f53460" 4296 - dependencies = [ 4297 - "asn1-rs", 4298 - "data-encoding", 4299 - "der-parser", 4300 - "lazy_static", 4301 - "nom 7.1.3", 4302 - "oid-registry", 4303 - "rusticata-macros", 4304 - "thiserror 2.0.16", 4305 - "time", 4306 - ] 4307 4050 4308 4051 [[package]] 4309 4052 name = "yoke"
+5 -1
Cargo.toml
··· 3 3 members = [ 4 4 "api", 5 5 "auth", 6 - "bingolib" 6 + "bingolib", 7 + "gameservice" 7 8 ] 9 + 10 + [workspace.package] 11 + version = "0.1.0"
+1
bingolib/Cargo.toml
··· 4 4 edition = "2024" 5 5 6 6 [dependencies] 7 + chrono = "0.4.44"
+2
bingolib/src/lib.rs
··· 1 1 mod query_params; 2 2 pub use query_params::*; 3 + 4 + pub mod structs;
+2
bingolib/src/structs/mod.rs
··· 1 + mod oauth_token; 2 + pub use oauth_token::*;
+11
bingolib/src/structs/oauth_token.rs
··· 1 + use chrono::{DateTime, Utc}; 2 + 3 + pub struct OauthToken { 4 + pub id: String, 5 + pub user_id: String, 6 + pub service: String, 7 + pub access_token: String, 8 + pub expires_at: DateTime<Utc>, 9 + pub refresh_token: String, 10 + pub token_type: String, 11 + }
+14
gameservice/Cargo.toml
··· 1 + [package] 2 + name = "gameservice" 3 + version.workspace = true 4 + edition = "2024" 5 + 6 + [dependencies] 7 + bingolib = { path = "../bingolib" } 8 + chrono = { version = "0.4.44", features = ["serde"] } 9 + colog = "1.4.0" 10 + log = "0.4.29" 11 + reqwest = { version = "0.13.2", features = ["json"] } 12 + rosu-v2 = "0.11.0" 13 + serde = "1.0.228" 14 + tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros"] }
+2
gameservice/src/functions.rs
··· 1 + mod update_user_scores; 2 + pub use update_user_scores::*;
+35
gameservice/src/functions/update_user_scores.rs
··· 1 + use bingolib::structs::OauthToken; 2 + use rosu_v2::prelude::Score; 3 + 4 + const BASE_URL: &'static str = "https://osu.ppy.sh/api/v2"; 5 + 6 + pub async fn update_user_scores(user_token: OauthToken) -> Result<Vec<Score>, ()> { 7 + let request_client = reqwest::Client::new(); 8 + let req_url = format!("{BASE_URL}/users/{}/scores/recent", user_token.user_id); 9 + log::debug!("{req_url}"); 10 + let request = request_client.get(req_url).header( 11 + "Authorization", 12 + format!("{} {}", user_token.token_type, user_token.access_token), 13 + ); 14 + log::debug!("{request:?}"); 15 + let request = request.send().await; 16 + log::debug!("{request:?}"); 17 + 18 + let body = match request { 19 + Ok(body) => body, 20 + Err(err) => { 21 + log::error!("Score fetch request failed: {err}"); 22 + return Err(()); 23 + } 24 + }; 25 + 26 + let scores: Vec<Score> = match body.json().await { 27 + Ok(x) => x, 28 + Err(err) => { 29 + log::error!("Failed to parse score fetch request: {err}"); 30 + return Err(()); 31 + } 32 + }; 33 + 34 + return Ok(scores); 35 + }
+28
gameservice/src/main.rs
··· 1 + use bingolib::structs::OauthToken; 2 + use chrono::Utc; 3 + 4 + mod functions; 5 + 6 + #[tokio::main] 7 + async fn main() { 8 + // Logger 9 + colog::default_builder() 10 + .format_timestamp_secs() 11 + .format_file(true) 12 + .filter_level(log::LevelFilter::Debug) 13 + .init(); 14 + 15 + let token = OauthToken { 16 + id: String::from(""), 17 + access_token: String::from(""), 18 + refresh_token: String::from(""), 19 + service: String::from("osu"), 20 + user_id: String::from(""), 21 + token_type: String::from("Bearer"), 22 + expires_at: Utc::now(), 23 + }; 24 + 25 + let scores = functions::update_user_scores(token).await; 26 + 27 + println!("{scores:?}"); 28 + }