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