This is the Rust version of the discord bot created for FBT Heaven
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix errors from bumping dependencies

It now compiles but you still need to go through all the `//TODO:`s and update the values.

+143 -285
+139 -281
Cargo.lock
··· 117 117 checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" 118 118 119 119 [[package]] 120 - name = "arrayvec" 121 - version = "0.7.4" 122 - source = "registry+https://github.com/rust-lang/crates.io-index" 123 - checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" 124 - dependencies = [ 125 - "serde", 126 - ] 127 - 128 - [[package]] 129 120 name = "async-trait" 130 121 version = "0.1.80" 131 122 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 134 125 "proc-macro2", 135 126 "quote", 136 127 "syn 2.0.68", 128 + ] 129 + 130 + [[package]] 131 + name = "async-tungstenite" 132 + version = "0.17.2" 133 + source = "registry+https://github.com/rust-lang/crates.io-index" 134 + checksum = "a1b71b31561643aa8e7df3effe284fa83ab1a840e52294c5f4bd7bfd8b2becbb" 135 + dependencies = [ 136 + "futures-io", 137 + "futures-util", 138 + "log", 139 + "pin-project-lite", 140 + "tokio", 141 + "tokio-rustls 0.23.4", 142 + "tungstenite", 143 + "webpki-roots 0.22.6", 137 144 ] 138 145 139 146 [[package]] ··· 241 248 ] 242 249 243 250 [[package]] 244 - name = "bytecount" 245 - version = "0.6.8" 246 - source = "registry+https://github.com/rust-lang/crates.io-index" 247 - checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" 248 - 249 - [[package]] 250 251 name = "byteorder" 251 252 version = "1.4.3" 252 253 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 259 260 checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" 260 261 261 262 [[package]] 262 - name = "camino" 263 - version = "1.1.7" 264 - source = "registry+https://github.com/rust-lang/crates.io-index" 265 - checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" 266 - dependencies = [ 267 - "serde", 268 - ] 269 - 270 - [[package]] 271 - name = "cargo-platform" 272 - version = "0.1.8" 273 - source = "registry+https://github.com/rust-lang/crates.io-index" 274 - checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" 275 - dependencies = [ 276 - "serde", 277 - ] 278 - 279 - [[package]] 280 - name = "cargo_metadata" 281 - version = "0.14.2" 282 - source = "registry+https://github.com/rust-lang/crates.io-index" 283 - checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" 284 - dependencies = [ 285 - "camino", 286 - "cargo-platform", 287 - "semver", 288 - "serde", 289 - "serde_json", 290 - ] 291 - 292 - [[package]] 293 263 name = "cc" 294 264 version = "1.0.104" 295 265 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 477 447 ] 478 448 479 449 [[package]] 480 - name = "crossbeam-channel" 481 - version = "0.5.13" 482 - source = "registry+https://github.com/rust-lang/crates.io-index" 483 - checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" 484 - dependencies = [ 485 - "crossbeam-utils", 486 - ] 487 - 488 - [[package]] 489 - name = "crossbeam-utils" 490 - version = "0.8.20" 491 - source = "registry+https://github.com/rust-lang/crates.io-index" 492 - checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" 493 - 494 - [[package]] 495 450 name = "crypto-common" 496 451 version = "0.1.6" 497 452 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 568 523 569 524 [[package]] 570 525 name = "darling" 526 + version = "0.14.4" 527 + source = "registry+https://github.com/rust-lang/crates.io-index" 528 + checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" 529 + dependencies = [ 530 + "darling_core 0.14.4", 531 + "darling_macro 0.14.4", 532 + ] 533 + 534 + [[package]] 535 + name = "darling" 571 536 version = "0.20.1" 572 537 source = "registry+https://github.com/rust-lang/crates.io-index" 573 538 checksum = "0558d22a7b463ed0241e993f76f09f30b126687447751a8638587b864e4b3944" 574 539 dependencies = [ 575 - "darling_core", 576 - "darling_macro", 540 + "darling_core 0.20.1", 541 + "darling_macro 0.20.1", 542 + ] 543 + 544 + [[package]] 545 + name = "darling_core" 546 + version = "0.14.4" 547 + source = "registry+https://github.com/rust-lang/crates.io-index" 548 + checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" 549 + dependencies = [ 550 + "fnv", 551 + "ident_case", 552 + "proc-macro2", 553 + "quote", 554 + "strsim 0.10.0", 555 + "syn 1.0.103", 577 556 ] 578 557 579 558 [[package]] ··· 592 571 593 572 [[package]] 594 573 name = "darling_macro" 574 + version = "0.14.4" 575 + source = "registry+https://github.com/rust-lang/crates.io-index" 576 + checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" 577 + dependencies = [ 578 + "darling_core 0.14.4", 579 + "quote", 580 + "syn 1.0.103", 581 + ] 582 + 583 + [[package]] 584 + name = "darling_macro" 595 585 version = "0.20.1" 596 586 source = "registry+https://github.com/rust-lang/crates.io-index" 597 587 checksum = "29a358ff9f12ec09c3e61fef9b5a9902623a695a46a917b07f269bff1445611a" 598 588 dependencies = [ 599 - "darling_core", 589 + "darling_core 0.20.1", 600 590 "quote", 601 591 "syn 2.0.68", 602 592 ] ··· 614 604 "parking_lot_core 0.9.10", 615 605 "serde", 616 606 ] 617 - 618 - [[package]] 619 - name = "data-encoding" 620 - version = "2.6.0" 621 - source = "registry+https://github.com/rust-lang/crates.io-index" 622 - checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" 623 607 624 608 [[package]] 625 609 name = "deranged" ··· 677 661 checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 678 662 679 663 [[package]] 680 - name = "error-chain" 681 - version = "0.12.4" 682 - source = "registry+https://github.com/rust-lang/crates.io-index" 683 - checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc" 684 - dependencies = [ 685 - "version_check", 686 - ] 687 - 688 - [[package]] 689 664 name = "fastrand" 690 665 version = "1.8.0" 691 666 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 824 799 ] 825 800 826 801 [[package]] 827 - name = "fxhash" 828 - version = "0.2.1" 829 - source = "registry+https://github.com/rust-lang/crates.io-index" 830 - checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" 831 - dependencies = [ 832 - "byteorder", 833 - ] 834 - 835 - [[package]] 836 802 name = "generic-array" 837 803 version = "0.14.6" 838 804 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 869 835 version = "0.28.0" 870 836 source = "registry+https://github.com/rust-lang/crates.io-index" 871 837 checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" 872 - 873 - [[package]] 874 - name = "glob" 875 - version = "0.3.1" 876 - source = "registry+https://github.com/rust-lang/crates.io-index" 877 - checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 878 838 879 839 [[package]] 880 840 name = "h2" ··· 1403 1363 ] 1404 1364 1405 1365 [[package]] 1406 - name = "mini-moka" 1407 - version = "0.10.3" 1408 - source = "registry+https://github.com/rust-lang/crates.io-index" 1409 - checksum = "c325dfab65f261f386debee8b0969da215b3fa0037e74c8a1234db7ba986d803" 1410 - dependencies = [ 1411 - "crossbeam-channel", 1412 - "crossbeam-utils", 1413 - "dashmap", 1414 - "skeptic", 1415 - "smallvec", 1416 - "tagptr", 1417 - "triomphe", 1418 - ] 1419 - 1420 - [[package]] 1421 1366 name = "minimal-lexical" 1422 1367 version = "0.2.1" 1423 1368 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1567 1512 ] 1568 1513 1569 1514 [[package]] 1515 + name = "ordered-float" 1516 + version = "2.10.1" 1517 + source = "registry+https://github.com/rust-lang/crates.io-index" 1518 + checksum = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" 1519 + dependencies = [ 1520 + "num-traits", 1521 + ] 1522 + 1523 + [[package]] 1570 1524 name = "overload" 1571 1525 version = "0.1.1" 1572 1526 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1731 1685 1732 1686 [[package]] 1733 1687 name = "poise" 1734 - version = "0.6.1" 1688 + version = "0.5.7" 1735 1689 source = "registry+https://github.com/rust-lang/crates.io-index" 1736 - checksum = "1819d5a45e3590ef33754abce46432570c54a120798bdbf893112b4211fa09a6" 1690 + checksum = "d104e4b5847283b2fbd6a7ec19fb6a8af328e2145623d056b66d750a30073fdf" 1737 1691 dependencies = [ 1738 1692 "async-trait", 1739 1693 "derivative", 1694 + "futures-core", 1740 1695 "futures-util", 1696 + "log", 1697 + "once_cell", 1741 1698 "parking_lot 0.12.1", 1742 1699 "poise_macros", 1743 1700 "regex", 1744 1701 "serenity", 1745 1702 "tokio", 1746 - "tracing", 1747 1703 ] 1748 1704 1749 1705 [[package]] 1750 1706 name = "poise_macros" 1751 - version = "0.6.1" 1707 + version = "0.5.7" 1752 1708 source = "registry+https://github.com/rust-lang/crates.io-index" 1753 - checksum = "8fa2c123c961e78315cd3deac7663177f12be4460f5440dbf62a7ed37b1effea" 1709 + checksum = "4fb516a8cf4e4ae4bd7ef5819d08c6ca408976461a9bea3ee3eec5138ac070c1" 1754 1710 dependencies = [ 1755 - "darling", 1711 + "darling 0.14.4", 1756 1712 "proc-macro2", 1757 1713 "quote", 1758 - "syn 2.0.68", 1714 + "syn 1.0.103", 1759 1715 ] 1760 1716 1761 1717 [[package]] ··· 1831 1787 dependencies = [ 1832 1788 "bitflags 1.3.2", 1833 1789 "getopts", 1834 - "memchr", 1835 - "unicase", 1836 - ] 1837 - 1838 - [[package]] 1839 - name = "pulldown-cmark" 1840 - version = "0.9.6" 1841 - source = "registry+https://github.com/rust-lang/crates.io-index" 1842 - checksum = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b" 1843 - dependencies = [ 1844 - "bitflags 2.6.0", 1845 1790 "memchr", 1846 1791 "unicase", 1847 1792 ] ··· 2220 2165 2221 2166 [[package]] 2222 2167 name = "rustls" 2223 - version = "0.21.7" 2168 + version = "0.20.9" 2224 2169 source = "registry+https://github.com/rust-lang/crates.io-index" 2225 - checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" 2170 + checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" 2226 2171 dependencies = [ 2227 2172 "log", 2228 2173 "ring 0.16.20", 2229 - "rustls-webpki 0.101.6", 2230 2174 "sct", 2175 + "webpki", 2231 2176 ] 2232 2177 2233 2178 [[package]] 2234 2179 name = "rustls" 2235 - version = "0.22.4" 2180 + version = "0.21.7" 2236 2181 source = "registry+https://github.com/rust-lang/crates.io-index" 2237 - checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" 2182 + checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" 2238 2183 dependencies = [ 2239 2184 "log", 2240 - "ring 0.17.8", 2241 - "rustls-pki-types", 2242 - "rustls-webpki 0.102.4", 2243 - "subtle", 2244 - "zeroize", 2185 + "ring 0.16.20", 2186 + "rustls-webpki 0.101.6", 2187 + "sct", 2245 2188 ] 2246 2189 2247 2190 [[package]] ··· 2305 2248 ] 2306 2249 2307 2250 [[package]] 2251 + name = "rustversion" 2252 + version = "1.0.17" 2253 + source = "registry+https://github.com/rust-lang/crates.io-index" 2254 + checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" 2255 + 2256 + [[package]] 2308 2257 name = "ryu" 2309 2258 version = "1.0.11" 2310 2259 source = "registry+https://github.com/rust-lang/crates.io-index" 2311 2260 checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" 2312 - 2313 - [[package]] 2314 - name = "same-file" 2315 - version = "1.0.6" 2316 - source = "registry+https://github.com/rust-lang/crates.io-index" 2317 - checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2318 - dependencies = [ 2319 - "winapi-util", 2320 - ] 2321 2261 2322 2262 [[package]] 2323 2263 name = "schannel" ··· 2358 2298 checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" 2359 2299 2360 2300 [[package]] 2361 - name = "secrecy" 2362 - version = "0.8.0" 2363 - source = "registry+https://github.com/rust-lang/crates.io-index" 2364 - checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" 2365 - dependencies = [ 2366 - "serde", 2367 - "zeroize", 2368 - ] 2369 - 2370 - [[package]] 2371 2301 name = "security-framework" 2372 2302 version = "2.7.0" 2373 2303 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2391 2321 ] 2392 2322 2393 2323 [[package]] 2394 - name = "semver" 2395 - version = "1.0.23" 2396 - source = "registry+https://github.com/rust-lang/crates.io-index" 2397 - checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" 2398 - dependencies = [ 2399 - "serde", 2400 - ] 2401 - 2402 - [[package]] 2403 2324 name = "serde" 2404 2325 version = "1.0.203" 2405 2326 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2409 2330 ] 2410 2331 2411 2332 [[package]] 2412 - name = "serde_cow" 2413 - version = "0.1.0" 2333 + name = "serde-value" 2334 + version = "0.7.0" 2414 2335 source = "registry+https://github.com/rust-lang/crates.io-index" 2415 - checksum = "64e84ce5596a72f0c4c60759a10ff8c22d5eaf227b0dc2789c8746193309058b" 2336 + checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" 2416 2337 dependencies = [ 2338 + "ordered-float", 2417 2339 "serde", 2418 2340 ] 2419 2341 ··· 2475 2397 source = "registry+https://github.com/rust-lang/crates.io-index" 2476 2398 checksum = "bc03aad67c1d26b7de277d51c86892e7d9a0110a2fe44bf6b26cc569fba302d6" 2477 2399 dependencies = [ 2478 - "darling", 2400 + "darling 0.20.1", 2479 2401 "proc-macro2", 2480 2402 "quote", 2481 2403 "syn 2.0.68", ··· 2483 2405 2484 2406 [[package]] 2485 2407 name = "serenity" 2486 - version = "0.12.2" 2408 + version = "0.11.7" 2487 2409 source = "registry+https://github.com/rust-lang/crates.io-index" 2488 - checksum = "880a04106592d0a8f5bdacb1d935889bfbccb4a14f7074984d9cd857235d34ac" 2410 + checksum = "7a7a89cef23483fc9d4caf2df41e6d3928e18aada84c56abd237439d929622c6" 2489 2411 dependencies = [ 2490 - "arrayvec", 2491 2412 "async-trait", 2492 - "base64 0.22.1", 2493 - "bitflags 2.6.0", 2413 + "async-tungstenite", 2414 + "base64 0.21.2", 2415 + "bitflags 1.3.2", 2494 2416 "bytes", 2417 + "cfg-if", 2495 2418 "chrono", 2496 2419 "dashmap", 2497 2420 "flate2", 2498 2421 "futures", 2499 - "fxhash", 2422 + "mime", 2500 2423 "mime_guess", 2501 2424 "parking_lot 0.12.1", 2502 2425 "percent-encoding", 2503 2426 "reqwest 0.11.27", 2504 - "secrecy", 2427 + "rustversion", 2505 2428 "serde", 2506 - "serde_cow", 2429 + "serde-value", 2507 2430 "serde_json", 2508 2431 "time", 2509 2432 "tokio", 2510 - "tokio-tungstenite", 2511 2433 "tracing", 2512 2434 "typemap_rev", 2513 - "typesize", 2514 2435 "url", 2515 2436 ] 2516 2437 2517 2438 [[package]] 2518 - name = "sha1" 2519 - version = "0.10.6" 2439 + name = "sha-1" 2440 + version = "0.10.1" 2520 2441 source = "registry+https://github.com/rust-lang/crates.io-index" 2521 - checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" 2442 + checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" 2522 2443 dependencies = [ 2523 2444 "cfg-if", 2524 2445 "cpufeatures", ··· 2556 2477 checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" 2557 2478 2558 2479 [[package]] 2559 - name = "skeptic" 2560 - version = "0.13.7" 2561 - source = "registry+https://github.com/rust-lang/crates.io-index" 2562 - checksum = "16d23b015676c90a0f01c197bfdc786c20342c73a0afdda9025adb0bc42940a8" 2563 - dependencies = [ 2564 - "bytecount", 2565 - "cargo_metadata", 2566 - "error-chain", 2567 - "glob", 2568 - "pulldown-cmark 0.9.6", 2569 - "tempfile", 2570 - "walkdir", 2571 - ] 2572 - 2573 - [[package]] 2574 2480 name = "slab" 2575 2481 version = "0.4.7" 2576 2482 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2624 2530 checksum = "32c754386109f9adc8ca62513c51cf81cc2d8502588064103aa8e9f69b4276da" 2625 2531 dependencies = [ 2626 2532 "log", 2627 - "pulldown-cmark 0.7.2", 2533 + "pulldown-cmark", 2628 2534 ] 2629 2535 2630 2536 [[package]] ··· 2730 2636 ] 2731 2637 2732 2638 [[package]] 2733 - name = "tagptr" 2734 - version = "0.2.0" 2735 - source = "registry+https://github.com/rust-lang/crates.io-index" 2736 - checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" 2737 - 2738 - [[package]] 2739 2639 name = "tempfile" 2740 2640 version = "3.3.0" 2741 2641 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2884 2784 2885 2785 [[package]] 2886 2786 name = "tokio-rustls" 2887 - version = "0.24.1" 2787 + version = "0.23.4" 2888 2788 source = "registry+https://github.com/rust-lang/crates.io-index" 2889 - checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" 2789 + checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" 2890 2790 dependencies = [ 2891 - "rustls 0.21.7", 2791 + "rustls 0.20.9", 2892 2792 "tokio", 2793 + "webpki", 2893 2794 ] 2894 2795 2895 2796 [[package]] 2896 2797 name = "tokio-rustls" 2897 - version = "0.25.0" 2798 + version = "0.24.1" 2898 2799 source = "registry+https://github.com/rust-lang/crates.io-index" 2899 - checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" 2800 + checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" 2900 2801 dependencies = [ 2901 - "rustls 0.22.4", 2902 - "rustls-pki-types", 2802 + "rustls 0.21.7", 2903 2803 "tokio", 2904 2804 ] 2905 2805 ··· 2912 2812 "rustls 0.23.10", 2913 2813 "rustls-pki-types", 2914 2814 "tokio", 2915 - ] 2916 - 2917 - [[package]] 2918 - name = "tokio-tungstenite" 2919 - version = "0.21.0" 2920 - source = "registry+https://github.com/rust-lang/crates.io-index" 2921 - checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" 2922 - dependencies = [ 2923 - "futures-util", 2924 - "log", 2925 - "rustls 0.22.4", 2926 - "rustls-pki-types", 2927 - "tokio", 2928 - "tokio-rustls 0.25.0", 2929 - "tungstenite", 2930 - "webpki-roots 0.26.3", 2931 2815 ] 2932 2816 2933 2817 [[package]] ··· 3039 2923 ] 3040 2924 3041 2925 [[package]] 3042 - name = "triomphe" 3043 - version = "0.1.13" 3044 - source = "registry+https://github.com/rust-lang/crates.io-index" 3045 - checksum = "e6631e42e10b40c0690bf92f404ebcfe6e1fdb480391d15f17cc8e96eeed5369" 3046 - 3047 - [[package]] 3048 2926 name = "try-lock" 3049 2927 version = "0.2.3" 3050 2928 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3052 2930 3053 2931 [[package]] 3054 2932 name = "tungstenite" 3055 - version = "0.21.0" 2933 + version = "0.17.3" 3056 2934 source = "registry+https://github.com/rust-lang/crates.io-index" 3057 - checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" 2935 + checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" 3058 2936 dependencies = [ 2937 + "base64 0.13.1", 3059 2938 "byteorder", 3060 2939 "bytes", 3061 - "data-encoding", 3062 - "http 1.1.0", 2940 + "http 0.2.8", 3063 2941 "httparse", 3064 2942 "log", 3065 2943 "rand", 3066 - "rustls 0.22.4", 3067 - "rustls-pki-types", 3068 - "sha1", 2944 + "rustls 0.20.9", 2945 + "sha-1", 3069 2946 "thiserror", 3070 2947 "url", 3071 2948 "utf-8", 2949 + "webpki", 3072 2950 ] 3073 2951 3074 2952 [[package]] 3075 2953 name = "typemap_rev" 3076 - version = "0.3.0" 2954 + version = "0.1.5" 3077 2955 source = "registry+https://github.com/rust-lang/crates.io-index" 3078 - checksum = "74b08b0c1257381af16a5c3605254d529d3e7e109f3c62befc5d168968192998" 2956 + checksum = "ed5b74f0a24b5454580a79abb6994393b09adf0ab8070f15827cb666255de155" 3079 2957 3080 2958 [[package]] 3081 2959 name = "typenum" ··· 3084 2962 checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" 3085 2963 3086 2964 [[package]] 3087 - name = "typesize" 3088 - version = "0.1.7" 3089 - source = "registry+https://github.com/rust-lang/crates.io-index" 3090 - checksum = "eb704842c709bc76f63e99e704cb208beeccca2abbabd0d9aec02e48ca1cee0f" 3091 - dependencies = [ 3092 - "chrono", 3093 - "dashmap", 3094 - "hashbrown 0.14.5", 3095 - "mini-moka", 3096 - "parking_lot 0.12.1", 3097 - "secrecy", 3098 - "serde_json", 3099 - "time", 3100 - "typesize-derive", 3101 - "url", 3102 - ] 3103 - 3104 - [[package]] 3105 - name = "typesize-derive" 3106 - version = "0.1.7" 3107 - source = "registry+https://github.com/rust-lang/crates.io-index" 3108 - checksum = "905e88c2a4cc27686bd57e495121d451f027e441388a67f773be729ad4be1ea8" 3109 - dependencies = [ 3110 - "proc-macro2", 3111 - "quote", 3112 - "syn 2.0.68", 3113 - ] 3114 - 3115 - [[package]] 3116 2965 name = "unicase" 3117 2966 version = "2.6.0" 3118 2967 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3247 3096 checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 3248 3097 3249 3098 [[package]] 3250 - name = "walkdir" 3251 - version = "2.5.0" 3252 - source = "registry+https://github.com/rust-lang/crates.io-index" 3253 - checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 3254 - dependencies = [ 3255 - "same-file", 3256 - "winapi-util", 3257 - ] 3258 - 3259 - [[package]] 3260 3099 name = "want" 3261 3100 version = "0.3.0" 3262 3101 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3359 3198 dependencies = [ 3360 3199 "js-sys", 3361 3200 "wasm-bindgen", 3201 + ] 3202 + 3203 + [[package]] 3204 + name = "webpki" 3205 + version = "0.22.4" 3206 + source = "registry+https://github.com/rust-lang/crates.io-index" 3207 + checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" 3208 + dependencies = [ 3209 + "ring 0.17.8", 3210 + "untrusted 0.9.0", 3211 + ] 3212 + 3213 + [[package]] 3214 + name = "webpki-roots" 3215 + version = "0.22.6" 3216 + source = "registry+https://github.com/rust-lang/crates.io-index" 3217 + checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" 3218 + dependencies = [ 3219 + "webpki", 3362 3220 ] 3363 3221 3364 3222 [[package]]
+1 -1
Cargo.toml
··· 34 34 maplit = "1.0.2" 35 35 colored = "2.1.0" 36 36 strip_markdown = "0.2.0" 37 - reqwest = "0.12.5" 37 + reqwest = { version = "0.12.5", features = ["json"] } 38 38 futures = "0.3.30" 39 39 redis = { version = "0.25.4", features = ["aio", "tokio-comp"] } 40 40 merge = { version = "0.1.0", features = ["std", "num", "derive"] }
+2 -2
src/commands/database.rs
··· 541 541 ctx.defer_ephemeral().await?; 542 542 543 543 // Create a client (without sending any request so that can't fail) 544 - let client = Client::new(MEILISEARCH_HOST, MEILISEARCH_API_KEY); 544 + let client = Client::new(MEILISEARCH_HOST, Some(MEILISEARCH_API_KEY)); 545 545 546 546 // connect to index "entries" 547 - let entries = client.index("entries"); 547 + let entries = client?.index("entries"); 548 548 549 549 let msg = ctx 550 550 .send(|b| b.content("Connected to search engine"))
+1 -1
src/commands/tools.rs
··· 293 293 // TODO: set your own channel ID! 294 294 295 295 // log user name, id, guild name, id and url to channel 296 - serenity::ChannelId() 296 + serenity::ChannelId(00000000000000000) 297 297 .send_message(ctx, |f| { 298 298 f.embed(|e| { 299 299 e.title("User requested invite info")