tangled.org trending bluesky account

more clean up

Changed files
+80 -623
bot
logic
slingshot
+68 -589
Cargo.lock
··· 116 116 checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" 117 117 118 118 [[package]] 119 - name = "async-attributes" 120 - version = "1.1.2" 121 - source = "registry+https://github.com/rust-lang/crates.io-index" 122 - checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" 123 - dependencies = [ 124 - "quote", 125 - "syn 1.0.109", 126 - ] 127 - 128 - [[package]] 129 - name = "async-channel" 130 - version = "1.9.0" 131 - source = "registry+https://github.com/rust-lang/crates.io-index" 132 - checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" 133 - dependencies = [ 134 - "concurrent-queue", 135 - "event-listener 2.5.3", 136 - "futures-core", 137 - ] 138 - 139 - [[package]] 140 - name = "async-channel" 141 - version = "2.5.0" 142 - source = "registry+https://github.com/rust-lang/crates.io-index" 143 - checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" 144 - dependencies = [ 145 - "concurrent-queue", 146 - "event-listener-strategy", 147 - "futures-core", 148 - "pin-project-lite", 149 - ] 150 - 151 - [[package]] 152 119 name = "async-compression" 153 120 version = "0.4.23" 154 121 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 162 129 ] 163 130 164 131 [[package]] 165 - name = "async-executor" 166 - version = "1.13.3" 167 - source = "registry+https://github.com/rust-lang/crates.io-index" 168 - checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" 169 - dependencies = [ 170 - "async-task", 171 - "concurrent-queue", 172 - "fastrand", 173 - "futures-lite", 174 - "pin-project-lite", 175 - "slab", 176 - ] 177 - 178 - [[package]] 179 - name = "async-global-executor" 180 - version = "2.4.1" 181 - source = "registry+https://github.com/rust-lang/crates.io-index" 182 - checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" 183 - dependencies = [ 184 - "async-channel 2.5.0", 185 - "async-executor", 186 - "async-io", 187 - "async-lock", 188 - "blocking", 189 - "futures-lite", 190 - "once_cell", 191 - ] 192 - 193 - [[package]] 194 - name = "async-io" 195 - version = "2.6.0" 196 - source = "registry+https://github.com/rust-lang/crates.io-index" 197 - checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" 198 - dependencies = [ 199 - "autocfg", 200 - "cfg-if", 201 - "concurrent-queue", 202 - "futures-io", 203 - "futures-lite", 204 - "parking", 205 - "polling", 206 - "rustix 1.0.7", 207 - "slab", 208 - "windows-sys 0.61.0", 209 - ] 210 - 211 - [[package]] 212 132 name = "async-lock" 213 133 version = "3.4.0" 214 134 source = "registry+https://github.com/rust-lang/crates.io-index" 215 135 checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" 216 136 dependencies = [ 217 - "event-listener 5.4.0", 137 + "event-listener", 218 138 "event-listener-strategy", 219 139 "pin-project-lite", 220 140 ] 221 141 222 142 [[package]] 223 - name = "async-process" 224 - version = "2.5.0" 225 - source = "registry+https://github.com/rust-lang/crates.io-index" 226 - checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" 227 - dependencies = [ 228 - "async-channel 2.5.0", 229 - "async-io", 230 - "async-lock", 231 - "async-signal", 232 - "async-task", 233 - "blocking", 234 - "cfg-if", 235 - "event-listener 5.4.0", 236 - "futures-lite", 237 - "rustix 1.0.7", 238 - ] 239 - 240 - [[package]] 241 - name = "async-signal" 242 - version = "0.2.13" 243 - source = "registry+https://github.com/rust-lang/crates.io-index" 244 - checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" 245 - dependencies = [ 246 - "async-io", 247 - "async-lock", 248 - "atomic-waker", 249 - "cfg-if", 250 - "futures-core", 251 - "futures-io", 252 - "rustix 1.0.7", 253 - "signal-hook-registry", 254 - "slab", 255 - "windows-sys 0.61.0", 256 - ] 257 - 258 - [[package]] 259 - name = "async-std" 260 - version = "1.13.2" 261 - source = "registry+https://github.com/rust-lang/crates.io-index" 262 - checksum = "2c8e079a4ab67ae52b7403632e4618815d6db36d2a010cfe41b02c1b1578f93b" 263 - dependencies = [ 264 - "async-attributes", 265 - "async-channel 1.9.0", 266 - "async-global-executor", 267 - "async-io", 268 - "async-lock", 269 - "async-process", 270 - "crossbeam-utils", 271 - "futures-channel", 272 - "futures-core", 273 - "futures-io", 274 - "futures-lite", 275 - "gloo-timers", 276 - "kv-log-macro", 277 - "log", 278 - "memchr", 279 - "once_cell", 280 - "pin-project-lite", 281 - "pin-utils", 282 - "slab", 283 - "wasm-bindgen-futures", 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 143 name = "async-trait" 294 144 version = "0.1.88" 295 145 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 297 147 dependencies = [ 298 148 "proc-macro2", 299 149 "quote", 300 - "syn 2.0.101", 301 - ] 302 - 303 - [[package]] 304 - name = "async-tungstenite" 305 - version = "0.27.0" 306 - source = "registry+https://github.com/rust-lang/crates.io-index" 307 - checksum = "c5359381fd414fbdb272c48f2111c16cb0bb3447bfacd59311ff3736da9f6664" 308 - dependencies = [ 309 - "async-std", 310 - "futures-io", 311 - "futures-util", 312 - "log", 313 - "pin-project-lite", 314 - "tokio", 315 - "tungstenite 0.23.0", 150 + "syn", 316 151 ] 317 152 318 153 [[package]] ··· 513 348 ] 514 349 515 350 [[package]] 516 - name = "blocking" 517 - version = "1.6.2" 518 - source = "registry+https://github.com/rust-lang/crates.io-index" 519 - checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21" 520 - dependencies = [ 521 - "async-channel 2.5.0", 522 - "async-task", 523 - "futures-io", 524 - "futures-lite", 525 - "piper", 526 - ] 527 - 528 - [[package]] 529 351 name = "bon" 530 352 version = "3.6.3" 531 353 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 547 369 "proc-macro2", 548 370 "quote", 549 371 "rustversion", 550 - "syn 2.0.101", 372 + "syn", 551 373 ] 552 374 553 375 [[package]] ··· 558 380 "async-trait", 559 381 "atproto_api", 560 382 "atrium-api", 561 - "chromiumoxide", 562 383 "dotenv", 563 384 "env_logger", 564 385 "log", ··· 609 430 version = "1.10.1" 610 431 source = "registry+https://github.com/rust-lang/crates.io-index" 611 432 checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 612 - dependencies = [ 613 - "serde", 614 - ] 615 433 616 434 [[package]] 617 435 name = "cc" ··· 637 455 checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 638 456 639 457 [[package]] 640 - name = "chromiumoxide" 641 - version = "0.7.0" 642 - source = "registry+https://github.com/rust-lang/crates.io-index" 643 - checksum = "8380ce7721cc895fe8a184c49d615fe755b0c9a3d7986355cee847439fff907f" 644 - dependencies = [ 645 - "async-std", 646 - "async-tungstenite", 647 - "base64 0.22.1", 648 - "bytes", 649 - "cfg-if", 650 - "chromiumoxide_cdp", 651 - "chromiumoxide_types", 652 - "dunce", 653 - "fnv", 654 - "futures", 655 - "futures-timer", 656 - "pin-project-lite", 657 - "reqwest", 658 - "serde", 659 - "serde_json", 660 - "thiserror 1.0.69", 661 - "tokio", 662 - "tracing", 663 - "url", 664 - "which", 665 - "winreg", 666 - ] 667 - 668 - [[package]] 669 - name = "chromiumoxide_cdp" 670 - version = "0.7.0" 671 - source = "registry+https://github.com/rust-lang/crates.io-index" 672 - checksum = "cadbfb52fa0aeca43626f6c42ca04184b108b786f8e45198dc41a42aedcf2e50" 673 - dependencies = [ 674 - "chromiumoxide_pdl", 675 - "chromiumoxide_types", 676 - "serde", 677 - "serde_json", 678 - ] 679 - 680 - [[package]] 681 - name = "chromiumoxide_pdl" 682 - version = "0.7.0" 683 - source = "registry+https://github.com/rust-lang/crates.io-index" 684 - checksum = "c197aeb42872c5d4c923e7d8ad46d99a58fd0fec37f6491554ff677a6791d3c9" 685 - dependencies = [ 686 - "chromiumoxide_types", 687 - "either", 688 - "heck 0.4.1", 689 - "once_cell", 690 - "proc-macro2", 691 - "quote", 692 - "regex", 693 - "serde", 694 - "serde_json", 695 - ] 696 - 697 - [[package]] 698 - name = "chromiumoxide_types" 699 - version = "0.7.0" 700 - source = "registry+https://github.com/rust-lang/crates.io-index" 701 - checksum = "923486888790528d55ac37ec2f7483ed19eb8ccbb44701878e5856d1ceadf5d8" 702 - dependencies = [ 703 - "serde", 704 - "serde_json", 705 - ] 706 - 707 - [[package]] 708 458 name = "chrono" 709 459 version = "0.4.41" 710 460 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 716 466 "num-traits", 717 467 "serde", 718 468 "wasm-bindgen", 719 - "windows-link 0.1.1", 469 + "windows-link", 720 470 ] 721 471 722 472 [[package]] ··· 734 484 ] 735 485 736 486 [[package]] 737 - name = "clap" 738 - version = "4.5.38" 739 - source = "registry+https://github.com/rust-lang/crates.io-index" 740 - checksum = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000" 741 - dependencies = [ 742 - "clap_builder", 743 - "clap_derive", 744 - ] 745 - 746 - [[package]] 747 - name = "clap_builder" 748 - version = "4.5.38" 749 - source = "registry+https://github.com/rust-lang/crates.io-index" 750 - checksum = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120" 751 - dependencies = [ 752 - "anstream", 753 - "anstyle", 754 - "clap_lex", 755 - "strsim", 756 - ] 757 - 758 - [[package]] 759 - name = "clap_derive" 760 - version = "4.5.32" 761 - source = "registry+https://github.com/rust-lang/crates.io-index" 762 - checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" 763 - dependencies = [ 764 - "heck 0.5.0", 765 - "proc-macro2", 766 - "quote", 767 - "syn 2.0.101", 768 - ] 769 - 770 - [[package]] 771 - name = "clap_lex" 772 - version = "0.7.4" 773 - source = "registry+https://github.com/rust-lang/crates.io-index" 774 - checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" 775 - 776 - [[package]] 777 487 name = "colorchoice" 778 488 version = "1.0.3" 779 489 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 928 638 "proc-macro2", 929 639 "quote", 930 640 "strsim", 931 - "syn 2.0.101", 641 + "syn", 932 642 ] 933 643 934 644 [[package]] ··· 939 649 dependencies = [ 940 650 "darling_core", 941 651 "quote", 942 - "syn 2.0.101", 652 + "syn", 943 653 ] 944 654 945 655 [[package]] ··· 979 689 checksum = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976" 980 690 dependencies = [ 981 691 "data-encoding", 982 - "syn 2.0.101", 692 + "syn", 983 693 ] 984 694 985 695 [[package]] ··· 1011 721 "darling", 1012 722 "proc-macro2", 1013 723 "quote", 1014 - "syn 2.0.101", 724 + "syn", 1015 725 ] 1016 726 1017 727 [[package]] ··· 1021 731 checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" 1022 732 dependencies = [ 1023 733 "derive_builder_core", 1024 - "syn 2.0.101", 734 + "syn", 1025 735 ] 1026 736 1027 737 [[package]] ··· 1044 754 dependencies = [ 1045 755 "proc-macro2", 1046 756 "quote", 1047 - "syn 2.0.101", 757 + "syn", 1048 758 ] 1049 759 1050 760 [[package]] ··· 1058 768 version = "0.15.7" 1059 769 source = "registry+https://github.com/rust-lang/crates.io-index" 1060 770 checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" 1061 - 1062 - [[package]] 1063 - name = "dunce" 1064 - version = "1.0.5" 1065 - source = "registry+https://github.com/rust-lang/crates.io-index" 1066 - checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" 1067 771 1068 772 [[package]] 1069 773 name = "ecdsa" ··· 1166 870 1167 871 [[package]] 1168 872 name = "event-listener" 1169 - version = "2.5.3" 1170 - source = "registry+https://github.com/rust-lang/crates.io-index" 1171 - checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" 1172 - 1173 - [[package]] 1174 - name = "event-listener" 1175 873 version = "5.4.0" 1176 874 source = "registry+https://github.com/rust-lang/crates.io-index" 1177 875 checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" ··· 1187 885 source = "registry+https://github.com/rust-lang/crates.io-index" 1188 886 checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" 1189 887 dependencies = [ 1190 - "event-listener 5.4.0", 888 + "event-listener", 1191 889 "pin-project-lite", 1192 890 ] 1193 891 ··· 1258 956 1259 957 [[package]] 1260 958 name = "form_urlencoded" 1261 - version = "1.2.1" 959 + version = "1.2.2" 1262 960 source = "registry+https://github.com/rust-lang/crates.io-index" 1263 - checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 961 + checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" 1264 962 dependencies = [ 1265 963 "percent-encoding", 1266 964 ] 1267 965 1268 966 [[package]] 1269 - name = "futures" 1270 - version = "0.3.31" 1271 - source = "registry+https://github.com/rust-lang/crates.io-index" 1272 - checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" 1273 - dependencies = [ 1274 - "futures-channel", 1275 - "futures-core", 1276 - "futures-executor", 1277 - "futures-io", 1278 - "futures-sink", 1279 - "futures-task", 1280 - "futures-util", 1281 - ] 1282 - 1283 - [[package]] 1284 967 name = "futures-channel" 1285 968 version = "0.3.31" 1286 969 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1325 1008 checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" 1326 1009 1327 1010 [[package]] 1328 - name = "futures-lite" 1329 - version = "2.6.1" 1330 - source = "registry+https://github.com/rust-lang/crates.io-index" 1331 - checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" 1332 - dependencies = [ 1333 - "fastrand", 1334 - "futures-core", 1335 - "futures-io", 1336 - "parking", 1337 - "pin-project-lite", 1338 - ] 1339 - 1340 - [[package]] 1341 1011 name = "futures-macro" 1342 1012 version = "0.3.31" 1343 1013 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1345 1015 dependencies = [ 1346 1016 "proc-macro2", 1347 1017 "quote", 1348 - "syn 2.0.101", 1018 + "syn", 1349 1019 ] 1350 1020 1351 1021 [[package]] ··· 1361 1031 checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 1362 1032 1363 1033 [[package]] 1364 - name = "futures-timer" 1365 - version = "3.0.3" 1366 - source = "registry+https://github.com/rust-lang/crates.io-index" 1367 - checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" 1368 - 1369 - [[package]] 1370 1034 name = "futures-util" 1371 1035 version = "0.3.31" 1372 1036 source = "registry+https://github.com/rust-lang/crates.io-index" 1373 1037 checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 1374 1038 dependencies = [ 1375 - "futures-channel", 1376 1039 "futures-core", 1377 1040 "futures-io", 1378 1041 "futures-macro", ··· 1443 1106 checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" 1444 1107 1445 1108 [[package]] 1446 - name = "gloo-timers" 1447 - version = "0.3.0" 1448 - source = "registry+https://github.com/rust-lang/crates.io-index" 1449 - checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" 1450 - dependencies = [ 1451 - "futures-channel", 1452 - "futures-core", 1453 - "js-sys", 1454 - "wasm-bindgen", 1455 - ] 1456 - 1457 - [[package]] 1458 - name = "gloo-utils" 1459 - version = "0.2.0" 1460 - source = "registry+https://github.com/rust-lang/crates.io-index" 1461 - checksum = "0b5555354113b18c547c1d3a98fbf7fb32a9ff4f6fa112ce823a21641a0ba3aa" 1462 - dependencies = [ 1463 - "js-sys", 1464 - "serde", 1465 - "serde_json", 1466 - "wasm-bindgen", 1467 - "web-sys", 1468 - ] 1469 - 1470 - [[package]] 1471 1109 name = "group" 1472 1110 version = "0.13.0" 1473 1111 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1525 1163 1526 1164 [[package]] 1527 1165 name = "heck" 1528 - version = "0.4.1" 1529 - source = "registry+https://github.com/rust-lang/crates.io-index" 1530 - checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 1531 - 1532 - [[package]] 1533 - name = "heck" 1534 1166 version = "0.5.0" 1535 1167 source = "registry+https://github.com/rust-lang/crates.io-index" 1536 1168 checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 1537 - 1538 - [[package]] 1539 - name = "hermit-abi" 1540 - version = "0.5.2" 1541 - source = "registry+https://github.com/rust-lang/crates.io-index" 1542 - checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" 1543 1169 1544 1170 [[package]] 1545 1171 name = "hex" ··· 1816 1442 1817 1443 [[package]] 1818 1444 name = "idna" 1819 - version = "1.0.3" 1445 + version = "1.1.0" 1820 1446 source = "registry+https://github.com/rust-lang/crates.io-index" 1821 - checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" 1447 + checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" 1822 1448 dependencies = [ 1823 1449 "idna_adapter", 1824 1450 "smallvec", ··· 1895 1521 dependencies = [ 1896 1522 "proc-macro2", 1897 1523 "quote", 1898 - "syn 2.0.101", 1524 + "syn", 1899 1525 ] 1900 1526 1901 1527 [[package]] ··· 1953 1579 ] 1954 1580 1955 1581 [[package]] 1956 - name = "kv-log-macro" 1957 - version = "1.0.7" 1958 - source = "registry+https://github.com/rust-lang/crates.io-index" 1959 - checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" 1960 - dependencies = [ 1961 - "log", 1962 - ] 1963 - 1964 - [[package]] 1965 1582 name = "langtag" 1966 1583 version = "0.3.4" 1967 1584 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2015 1632 2016 1633 [[package]] 2017 1634 name = "linux-raw-sys" 2018 - version = "0.4.15" 2019 - source = "registry+https://github.com/rust-lang/crates.io-index" 2020 - checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" 2021 - 2022 - [[package]] 2023 - name = "linux-raw-sys" 2024 1635 version = "0.9.4" 2025 1636 source = "registry+https://github.com/rust-lang/crates.io-index" 2026 1637 checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" ··· 2046 1657 version = "0.4.27" 2047 1658 source = "registry+https://github.com/rust-lang/crates.io-index" 2048 1659 checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" 2049 - dependencies = [ 2050 - "value-bag", 2051 - ] 2052 1660 2053 1661 [[package]] 2054 1662 name = "logic" 2055 1663 version = "0.1.0" 2056 1664 dependencies = [ 2057 - "async-trait", 2058 1665 "atrium-api", 2059 1666 "atrium-common", 2060 1667 "atrium-identity", 2061 1668 "atrium-oauth", 2062 - "atrium-xrpc-client", 2063 1669 "bsky-sdk", 2064 - "clap", 2065 - "flume", 2066 - "getrandom 0.2.16", 2067 - "gloo-utils", 2068 - "js-sys", 2069 1670 "reqwest", 2070 - "rocketman", 2071 1671 "serde", 2072 - "thiserror 2.0.12", 2073 - "tokio", 2074 - "tungstenite 0.20.1", 2075 - "wasm-bindgen", 2076 - "web-sys", 1672 + "thiserror 2.0.16", 2077 1673 ] 2078 1674 2079 1675 [[package]] ··· 2175 1771 "crossbeam-channel", 2176 1772 "crossbeam-epoch", 2177 1773 "crossbeam-utils", 2178 - "event-listener 5.4.0", 1774 + "event-listener", 2179 1775 "futures-util", 2180 1776 "loom", 2181 1777 "parking_lot", ··· 2330 1926 dependencies = [ 2331 1927 "proc-macro2", 2332 1928 "quote", 2333 - "syn 2.0.101", 1929 + "syn", 2334 1930 ] 2335 1931 2336 1932 [[package]] ··· 2409 2005 2410 2006 [[package]] 2411 2007 name = "percent-encoding" 2412 - version = "2.3.1" 2008 + version = "2.3.2" 2413 2009 source = "registry+https://github.com/rust-lang/crates.io-index" 2414 - checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 2010 + checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" 2415 2011 2416 2012 [[package]] 2417 2013 name = "pin-project-lite" ··· 2426 2022 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 2427 2023 2428 2024 [[package]] 2429 - name = "piper" 2430 - version = "0.2.4" 2431 - source = "registry+https://github.com/rust-lang/crates.io-index" 2432 - checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" 2433 - dependencies = [ 2434 - "atomic-waker", 2435 - "fastrand", 2436 - "futures-io", 2437 - ] 2438 - 2439 - [[package]] 2440 2025 name = "pkcs1" 2441 2026 version = "0.7.5" 2442 2027 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2464 2049 checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 2465 2050 2466 2051 [[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 1.0.7", 2477 - "windows-sys 0.61.0", 2478 - ] 2479 - 2480 - [[package]] 2481 2052 name = "portable-atomic" 2482 2053 version = "1.11.0" 2483 2054 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2517 2088 checksum = "664ec5419c51e34154eec046ebcba56312d5a2fc3b09a06da188e1ad21afadf6" 2518 2089 dependencies = [ 2519 2090 "proc-macro2", 2520 - "syn 2.0.101", 2091 + "syn", 2521 2092 ] 2522 2093 2523 2094 [[package]] ··· 2567 2138 "rustc-hash", 2568 2139 "rustls 0.23.31", 2569 2140 "socket2", 2570 - "thiserror 2.0.12", 2141 + "thiserror 2.0.16", 2571 2142 "tokio", 2572 2143 "tracing", 2573 2144 "web-time", ··· 2588 2159 "rustls 0.23.31", 2589 2160 "rustls-pki-types", 2590 2161 "slab", 2591 - "thiserror 2.0.12", 2162 + "thiserror 2.0.16", 2592 2163 "tinyvec", 2593 2164 "tracing", 2594 2165 "web-time", ··· 2877 2448 2878 2449 [[package]] 2879 2450 name = "rustix" 2880 - version = "0.38.44" 2881 - source = "registry+https://github.com/rust-lang/crates.io-index" 2882 - checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" 2883 - dependencies = [ 2884 - "bitflags", 2885 - "errno", 2886 - "libc", 2887 - "linux-raw-sys 0.4.15", 2888 - "windows-sys 0.59.0", 2889 - ] 2890 - 2891 - [[package]] 2892 - name = "rustix" 2893 2451 version = "1.0.7" 2894 2452 source = "registry+https://github.com/rust-lang/crates.io-index" 2895 2453 checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" ··· 2897 2455 "bitflags", 2898 2456 "errno", 2899 2457 "libc", 2900 - "linux-raw-sys 0.9.4", 2458 + "linux-raw-sys", 2901 2459 "windows-sys 0.59.0", 2902 2460 ] 2903 2461 ··· 3109 2667 dependencies = [ 3110 2668 "proc-macro2", 3111 2669 "quote", 3112 - "syn 2.0.101", 2670 + "syn", 3113 2671 ] 3114 2672 3115 2673 [[package]] ··· 3222 2780 "reqwest", 3223 2781 "serde", 3224 2782 "serde_json", 3225 - "thiserror 1.0.69", 3226 - "tokio", 2783 + "thiserror 2.0.16", 3227 2784 "url", 3228 2785 ] 3229 2786 ··· 3290 2847 "crc", 3291 2848 "crossbeam-queue", 3292 2849 "either", 3293 - "event-listener 5.4.0", 2850 + "event-listener", 3294 2851 "futures-core", 3295 2852 "futures-intrusive", 3296 2853 "futures-io", ··· 3306 2863 "serde_json", 3307 2864 "sha2", 3308 2865 "smallvec", 3309 - "thiserror 2.0.12", 2866 + "thiserror 2.0.16", 3310 2867 "tokio", 3311 2868 "tokio-stream", 3312 2869 "tracing", ··· 3323 2880 "quote", 3324 2881 "sqlx-core", 3325 2882 "sqlx-macros-core", 3326 - "syn 2.0.101", 2883 + "syn", 3327 2884 ] 3328 2885 3329 2886 [[package]] ··· 3334 2891 dependencies = [ 3335 2892 "dotenvy", 3336 2893 "either", 3337 - "heck 0.5.0", 2894 + "heck", 3338 2895 "hex", 3339 2896 "once_cell", 3340 2897 "proc-macro2", ··· 3346 2903 "sqlx-mysql", 3347 2904 "sqlx-postgres", 3348 2905 "sqlx-sqlite", 3349 - "syn 2.0.101", 2906 + "syn", 3350 2907 "tokio", 3351 2908 "url", 3352 2909 ] ··· 3389 2946 "smallvec", 3390 2947 "sqlx-core", 3391 2948 "stringprep", 3392 - "thiserror 2.0.12", 2949 + "thiserror 2.0.16", 3393 2950 "tracing", 3394 2951 "whoami", 3395 2952 ] ··· 3427 2984 "smallvec", 3428 2985 "sqlx-core", 3429 2986 "stringprep", 3430 - "thiserror 2.0.12", 2987 + "thiserror 2.0.16", 3431 2988 "tracing", 3432 2989 "whoami", 3433 2990 ] ··· 3452 3009 "serde", 3453 3010 "serde_urlencoded", 3454 3011 "sqlx-core", 3455 - "thiserror 2.0.12", 3012 + "thiserror 2.0.16", 3456 3013 "tracing", 3457 3014 "url", 3458 3015 ] ··· 3488 3045 3489 3046 [[package]] 3490 3047 name = "syn" 3491 - version = "1.0.109" 3492 - source = "registry+https://github.com/rust-lang/crates.io-index" 3493 - checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 3494 - dependencies = [ 3495 - "proc-macro2", 3496 - "quote", 3497 - "unicode-ident", 3498 - ] 3499 - 3500 - [[package]] 3501 - name = "syn" 3502 3048 version = "2.0.101" 3503 3049 source = "registry+https://github.com/rust-lang/crates.io-index" 3504 3050 checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" ··· 3525 3071 dependencies = [ 3526 3072 "proc-macro2", 3527 3073 "quote", 3528 - "syn 2.0.101", 3074 + "syn", 3529 3075 ] 3530 3076 3531 3077 [[package]] ··· 3564 3110 "fastrand", 3565 3111 "getrandom 0.3.3", 3566 3112 "once_cell", 3567 - "rustix 1.0.7", 3113 + "rustix", 3568 3114 "windows-sys 0.59.0", 3569 3115 ] 3570 3116 ··· 3579 3125 3580 3126 [[package]] 3581 3127 name = "thiserror" 3582 - version = "2.0.12" 3128 + version = "2.0.16" 3583 3129 source = "registry+https://github.com/rust-lang/crates.io-index" 3584 - checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" 3130 + checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0" 3585 3131 dependencies = [ 3586 - "thiserror-impl 2.0.12", 3132 + "thiserror-impl 2.0.16", 3587 3133 ] 3588 3134 3589 3135 [[package]] ··· 3594 3140 dependencies = [ 3595 3141 "proc-macro2", 3596 3142 "quote", 3597 - "syn 2.0.101", 3143 + "syn", 3598 3144 ] 3599 3145 3600 3146 [[package]] 3601 3147 name = "thiserror-impl" 3602 - version = "2.0.12" 3148 + version = "2.0.16" 3603 3149 source = "registry+https://github.com/rust-lang/crates.io-index" 3604 - checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" 3150 + checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960" 3605 3151 dependencies = [ 3606 3152 "proc-macro2", 3607 3153 "quote", 3608 - "syn 2.0.101", 3154 + "syn", 3609 3155 ] 3610 3156 3611 3157 [[package]] ··· 3669 3215 dependencies = [ 3670 3216 "proc-macro2", 3671 3217 "quote", 3672 - "syn 2.0.101", 3218 + "syn", 3673 3219 ] 3674 3220 3675 3221 [[package]] ··· 3725 3271 "rustls-native-certs", 3726 3272 "tokio", 3727 3273 "tokio-rustls 0.24.1", 3728 - "tungstenite 0.20.1", 3274 + "tungstenite", 3729 3275 "webpki-roots 0.25.4", 3730 3276 ] 3731 3277 ··· 3789 3335 dependencies = [ 3790 3336 "proc-macro2", 3791 3337 "quote", 3792 - "syn 2.0.101", 3338 + "syn", 3793 3339 ] 3794 3340 3795 3341 [[package]] ··· 3839 3385 dependencies = [ 3840 3386 "proc-macro2", 3841 3387 "quote", 3842 - "syn 2.0.101", 3388 + "syn", 3843 3389 ] 3844 3390 3845 3391 [[package]] ··· 3869 3415 ] 3870 3416 3871 3417 [[package]] 3872 - name = "tungstenite" 3873 - version = "0.23.0" 3874 - source = "registry+https://github.com/rust-lang/crates.io-index" 3875 - checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" 3876 - dependencies = [ 3877 - "byteorder", 3878 - "bytes", 3879 - "data-encoding", 3880 - "http 1.3.1", 3881 - "httparse", 3882 - "log", 3883 - "rand 0.8.5", 3884 - "sha1", 3885 - "thiserror 1.0.69", 3886 - "utf-8", 3887 - ] 3888 - 3889 - [[package]] 3890 3418 name = "typenum" 3891 3419 version = "1.18.0" 3892 3420 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3939 3467 3940 3468 [[package]] 3941 3469 name = "url" 3942 - version = "2.5.4" 3470 + version = "2.5.7" 3943 3471 source = "registry+https://github.com/rust-lang/crates.io-index" 3944 - checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" 3472 + checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" 3945 3473 dependencies = [ 3946 3474 "form_urlencoded", 3947 3475 "idna", 3948 3476 "percent-encoding", 3477 + "serde", 3949 3478 ] 3950 3479 3951 3480 [[package]] ··· 3988 3517 checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" 3989 3518 3990 3519 [[package]] 3991 - name = "value-bag" 3992 - version = "1.11.1" 3993 - source = "registry+https://github.com/rust-lang/crates.io-index" 3994 - checksum = "943ce29a8a743eb10d6082545d861b24f9d1b160b7d741e0f2cdf726bec909c5" 3995 - 3996 - [[package]] 3997 3520 name = "vcpkg" 3998 3521 version = "0.2.15" 3999 3522 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4044 3567 "cfg-if", 4045 3568 "once_cell", 4046 3569 "rustversion", 4047 - "serde_json", 4048 3570 "wasm-bindgen-macro", 4049 3571 ] 4050 3572 ··· 4058 3580 "log", 4059 3581 "proc-macro2", 4060 3582 "quote", 4061 - "syn 2.0.101", 3583 + "syn", 4062 3584 "wasm-bindgen-shared", 4063 3585 ] 4064 3586 ··· 4093 3615 dependencies = [ 4094 3616 "proc-macro2", 4095 3617 "quote", 4096 - "syn 2.0.101", 3618 + "syn", 4097 3619 "wasm-bindgen-backend", 4098 3620 "wasm-bindgen-shared", 4099 3621 ] ··· 4152 3674 ] 4153 3675 4154 3676 [[package]] 4155 - name = "which" 4156 - version = "6.0.3" 4157 - source = "registry+https://github.com/rust-lang/crates.io-index" 4158 - checksum = "b4ee928febd44d98f2f459a4a79bd4d928591333a494a10a868418ac1b39cf1f" 4159 - dependencies = [ 4160 - "either", 4161 - "home", 4162 - "rustix 0.38.44", 4163 - "winsafe", 4164 - ] 4165 - 4166 - [[package]] 4167 3677 name = "whoami" 4168 3678 version = "1.6.1" 4169 3679 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4204 3714 "windows-collections", 4205 3715 "windows-core", 4206 3716 "windows-future", 4207 - "windows-link 0.1.1", 3717 + "windows-link", 4208 3718 "windows-numerics", 4209 3719 ] 4210 3720 ··· 4225 3735 dependencies = [ 4226 3736 "windows-implement", 4227 3737 "windows-interface", 4228 - "windows-link 0.1.1", 3738 + "windows-link", 4229 3739 "windows-result", 4230 3740 "windows-strings 0.4.1", 4231 3741 ] ··· 4237 3747 checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" 4238 3748 dependencies = [ 4239 3749 "windows-core", 4240 - "windows-link 0.1.1", 3750 + "windows-link", 4241 3751 "windows-threading", 4242 3752 ] 4243 3753 ··· 4249 3759 dependencies = [ 4250 3760 "proc-macro2", 4251 3761 "quote", 4252 - "syn 2.0.101", 3762 + "syn", 4253 3763 ] 4254 3764 4255 3765 [[package]] ··· 4260 3770 dependencies = [ 4261 3771 "proc-macro2", 4262 3772 "quote", 4263 - "syn 2.0.101", 3773 + "syn", 4264 3774 ] 4265 3775 4266 3776 [[package]] ··· 4270 3780 checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" 4271 3781 4272 3782 [[package]] 4273 - name = "windows-link" 4274 - version = "0.2.0" 4275 - source = "registry+https://github.com/rust-lang/crates.io-index" 4276 - checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" 4277 - 4278 - [[package]] 4279 3783 name = "windows-numerics" 4280 3784 version = "0.2.0" 4281 3785 source = "registry+https://github.com/rust-lang/crates.io-index" 4282 3786 checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" 4283 3787 dependencies = [ 4284 3788 "windows-core", 4285 - "windows-link 0.1.1", 3789 + "windows-link", 4286 3790 ] 4287 3791 4288 3792 [[package]] ··· 4302 3806 source = "registry+https://github.com/rust-lang/crates.io-index" 4303 3807 checksum = "4b895b5356fc36103d0f64dd1e94dfa7ac5633f1c9dd6e80fe9ec4adef69e09d" 4304 3808 dependencies = [ 4305 - "windows-link 0.1.1", 3809 + "windows-link", 4306 3810 ] 4307 3811 4308 3812 [[package]] ··· 4311 3815 source = "registry+https://github.com/rust-lang/crates.io-index" 4312 3816 checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" 4313 3817 dependencies = [ 4314 - "windows-link 0.1.1", 3818 + "windows-link", 4315 3819 ] 4316 3820 4317 3821 [[package]] ··· 4320 3824 source = "registry+https://github.com/rust-lang/crates.io-index" 4321 3825 checksum = "2a7ab927b2637c19b3dbe0965e75d8f2d30bdd697a1516191cad2ec4df8fb28a" 4322 3826 dependencies = [ 4323 - "windows-link 0.1.1", 3827 + "windows-link", 4324 3828 ] 4325 3829 4326 3830 [[package]] ··· 4351 3855 ] 4352 3856 4353 3857 [[package]] 4354 - name = "windows-sys" 4355 - version = "0.61.0" 4356 - source = "registry+https://github.com/rust-lang/crates.io-index" 4357 - checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa" 4358 - dependencies = [ 4359 - "windows-link 0.2.0", 4360 - ] 4361 - 4362 - [[package]] 4363 3858 name = "windows-targets" 4364 3859 version = "0.48.5" 4365 3860 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4412 3907 source = "registry+https://github.com/rust-lang/crates.io-index" 4413 3908 checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" 4414 3909 dependencies = [ 4415 - "windows-link 0.1.1", 3910 + "windows-link", 4416 3911 ] 4417 3912 4418 3913 [[package]] ··· 4554 4049 checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" 4555 4050 4556 4051 [[package]] 4557 - name = "winreg" 4558 - version = "0.52.0" 4559 - source = "registry+https://github.com/rust-lang/crates.io-index" 4560 - checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" 4561 - dependencies = [ 4562 - "cfg-if", 4563 - "windows-sys 0.48.0", 4564 - ] 4565 - 4566 - [[package]] 4567 - name = "winsafe" 4568 - version = "0.0.19" 4569 - source = "registry+https://github.com/rust-lang/crates.io-index" 4570 - checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904" 4571 - 4572 - [[package]] 4573 4052 name = "wit-bindgen-rt" 4574 4053 version = "0.39.0" 4575 4054 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4604 4083 dependencies = [ 4605 4084 "proc-macro2", 4606 4085 "quote", 4607 - "syn 2.0.101", 4086 + "syn", 4608 4087 "synstructure", 4609 4088 ] 4610 4089 ··· 4625 4104 dependencies = [ 4626 4105 "proc-macro2", 4627 4106 "quote", 4628 - "syn 2.0.101", 4107 + "syn", 4629 4108 ] 4630 4109 4631 4110 [[package]] ··· 4645 4124 dependencies = [ 4646 4125 "proc-macro2", 4647 4126 "quote", 4648 - "syn 2.0.101", 4127 + "syn", 4649 4128 "synstructure", 4650 4129 ] 4651 4130 ··· 4688 4167 dependencies = [ 4689 4168 "proc-macro2", 4690 4169 "quote", 4691 - "syn 2.0.101", 4170 + "syn", 4692 4171 ] 4693 4172 4694 4173 [[package]]
-1
bot/Cargo.toml
··· 6 6 [dependencies] 7 7 anyhow = "1.0.98" 8 8 atproto_api.workspace = true 9 - chromiumoxide = { version = "0.7", features = ["tokio-runtime"] } 10 9 rocketman.workspace = true 11 10 reqwest.workspace = true 12 11 atrium-api.workspace = true
+8
bot/src/main.rs
··· 104 104 let bot_password = std::env::var("BOT_PASSWORD").expect("BOT_PASSWORD must be set"); 105 105 let bot_pds_url = std::env::var("BOT_PDS_URL").expect("BOT_PDS_URL must be set"); 106 106 107 + log::info!( 108 + "Starting bot with username: {}\nTimeframe threshold: {}\nStar Threshold: {}\nPost Threshold: {}", 109 + bot_username, 110 + timeframe_hours, 111 + star_threshold, 112 + post_window_hours 113 + ); 114 + 107 115 let bot_api = BotApi::new_logged_in(bot_username, bot_password, bot_pds_url).await?; 108 116 let sling_shot = Arc::new(Slingshot::new("https://slingshot.microcosm.blue")?); 109 117
-27
logic/Cargo.toml
··· 8 8 atrium-common.workspace = true 9 9 atrium-identity.workspace = true 10 10 atrium-oauth.workspace = true 11 - atrium-xrpc-client.workspace = true 12 11 bsky-sdk.workspace = true 13 12 serde.workspace = true 14 13 reqwest.workspace = true 15 14 thiserror = "2.0.12" 16 15 17 - [target.'cfg(not(target_arch = "wasm32"))'.dependencies] 18 - flume = "0.11.1" 19 - tokio.workspace = true 20 - rocketman.workspace = true 21 - tungstenite = "0.20.1" 22 - async-trait = "0.1.88" 23 - clap = { workspace = true, optional = true } 24 - 25 - [target.'cfg(target_arch = "wasm32")'.dependencies] 26 - wasm-bindgen.workspace = true 27 - getrandom = { version = "0.2.16", features = ["js"] } 28 - web-sys = { workspace = true, features = [ 29 - "BinaryType", 30 - "Blob", 31 - "ErrorEvent", 32 - "FileReader", 33 - "MessageEvent", 34 - "ProgressEvent", 35 - "WebSocket", 36 - ] } 37 - js-sys = "0.3.77" 38 - gloo-utils.workspace = true 39 - 40 - [features] 41 - default = [] 42 - cli = ["dep:clap"]
+4 -6
slingshot/Cargo.toml
··· 1 1 [package] 2 2 name = "slingshot" 3 3 version = "0.1.0" 4 - edition = "2021" 5 - license = "MIT OR Apache-2.0" 4 + edition = "2024" 5 + license = "MIT" 6 6 7 7 [dependencies] 8 8 serde.workspace = true 9 9 reqwest.workspace = true 10 10 serde_json.workspace = true 11 - thiserror = "1" 12 - url = "2" 11 + thiserror = "2.0.16" 12 + url = "2.5.7" 13 13 14 - [dev-dependencies] 15 - tokio = { version = "1", features = ["macros", "rt-multi-thread"] }