aturi indexer with listRecords and countRecords endpoints

use fork of tapped and use mimalloc

ptr.pet f8c299ec 685fb1dd

verified
+255 -80
+252 -72
Cargo.lock
··· 3 version = 4 4 5 [[package]] 6 name = "android_system_properties" 7 version = "0.1.5" 8 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 43 "chrono", 44 "fjall", 45 "futures", 46 "serde", 47 "serde_json", 48 "tapped", 49 - "tikv-jemallocator", 50 "tokio", 51 "tracing", 52 "tracing-subscriber", ··· 59 checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" 60 61 [[package]] 62 name = "axum" 63 version = "0.7.9" 64 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 121 122 [[package]] 123 name = "bitflags" 124 version = "2.10.0" 125 source = "registry+https://github.com/rust-lang/crates.io-index" 126 checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" ··· 165 checksum = "755d2fce177175ffca841e9a06afdb2c4ab0f593d53b4dee48147dfaade85932" 166 dependencies = [ 167 "find-msvc-tools", 168 "shlex", 169 ] 170 ··· 194 ] 195 196 [[package]] 197 name = "compare" 198 version = "0.0.6" 199 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 222 checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 223 dependencies = [ 224 "libc", 225 ] 226 227 [[package]] ··· 274 ] 275 276 [[package]] 277 - name = "data-encoding" 278 - version = "2.10.0" 279 - source = "registry+https://github.com/rust-lang/crates.io-index" 280 - checksum = "d7a1e2f27636f116493b8b860f5546edb47c8d8f8ea73e1d2a20be88e28d1fea" 281 - 282 - [[package]] 283 name = "digest" 284 version = "0.10.7" 285 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 299 "quote", 300 "syn", 301 ] 302 303 [[package]] 304 name = "enum_dispatch" ··· 358 ] 359 360 [[package]] 361 name = "flume" 362 version = "0.12.0" 363 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 376 ] 377 378 [[package]] 379 name = "futures" 380 version = "0.3.31" 381 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 615 "libc", 616 "percent-encoding", 617 "pin-project-lite", 618 - "socket2", 619 "tokio", 620 "tower-service", 621 "tracing", ··· 757 ] 758 759 [[package]] 760 name = "ipnet" 761 version = "2.11.0" 762 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 779 checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" 780 781 [[package]] 782 name = "js-sys" 783 version = "0.3.85" 784 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 799 version = "0.2.180" 800 source = "registry+https://github.com/rust-lang/crates.io-index" 801 checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" 802 803 [[package]] 804 name = "linux-raw-sys" ··· 877 checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" 878 879 [[package]] 880 name = "mime" 881 version = "0.3.17" 882 source = "registry+https://github.com/rust-lang/crates.io-index" 883 checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 884 885 [[package]] 886 name = "mio" ··· 1014 "quinn-udp", 1015 "rustc-hash", 1016 "rustls", 1017 - "socket2", 1018 "thiserror", 1019 "tokio", 1020 "tracing", ··· 1051 "cfg_aliases", 1052 "libc", 1053 "once_cell", 1054 - "socket2", 1055 "tracing", 1056 "windows-sys 0.60.2", 1057 ] ··· 1106 source = "registry+https://github.com/rust-lang/crates.io-index" 1107 checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" 1108 dependencies = [ 1109 - "bitflags", 1110 ] 1111 1112 [[package]] ··· 1173 source = "registry+https://github.com/rust-lang/crates.io-index" 1174 checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" 1175 dependencies = [ 1176 - "bitflags", 1177 "errno", 1178 "libc", 1179 "linux-raw-sys", ··· 1186 source = "registry+https://github.com/rust-lang/crates.io-index" 1187 checksum = "c665f33d38cea657d9614f766881e4d510e0eda4239891eea56b4cadcf01801b" 1188 dependencies = [ 1189 "once_cell", 1190 "ring", 1191 "rustls-pki-types", ··· 1222 source = "registry+https://github.com/rust-lang/crates.io-index" 1223 checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53" 1224 dependencies = [ 1225 "ring", 1226 "rustls-pki-types", 1227 "untrusted", ··· 1260 source = "registry+https://github.com/rust-lang/crates.io-index" 1261 checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" 1262 dependencies = [ 1263 - "bitflags", 1264 "core-foundation", 1265 "core-foundation-sys", 1266 "libc", ··· 1397 ] 1398 1399 [[package]] 1400 name = "slab" 1401 version = "0.4.11" 1402 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1410 1411 [[package]] 1412 name = "socket2" 1413 version = "0.6.1" 1414 source = "registry+https://github.com/rust-lang/crates.io-index" 1415 checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" ··· 1419 ] 1420 1421 [[package]] 1422 name = "spin" 1423 version = "0.9.8" 1424 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1472 1473 [[package]] 1474 name = "tapped" 1475 - version = "0.1.0" 1476 - source = "git+https://github.com/thombles/tapped#c7f38d365901218d35489175f711ce5495512ef7" 1477 dependencies = [ 1478 "base64", 1479 "futures-util", 1480 "libc", 1481 "reqwest", 1482 "serde", 1483 "serde_json", 1484 "thiserror", 1485 "tokio", 1486 - "tokio-tungstenite", 1487 "tracing", 1488 "url", 1489 ] ··· 1531 ] 1532 1533 [[package]] 1534 - name = "tikv-jemalloc-sys" 1535 - version = "0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" 1536 - source = "registry+https://github.com/rust-lang/crates.io-index" 1537 - checksum = "cd8aa5b2ab86a2cefa406d889139c162cbb230092f7d1d7cbc1716405d852a3b" 1538 - dependencies = [ 1539 - "cc", 1540 - "libc", 1541 - ] 1542 - 1543 - [[package]] 1544 - name = "tikv-jemallocator" 1545 - version = "0.6.1" 1546 - source = "registry+https://github.com/rust-lang/crates.io-index" 1547 - checksum = "0359b4327f954e0567e69fb191cf1436617748813819c94b8cd4a431422d053a" 1548 - dependencies = [ 1549 - "libc", 1550 - "tikv-jemalloc-sys", 1551 - ] 1552 - 1553 - [[package]] 1554 name = "tinystr" 1555 version = "0.8.2" 1556 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1587 "parking_lot", 1588 "pin-project-lite", 1589 "signal-hook-registry", 1590 - "socket2", 1591 "tokio-macros", 1592 "windows-sys 0.61.2", 1593 ] ··· 1614 ] 1615 1616 [[package]] 1617 - name = "tokio-tungstenite" 1618 - version = "0.26.2" 1619 source = "registry+https://github.com/rust-lang/crates.io-index" 1620 - checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" 1621 dependencies = [ 1622 "futures-util", 1623 - "log", 1624 - "rustls", 1625 - "rustls-native-certs", 1626 - "rustls-pki-types", 1627 "tokio", 1628 - "tokio-rustls", 1629 - "tungstenite", 1630 ] 1631 1632 [[package]] ··· 1651 source = "registry+https://github.com/rust-lang/crates.io-index" 1652 checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" 1653 dependencies = [ 1654 - "bitflags", 1655 "bytes", 1656 "futures-util", 1657 "http", ··· 1740 checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 1741 1742 [[package]] 1743 - name = "tungstenite" 1744 - version = "0.26.2" 1745 - source = "registry+https://github.com/rust-lang/crates.io-index" 1746 - checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" 1747 - dependencies = [ 1748 - "bytes", 1749 - "data-encoding", 1750 - "http", 1751 - "httparse", 1752 - "log", 1753 - "rand", 1754 - "rustls", 1755 - "rustls-pki-types", 1756 - "sha1", 1757 - "thiserror", 1758 - "utf-8", 1759 - ] 1760 - 1761 - [[package]] 1762 name = "twox-hash" 1763 version = "2.1.2" 1764 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1794 "serde", 1795 "serde_derive", 1796 ] 1797 - 1798 - [[package]] 1799 - name = "utf-8" 1800 - version = "0.7.6" 1801 - source = "registry+https://github.com/rust-lang/crates.io-index" 1802 - checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" 1803 1804 [[package]] 1805 name = "utf8_iter" ··· 1936 dependencies = [ 1937 "rustls-pki-types", 1938 ] 1939 1940 [[package]] 1941 name = "windows-core" ··· 2272 "quote", 2273 "syn", 2274 ] 2275 2276 [[package]] 2277 name = "zmij"
··· 3 version = 4 4 5 [[package]] 6 + name = "adler2" 7 + version = "2.0.1" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" 10 + 11 + [[package]] 12 name = "android_system_properties" 13 version = "0.1.5" 14 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 49 "chrono", 50 "fjall", 51 "futures", 52 + "mimalloc", 53 "serde", 54 "serde_json", 55 "tapped", 56 "tokio", 57 "tracing", 58 "tracing-subscriber", ··· 65 checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" 66 67 [[package]] 68 + name = "aws-lc-rs" 69 + version = "1.15.4" 70 + source = "registry+https://github.com/rust-lang/crates.io-index" 71 + checksum = "7b7b6141e96a8c160799cc2d5adecd5cbbe5054cb8c7c4af53da0f83bb7ad256" 72 + dependencies = [ 73 + "aws-lc-sys", 74 + "zeroize", 75 + ] 76 + 77 + [[package]] 78 + name = "aws-lc-sys" 79 + version = "0.37.0" 80 + source = "registry+https://github.com/rust-lang/crates.io-index" 81 + checksum = "5c34dda4df7017c8db52132f0f8a2e0f8161649d15723ed63fc00c82d0f2081a" 82 + dependencies = [ 83 + "cc", 84 + "cmake", 85 + "dunce", 86 + "fs_extra", 87 + ] 88 + 89 + [[package]] 90 name = "axum" 91 version = "0.7.9" 92 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 149 150 [[package]] 151 name = "bitflags" 152 + version = "1.3.2" 153 + source = "registry+https://github.com/rust-lang/crates.io-index" 154 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 155 + 156 + [[package]] 157 + name = "bitflags" 158 version = "2.10.0" 159 source = "registry+https://github.com/rust-lang/crates.io-index" 160 checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" ··· 199 checksum = "755d2fce177175ffca841e9a06afdb2c4ab0f593d53b4dee48147dfaade85932" 200 dependencies = [ 201 "find-msvc-tools", 202 + "jobserver", 203 + "libc", 204 "shlex", 205 ] 206 ··· 230 ] 231 232 [[package]] 233 + name = "cmake" 234 + version = "0.1.57" 235 + source = "registry+https://github.com/rust-lang/crates.io-index" 236 + checksum = "75443c44cd6b379beb8c5b45d85d0773baf31cce901fe7bb252f4eff3008ef7d" 237 + dependencies = [ 238 + "cc", 239 + ] 240 + 241 + [[package]] 242 name = "compare" 243 version = "0.0.6" 244 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 267 checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 268 dependencies = [ 269 "libc", 270 + ] 271 + 272 + [[package]] 273 + name = "crc32fast" 274 + version = "1.5.0" 275 + source = "registry+https://github.com/rust-lang/crates.io-index" 276 + checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" 277 + dependencies = [ 278 + "cfg-if", 279 ] 280 281 [[package]] ··· 328 ] 329 330 [[package]] 331 name = "digest" 332 version = "0.10.7" 333 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 347 "quote", 348 "syn", 349 ] 350 + 351 + [[package]] 352 + name = "dunce" 353 + version = "1.0.5" 354 + source = "registry+https://github.com/rust-lang/crates.io-index" 355 + checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" 356 357 [[package]] 358 name = "enum_dispatch" ··· 412 ] 413 414 [[package]] 415 + name = "flate2" 416 + version = "1.1.8" 417 + source = "registry+https://github.com/rust-lang/crates.io-index" 418 + checksum = "b375d6465b98090a5f25b1c7703f3859783755aa9a80433b36e0379a3ec2f369" 419 + dependencies = [ 420 + "crc32fast", 421 + "miniz_oxide", 422 + "zlib-rs", 423 + ] 424 + 425 + [[package]] 426 name = "flume" 427 version = "0.12.0" 428 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 441 ] 442 443 [[package]] 444 + name = "fs_extra" 445 + version = "1.3.0" 446 + source = "registry+https://github.com/rust-lang/crates.io-index" 447 + checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" 448 + 449 + [[package]] 450 name = "futures" 451 version = "0.3.31" 452 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 686 "libc", 687 "percent-encoding", 688 "pin-project-lite", 689 + "socket2 0.6.1", 690 "tokio", 691 "tower-service", 692 "tracing", ··· 828 ] 829 830 [[package]] 831 + name = "io-uring" 832 + version = "0.6.4" 833 + source = "registry+https://github.com/rust-lang/crates.io-index" 834 + checksum = "595a0399f411a508feb2ec1e970a4a30c249351e30208960d58298de8660b0e5" 835 + dependencies = [ 836 + "bitflags 1.3.2", 837 + "libc", 838 + ] 839 + 840 + [[package]] 841 name = "ipnet" 842 version = "2.11.0" 843 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 860 checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" 861 862 [[package]] 863 + name = "jobserver" 864 + version = "0.1.34" 865 + source = "registry+https://github.com/rust-lang/crates.io-index" 866 + checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" 867 + dependencies = [ 868 + "getrandom 0.3.4", 869 + "libc", 870 + ] 871 + 872 + [[package]] 873 name = "js-sys" 874 version = "0.3.85" 875 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 890 version = "0.2.180" 891 source = "registry+https://github.com/rust-lang/crates.io-index" 892 checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" 893 + 894 + [[package]] 895 + name = "libmimalloc-sys" 896 + version = "0.1.44" 897 + source = "registry+https://github.com/rust-lang/crates.io-index" 898 + checksum = "667f4fec20f29dfc6bc7357c582d91796c169ad7e2fce709468aefeb2c099870" 899 + dependencies = [ 900 + "cc", 901 + "libc", 902 + ] 903 904 [[package]] 905 name = "linux-raw-sys" ··· 978 checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" 979 980 [[package]] 981 + name = "mimalloc" 982 + version = "0.1.48" 983 + source = "registry+https://github.com/rust-lang/crates.io-index" 984 + checksum = "e1ee66a4b64c74f4ef288bcbb9192ad9c3feaad75193129ac8509af543894fd8" 985 + dependencies = [ 986 + "libmimalloc-sys", 987 + ] 988 + 989 + [[package]] 990 name = "mime" 991 version = "0.3.17" 992 source = "registry+https://github.com/rust-lang/crates.io-index" 993 checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 994 + 995 + [[package]] 996 + name = "miniz_oxide" 997 + version = "0.8.9" 998 + source = "registry+https://github.com/rust-lang/crates.io-index" 999 + checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" 1000 + dependencies = [ 1001 + "adler2", 1002 + "simd-adler32", 1003 + ] 1004 1005 [[package]] 1006 name = "mio" ··· 1134 "quinn-udp", 1135 "rustc-hash", 1136 "rustls", 1137 + "socket2 0.6.1", 1138 "thiserror", 1139 "tokio", 1140 "tracing", ··· 1171 "cfg_aliases", 1172 "libc", 1173 "once_cell", 1174 + "socket2 0.6.1", 1175 "tracing", 1176 "windows-sys 0.60.2", 1177 ] ··· 1226 source = "registry+https://github.com/rust-lang/crates.io-index" 1227 checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" 1228 dependencies = [ 1229 + "bitflags 2.10.0", 1230 ] 1231 1232 [[package]] ··· 1293 source = "registry+https://github.com/rust-lang/crates.io-index" 1294 checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" 1295 dependencies = [ 1296 + "bitflags 2.10.0", 1297 "errno", 1298 "libc", 1299 "linux-raw-sys", ··· 1306 source = "registry+https://github.com/rust-lang/crates.io-index" 1307 checksum = "c665f33d38cea657d9614f766881e4d510e0eda4239891eea56b4cadcf01801b" 1308 dependencies = [ 1309 + "aws-lc-rs", 1310 + "log", 1311 "once_cell", 1312 "ring", 1313 "rustls-pki-types", ··· 1344 source = "registry+https://github.com/rust-lang/crates.io-index" 1345 checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53" 1346 dependencies = [ 1347 + "aws-lc-rs", 1348 "ring", 1349 "rustls-pki-types", 1350 "untrusted", ··· 1383 source = "registry+https://github.com/rust-lang/crates.io-index" 1384 checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" 1385 dependencies = [ 1386 + "bitflags 2.10.0", 1387 "core-foundation", 1388 "core-foundation-sys", 1389 "libc", ··· 1520 ] 1521 1522 [[package]] 1523 + name = "simd-adler32" 1524 + version = "0.3.8" 1525 + source = "registry+https://github.com/rust-lang/crates.io-index" 1526 + checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" 1527 + 1528 + [[package]] 1529 + name = "simdutf8" 1530 + version = "0.1.5" 1531 + source = "registry+https://github.com/rust-lang/crates.io-index" 1532 + checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" 1533 + 1534 + [[package]] 1535 name = "slab" 1536 version = "0.4.11" 1537 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1545 1546 [[package]] 1547 name = "socket2" 1548 + version = "0.4.10" 1549 + source = "registry+https://github.com/rust-lang/crates.io-index" 1550 + checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" 1551 + dependencies = [ 1552 + "libc", 1553 + "winapi", 1554 + ] 1555 + 1556 + [[package]] 1557 + name = "socket2" 1558 + version = "0.5.10" 1559 + source = "registry+https://github.com/rust-lang/crates.io-index" 1560 + checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" 1561 + dependencies = [ 1562 + "libc", 1563 + "windows-sys 0.52.0", 1564 + ] 1565 + 1566 + [[package]] 1567 + name = "socket2" 1568 version = "0.6.1" 1569 source = "registry+https://github.com/rust-lang/crates.io-index" 1570 checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" ··· 1574 ] 1575 1576 [[package]] 1577 + name = "sockudo-ws" 1578 + version = "1.7.4" 1579 + source = "git+https://github.com/Sockudo/sockudo-ws#234e2d0c97c31fceac2cc62b94b0470def542dde" 1580 + dependencies = [ 1581 + "base64", 1582 + "bytes", 1583 + "dashmap", 1584 + "fastrand", 1585 + "flate2", 1586 + "futures-core", 1587 + "futures-sink", 1588 + "httparse", 1589 + "parking_lot", 1590 + "pin-project-lite", 1591 + "rustls", 1592 + "rustls-native-certs", 1593 + "sha1", 1594 + "simdutf8", 1595 + "socket2 0.5.10", 1596 + "tokio", 1597 + "tokio-rustls", 1598 + "tokio-uring", 1599 + "tokio-util", 1600 + ] 1601 + 1602 + [[package]] 1603 name = "spin" 1604 version = "0.9.8" 1605 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1653 1654 [[package]] 1655 name = "tapped" 1656 + version = "0.2.0" 1657 + source = "git+https://tangled.sh/ptr.pet/tapped#961431d1e83d5c93bd5fe6773464bbff0c332959" 1658 dependencies = [ 1659 "base64", 1660 + "bytes", 1661 "futures-util", 1662 "libc", 1663 "reqwest", 1664 + "rustls", 1665 + "rustls-native-certs", 1666 + "rustls-pki-types", 1667 "serde", 1668 "serde_json", 1669 + "sockudo-ws", 1670 "thiserror", 1671 "tokio", 1672 + "tokio-rustls", 1673 "tracing", 1674 "url", 1675 ] ··· 1717 ] 1718 1719 [[package]] 1720 name = "tinystr" 1721 version = "0.8.2" 1722 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1753 "parking_lot", 1754 "pin-project-lite", 1755 "signal-hook-registry", 1756 + "socket2 0.6.1", 1757 "tokio-macros", 1758 "windows-sys 0.61.2", 1759 ] ··· 1780 ] 1781 1782 [[package]] 1783 + name = "tokio-uring" 1784 + version = "0.5.0" 1785 source = "registry+https://github.com/rust-lang/crates.io-index" 1786 + checksum = "748482e3e13584a34664a710168ad5068e8cb1d968aa4ffa887e83ca6dd27967" 1787 dependencies = [ 1788 "futures-util", 1789 + "io-uring", 1790 + "libc", 1791 + "slab", 1792 + "socket2 0.4.10", 1793 "tokio", 1794 + ] 1795 + 1796 + [[package]] 1797 + name = "tokio-util" 1798 + version = "0.7.18" 1799 + source = "registry+https://github.com/rust-lang/crates.io-index" 1800 + checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" 1801 + dependencies = [ 1802 + "bytes", 1803 + "futures-core", 1804 + "futures-sink", 1805 + "pin-project-lite", 1806 + "tokio", 1807 ] 1808 1809 [[package]] ··· 1828 source = "registry+https://github.com/rust-lang/crates.io-index" 1829 checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" 1830 dependencies = [ 1831 + "bitflags 2.10.0", 1832 "bytes", 1833 "futures-util", 1834 "http", ··· 1917 checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 1918 1919 [[package]] 1920 name = "twox-hash" 1921 version = "2.1.2" 1922 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1952 "serde", 1953 "serde_derive", 1954 ] 1955 1956 [[package]] 1957 name = "utf8_iter" ··· 2088 dependencies = [ 2089 "rustls-pki-types", 2090 ] 2091 + 2092 + [[package]] 2093 + name = "winapi" 2094 + version = "0.3.9" 2095 + source = "registry+https://github.com/rust-lang/crates.io-index" 2096 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2097 + dependencies = [ 2098 + "winapi-i686-pc-windows-gnu", 2099 + "winapi-x86_64-pc-windows-gnu", 2100 + ] 2101 + 2102 + [[package]] 2103 + name = "winapi-i686-pc-windows-gnu" 2104 + version = "0.4.0" 2105 + source = "registry+https://github.com/rust-lang/crates.io-index" 2106 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2107 + 2108 + [[package]] 2109 + name = "winapi-x86_64-pc-windows-gnu" 2110 + version = "0.4.0" 2111 + source = "registry+https://github.com/rust-lang/crates.io-index" 2112 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2113 2114 [[package]] 2115 name = "windows-core" ··· 2446 "quote", 2447 "syn", 2448 ] 2449 + 2450 + [[package]] 2451 + name = "zlib-rs" 2452 + version = "0.5.5" 2453 + source = "registry+https://github.com/rust-lang/crates.io-index" 2454 + checksum = "40990edd51aae2c2b6907af74ffb635029d5788228222c4bb811e9351c0caad3" 2455 2456 [[package]] 2457 name = "zmij"
+2 -6
Cargo.toml
··· 4 edition = "2021" 5 6 [dependencies] 7 - tapped = { git = "https://github.com/thombles/tapped" } 8 tokio = { version = "1", features = ["full"] } 9 axum = "0.7" 10 serde = { version = "1", features = ["derive"] } ··· 15 tracing-subscriber = "0.3" 16 futures = "0.3" 17 chrono = "0.4" 18 - 19 - [target.'cfg(not(target_env = "msvc"))'.dependencies] 20 - tikv-jemallocator = "0.6" 21 - 22 -
··· 4 edition = "2021" 5 6 [dependencies] 7 + tapped = { git = "https://tangled.sh/ptr.pet/tapped" } 8 tokio = { version = "1", features = ["full"] } 9 axum = "0.7" 10 serde = { version = "1", features = ["derive"] } ··· 15 tracing-subscriber = "0.3" 16 futures = "0.3" 17 chrono = "0.4" 18 + mimalloc = { version = "0.1" }
+1 -2
src/main.rs
··· 10 use std::sync::{Arc, atomic::{AtomicU64, Ordering}}; 11 12 13 - #[cfg(not(target_env = "msvc"))] 14 #[global_allocator] 15 - static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; 16 17 #[derive(Clone)] 18 struct AppState {
··· 10 use std::sync::{Arc, atomic::{AtomicU64, Ordering}}; 11 12 13 #[global_allocator] 14 + static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; 15 16 #[derive(Clone)] 17 struct AppState {