+346
-26
Cargo.lock
+346
-26
Cargo.lock
···
225
225
]
226
226
227
227
[[package]]
228
+
name = "backtrace-ext"
229
+
version = "0.2.1"
230
+
source = "registry+https://github.com/rust-lang/crates.io-index"
231
+
checksum = "537beee3be4a18fb023b570f80e3ae28003db9167a751266b259926e25539d50"
232
+
dependencies = [
233
+
"backtrace",
234
+
]
235
+
236
+
[[package]]
228
237
name = "base-x"
229
238
version = "0.2.11"
230
239
source = "registry+https://github.com/rust-lang/crates.io-index"
···
720
729
]
721
730
722
731
[[package]]
732
+
name = "enum-as-inner"
733
+
version = "0.6.1"
734
+
source = "registry+https://github.com/rust-lang/crates.io-index"
735
+
checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc"
736
+
dependencies = [
737
+
"heck 0.5.0",
738
+
"proc-macro2",
739
+
"quote",
740
+
"syn 2.0.106",
741
+
]
742
+
743
+
[[package]]
723
744
name = "enum_dispatch"
724
745
version = "0.3.13"
725
746
source = "registry+https://github.com/rust-lang/crates.io-index"
···
865
886
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
866
887
867
888
[[package]]
889
+
name = "futures-io"
890
+
version = "0.3.31"
891
+
source = "registry+https://github.com/rust-lang/crates.io-index"
892
+
checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
893
+
894
+
[[package]]
868
895
name = "futures-macro"
869
896
version = "0.3.31"
870
897
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1013
1040
]
1014
1041
1015
1042
[[package]]
1016
-
name = "hashbrown"
1017
-
version = "0.16.0"
1018
-
source = "registry+https://github.com/rust-lang/crates.io-index"
1019
-
checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
1020
-
1021
-
[[package]]
1022
1043
name = "heck"
1023
1044
version = "0.4.1"
1024
1045
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1043
1064
checksum = "b07f60793ff0a4d9cef0f18e63b5357e06209987153a64648c972c1e5aff336f"
1044
1065
1045
1066
[[package]]
1067
+
name = "hickory-proto"
1068
+
version = "0.24.4"
1069
+
source = "registry+https://github.com/rust-lang/crates.io-index"
1070
+
checksum = "92652067c9ce6f66ce53cc38d1169daa36e6e7eb7dd3b63b5103bd9d97117248"
1071
+
dependencies = [
1072
+
"async-trait",
1073
+
"cfg-if",
1074
+
"data-encoding",
1075
+
"enum-as-inner",
1076
+
"futures-channel",
1077
+
"futures-io",
1078
+
"futures-util",
1079
+
"idna",
1080
+
"ipnet",
1081
+
"once_cell",
1082
+
"rand 0.8.5",
1083
+
"thiserror 1.0.69",
1084
+
"tinyvec",
1085
+
"tokio",
1086
+
"tracing",
1087
+
"url",
1088
+
]
1089
+
1090
+
[[package]]
1091
+
name = "hickory-resolver"
1092
+
version = "0.24.4"
1093
+
source = "registry+https://github.com/rust-lang/crates.io-index"
1094
+
checksum = "cbb117a1ca520e111743ab2f6688eddee69db4e0ea242545a604dce8a66fd22e"
1095
+
dependencies = [
1096
+
"cfg-if",
1097
+
"futures-util",
1098
+
"hickory-proto",
1099
+
"ipconfig",
1100
+
"lru-cache",
1101
+
"once_cell",
1102
+
"parking_lot",
1103
+
"rand 0.8.5",
1104
+
"resolv-conf",
1105
+
"smallvec",
1106
+
"thiserror 1.0.69",
1107
+
"tokio",
1108
+
"tracing",
1109
+
]
1110
+
1111
+
[[package]]
1046
1112
name = "http"
1047
1113
version = "1.3.1"
1048
1114
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1155
1221
"libc",
1156
1222
"percent-encoding",
1157
1223
"pin-project-lite",
1158
-
"socket2",
1224
+
"socket2 0.6.0",
1159
1225
"system-configuration",
1160
1226
"tokio",
1161
1227
"tower-service",
···
1318
1384
checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"
1319
1385
dependencies = [
1320
1386
"equivalent",
1321
-
"hashbrown 0.16.0",
1387
+
"hashbrown 0.15.5",
1322
1388
"serde",
1323
1389
"serde_core",
1324
1390
]
···
1341
1407
]
1342
1408
1343
1409
[[package]]
1410
+
name = "ipconfig"
1411
+
version = "0.3.2"
1412
+
source = "registry+https://github.com/rust-lang/crates.io-index"
1413
+
checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f"
1414
+
dependencies = [
1415
+
"socket2 0.5.10",
1416
+
"widestring",
1417
+
"windows-sys 0.48.0",
1418
+
"winreg",
1419
+
]
1420
+
1421
+
[[package]]
1344
1422
name = "ipld-core"
1345
1423
version = "0.4.2"
1346
1424
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1368
1446
]
1369
1447
1370
1448
[[package]]
1449
+
name = "is_ci"
1450
+
version = "1.2.0"
1451
+
source = "registry+https://github.com/rust-lang/crates.io-index"
1452
+
checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45"
1453
+
1454
+
[[package]]
1371
1455
name = "is_terminal_polyfill"
1372
1456
version = "1.70.1"
1373
1457
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1390
1474
1391
1475
[[package]]
1392
1476
name = "jacquard"
1393
-
version = "0.1.0"
1477
+
version = "0.2.1"
1394
1478
source = "registry+https://github.com/rust-lang/crates.io-index"
1395
-
checksum = "0e2fb462e7bd414bfd66918bd82eb3ada7c4c7bcb4e47abb9d72ddd32264b49c"
1479
+
checksum = "719fe6fc35f0bd7859a25ba55ebaf55360e3af5b17764dab173202ad734ef5a4"
1396
1480
dependencies = [
1481
+
"async-trait",
1482
+
"bon",
1397
1483
"bytes",
1398
1484
"clap",
1485
+
"hickory-resolver",
1399
1486
"http",
1400
1487
"jacquard-api",
1401
1488
"jacquard-common",
1402
1489
"miette",
1490
+
"percent-encoding",
1403
1491
"reqwest",
1404
1492
"serde",
1405
1493
"serde_html_form",
1406
1494
"serde_ipld_dagcbor",
1407
1495
"serde_json",
1496
+
"smol_str",
1408
1497
"thiserror 2.0.17",
1409
1498
"tokio",
1499
+
"url",
1500
+
"urlencoding",
1410
1501
]
1411
1502
1412
1503
[[package]]
1413
1504
name = "jacquard-api"
1414
-
version = "0.1.0"
1505
+
version = "0.2.0"
1415
1506
source = "registry+https://github.com/rust-lang/crates.io-index"
1416
-
checksum = "9175e40f71219451961f1da8f10c183617fb611e2e474219ce31bc669830c1f1"
1507
+
checksum = "51de55e4de7c7b2a5f5ea67450d8e21bc9388cca719ce3347cb58e236cc90457"
1417
1508
dependencies = [
1418
1509
"bon",
1419
1510
"bytes",
···
1426
1517
1427
1518
[[package]]
1428
1519
name = "jacquard-common"
1429
-
version = "0.1.0"
1520
+
version = "0.2.0"
1430
1521
source = "registry+https://github.com/rust-lang/crates.io-index"
1431
-
checksum = "3b4a7bef3e4fbb0d7c22ad6709544a594a000e78cd514612b584cc001945056d"
1522
+
checksum = "69abd1202e606b0f2cdca38e1daaf98ce09dfe3e29cbae27bcb4cb1f6b4560c4"
1432
1523
dependencies = [
1433
1524
"base64",
1525
+
"bon",
1434
1526
"bytes",
1435
1527
"chrono",
1436
1528
"cid",
···
1442
1534
"multihash",
1443
1535
"num-traits",
1444
1536
"ouroboros",
1445
-
"rand",
1537
+
"rand 0.9.2",
1446
1538
"regex",
1447
1539
"serde",
1448
1540
"serde_html_form",
···
1455
1547
1456
1548
[[package]]
1457
1549
name = "jacquard-derive"
1458
-
version = "0.1.0"
1550
+
version = "0.2.0"
1459
1551
source = "registry+https://github.com/rust-lang/crates.io-index"
1460
-
checksum = "b068f4196f31793f90d682c97b8570bc0bac810d8fb681f6d561937d9bf1510e"
1552
+
checksum = "079cff009d305585a7929ea3ff45aeb5dfb93e18281793e7d79ad03ca75b9513"
1461
1553
dependencies = [
1462
1554
"heck 0.5.0",
1463
1555
"itertools",
···
1560
1652
checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174"
1561
1653
1562
1654
[[package]]
1655
+
name = "linked-hash-map"
1656
+
version = "0.5.6"
1657
+
source = "registry+https://github.com/rust-lang/crates.io-index"
1658
+
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
1659
+
1660
+
[[package]]
1563
1661
name = "linux-raw-sys"
1564
1662
version = "0.11.0"
1565
1663
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1596
1694
]
1597
1695
1598
1696
[[package]]
1697
+
name = "lru-cache"
1698
+
version = "0.1.2"
1699
+
source = "registry+https://github.com/rust-lang/crates.io-index"
1700
+
checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c"
1701
+
dependencies = [
1702
+
"linked-hash-map",
1703
+
]
1704
+
1705
+
[[package]]
1599
1706
name = "lru-slab"
1600
1707
version = "0.1.2"
1601
1708
source = "registry+https://github.com/rust-lang/crates.io-index"
···
1624
1731
source = "registry+https://github.com/rust-lang/crates.io-index"
1625
1732
checksum = "5f98efec8807c63c752b5bd61f862c165c115b0a35685bdcfd9238c7aeb592b7"
1626
1733
dependencies = [
1734
+
"backtrace",
1735
+
"backtrace-ext",
1627
1736
"cfg-if",
1628
1737
"miette-derive",
1629
-
"unicode-width",
1738
+
"owo-colors",
1739
+
"supports-color",
1740
+
"supports-hyperlinks",
1741
+
"supports-unicode",
1742
+
"terminal_size",
1743
+
"textwrap",
1744
+
"unicode-width 0.1.14",
1630
1745
]
1631
1746
1632
1747
[[package]]
···
1858
1973
]
1859
1974
1860
1975
[[package]]
1976
+
name = "owo-colors"
1977
+
version = "4.2.3"
1978
+
source = "registry+https://github.com/rust-lang/crates.io-index"
1979
+
checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52"
1980
+
1981
+
[[package]]
1861
1982
name = "parking"
1862
1983
version = "2.2.1"
1863
1984
source = "registry+https://github.com/rust-lang/crates.io-index"
···
2018
2139
"quinn-udp",
2019
2140
"rustc-hash",
2020
2141
"rustls",
2021
-
"socket2",
2142
+
"socket2 0.6.0",
2022
2143
"thiserror 2.0.17",
2023
2144
"tokio",
2024
2145
"tracing",
···
2034
2155
"bytes",
2035
2156
"getrandom 0.3.3",
2036
2157
"lru-slab",
2037
-
"rand",
2158
+
"rand 0.9.2",
2038
2159
"ring",
2039
2160
"rustc-hash",
2040
2161
"rustls",
···
2055
2176
"cfg_aliases",
2056
2177
"libc",
2057
2178
"once_cell",
2058
-
"socket2",
2179
+
"socket2 0.6.0",
2059
2180
"tracing",
2060
2181
"windows-sys 0.60.2",
2061
2182
]
···
2077
2198
2078
2199
[[package]]
2079
2200
name = "rand"
2201
+
version = "0.8.5"
2202
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2203
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
2204
+
dependencies = [
2205
+
"libc",
2206
+
"rand_chacha 0.3.1",
2207
+
"rand_core 0.6.4",
2208
+
]
2209
+
2210
+
[[package]]
2211
+
name = "rand"
2080
2212
version = "0.9.2"
2081
2213
source = "registry+https://github.com/rust-lang/crates.io-index"
2082
2214
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
2083
2215
dependencies = [
2084
-
"rand_chacha",
2085
-
"rand_core",
2216
+
"rand_chacha 0.9.0",
2217
+
"rand_core 0.9.3",
2218
+
]
2219
+
2220
+
[[package]]
2221
+
name = "rand_chacha"
2222
+
version = "0.3.1"
2223
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2224
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
2225
+
dependencies = [
2226
+
"ppv-lite86",
2227
+
"rand_core 0.6.4",
2086
2228
]
2087
2229
2088
2230
[[package]]
···
2092
2234
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
2093
2235
dependencies = [
2094
2236
"ppv-lite86",
2095
-
"rand_core",
2237
+
"rand_core 0.9.3",
2238
+
]
2239
+
2240
+
[[package]]
2241
+
name = "rand_core"
2242
+
version = "0.6.4"
2243
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2244
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
2245
+
dependencies = [
2246
+
"getrandom 0.2.16",
2096
2247
]
2097
2248
2098
2249
[[package]]
···
2214
2365
"web-sys",
2215
2366
"webpki-roots",
2216
2367
]
2368
+
2369
+
[[package]]
2370
+
name = "resolv-conf"
2371
+
version = "0.7.5"
2372
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2373
+
checksum = "6b3789b30bd25ba102de4beabd95d21ac45b69b1be7d14522bab988c526d6799"
2217
2374
2218
2375
[[package]]
2219
2376
name = "ring"
···
2571
2728
2572
2729
[[package]]
2573
2730
name = "socket2"
2731
+
version = "0.5.10"
2732
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2733
+
checksum = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678"
2734
+
dependencies = [
2735
+
"libc",
2736
+
"windows-sys 0.52.0",
2737
+
]
2738
+
2739
+
[[package]]
2740
+
name = "socket2"
2574
2741
version = "0.6.0"
2575
2742
source = "registry+https://github.com/rust-lang/crates.io-index"
2576
2743
checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
···
2624
2791
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
2625
2792
2626
2793
[[package]]
2794
+
name = "supports-color"
2795
+
version = "3.0.2"
2796
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2797
+
checksum = "c64fc7232dd8d2e4ac5ce4ef302b1d81e0b80d055b9d77c7c4f51f6aa4c867d6"
2798
+
dependencies = [
2799
+
"is_ci",
2800
+
]
2801
+
2802
+
[[package]]
2803
+
name = "supports-hyperlinks"
2804
+
version = "3.1.0"
2805
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2806
+
checksum = "804f44ed3c63152de6a9f90acbea1a110441de43006ea51bcce8f436196a288b"
2807
+
2808
+
[[package]]
2809
+
name = "supports-unicode"
2810
+
version = "3.0.0"
2811
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2812
+
checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2"
2813
+
2814
+
[[package]]
2627
2815
name = "syn"
2628
2816
version = "1.0.109"
2629
2817
source = "registry+https://github.com/rust-lang/crates.io-index"
···
2703
2891
"once_cell",
2704
2892
"rustix",
2705
2893
"windows-sys 0.61.1",
2894
+
]
2895
+
2896
+
[[package]]
2897
+
name = "terminal_size"
2898
+
version = "0.4.3"
2899
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2900
+
checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0"
2901
+
dependencies = [
2902
+
"rustix",
2903
+
"windows-sys 0.60.2",
2904
+
]
2905
+
2906
+
[[package]]
2907
+
name = "textwrap"
2908
+
version = "0.16.2"
2909
+
source = "registry+https://github.com/rust-lang/crates.io-index"
2910
+
checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057"
2911
+
dependencies = [
2912
+
"unicode-linebreak",
2913
+
"unicode-width 0.2.2",
2706
2914
]
2707
2915
2708
2916
[[package]]
···
2816
3024
"pin-project-lite",
2817
3025
"signal-hook-registry",
2818
3026
"slab",
2819
-
"socket2",
3027
+
"socket2 0.6.0",
2820
3028
"tokio-macros",
2821
3029
"windows-sys 0.59.0",
2822
3030
]
···
2931
3139
checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
2932
3140
dependencies = [
2933
3141
"pin-project-lite",
3142
+
"tracing-attributes",
2934
3143
"tracing-core",
2935
3144
]
2936
3145
2937
3146
[[package]]
3147
+
name = "tracing-attributes"
3148
+
version = "0.1.30"
3149
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3150
+
checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903"
3151
+
dependencies = [
3152
+
"proc-macro2",
3153
+
"quote",
3154
+
"syn 2.0.106",
3155
+
]
3156
+
3157
+
[[package]]
2938
3158
name = "tracing-core"
2939
3159
version = "0.1.34"
2940
3160
source = "registry+https://github.com/rust-lang/crates.io-index"
···
2972
3192
"httparse",
2973
3193
"log",
2974
3194
"native-tls",
2975
-
"rand",
3195
+
"rand 0.9.2",
2976
3196
"sha1",
2977
3197
"thiserror 2.0.17",
2978
3198
"url",
···
2992
3212
checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
2993
3213
2994
3214
[[package]]
3215
+
name = "unicode-linebreak"
3216
+
version = "0.1.5"
3217
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3218
+
checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
3219
+
3220
+
[[package]]
2995
3221
name = "unicode-width"
2996
3222
version = "0.1.14"
2997
3223
source = "registry+https://github.com/rust-lang/crates.io-index"
2998
3224
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
2999
3225
3000
3226
[[package]]
3227
+
name = "unicode-width"
3228
+
version = "0.2.2"
3229
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3230
+
checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
3231
+
3232
+
[[package]]
3001
3233
name = "unsigned-varint"
3002
3234
version = "0.8.0"
3003
3235
source = "registry+https://github.com/rust-lang/crates.io-index"
···
3020
3252
"percent-encoding",
3021
3253
"serde",
3022
3254
]
3255
+
3256
+
[[package]]
3257
+
name = "urlencoding"
3258
+
version = "2.1.3"
3259
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3260
+
checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
3023
3261
3024
3262
[[package]]
3025
3263
name = "utf-8"
···
3197
3435
]
3198
3436
3199
3437
[[package]]
3438
+
name = "widestring"
3439
+
version = "1.2.0"
3440
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3441
+
checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d"
3442
+
3443
+
[[package]]
3200
3444
name = "windows-core"
3201
3445
version = "0.62.1"
3202
3446
source = "registry+https://github.com/rust-lang/crates.io-index"
···
3292
3536
3293
3537
[[package]]
3294
3538
name = "windows-sys"
3539
+
version = "0.48.0"
3540
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3541
+
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
3542
+
dependencies = [
3543
+
"windows-targets 0.48.5",
3544
+
]
3545
+
3546
+
[[package]]
3547
+
name = "windows-sys"
3295
3548
version = "0.52.0"
3296
3549
source = "registry+https://github.com/rust-lang/crates.io-index"
3297
3550
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
···
3328
3581
3329
3582
[[package]]
3330
3583
name = "windows-targets"
3584
+
version = "0.48.5"
3585
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3586
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
3587
+
dependencies = [
3588
+
"windows_aarch64_gnullvm 0.48.5",
3589
+
"windows_aarch64_msvc 0.48.5",
3590
+
"windows_i686_gnu 0.48.5",
3591
+
"windows_i686_msvc 0.48.5",
3592
+
"windows_x86_64_gnu 0.48.5",
3593
+
"windows_x86_64_gnullvm 0.48.5",
3594
+
"windows_x86_64_msvc 0.48.5",
3595
+
]
3596
+
3597
+
[[package]]
3598
+
name = "windows-targets"
3331
3599
version = "0.52.6"
3332
3600
source = "registry+https://github.com/rust-lang/crates.io-index"
3333
3601
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
···
3358
3626
"windows_x86_64_gnullvm 0.53.0",
3359
3627
"windows_x86_64_msvc 0.53.0",
3360
3628
]
3629
+
3630
+
[[package]]
3631
+
name = "windows_aarch64_gnullvm"
3632
+
version = "0.48.5"
3633
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3634
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
3361
3635
3362
3636
[[package]]
3363
3637
name = "windows_aarch64_gnullvm"
···
3373
3647
3374
3648
[[package]]
3375
3649
name = "windows_aarch64_msvc"
3650
+
version = "0.48.5"
3651
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3652
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
3653
+
3654
+
[[package]]
3655
+
name = "windows_aarch64_msvc"
3376
3656
version = "0.52.6"
3377
3657
source = "registry+https://github.com/rust-lang/crates.io-index"
3378
3658
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
···
3382
3662
version = "0.53.0"
3383
3663
source = "registry+https://github.com/rust-lang/crates.io-index"
3384
3664
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
3665
+
3666
+
[[package]]
3667
+
name = "windows_i686_gnu"
3668
+
version = "0.48.5"
3669
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3670
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
3385
3671
3386
3672
[[package]]
3387
3673
name = "windows_i686_gnu"
···
3409
3695
3410
3696
[[package]]
3411
3697
name = "windows_i686_msvc"
3698
+
version = "0.48.5"
3699
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3700
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
3701
+
3702
+
[[package]]
3703
+
name = "windows_i686_msvc"
3412
3704
version = "0.52.6"
3413
3705
source = "registry+https://github.com/rust-lang/crates.io-index"
3414
3706
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
···
3421
3713
3422
3714
[[package]]
3423
3715
name = "windows_x86_64_gnu"
3716
+
version = "0.48.5"
3717
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3718
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
3719
+
3720
+
[[package]]
3721
+
name = "windows_x86_64_gnu"
3424
3722
version = "0.52.6"
3425
3723
source = "registry+https://github.com/rust-lang/crates.io-index"
3426
3724
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
···
3433
3731
3434
3732
[[package]]
3435
3733
name = "windows_x86_64_gnullvm"
3734
+
version = "0.48.5"
3735
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3736
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
3737
+
3738
+
[[package]]
3739
+
name = "windows_x86_64_gnullvm"
3436
3740
version = "0.52.6"
3437
3741
source = "registry+https://github.com/rust-lang/crates.io-index"
3438
3742
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
···
3445
3749
3446
3750
[[package]]
3447
3751
name = "windows_x86_64_msvc"
3752
+
version = "0.48.5"
3753
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3754
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
3755
+
3756
+
[[package]]
3757
+
name = "windows_x86_64_msvc"
3448
3758
version = "0.52.6"
3449
3759
source = "registry+https://github.com/rust-lang/crates.io-index"
3450
3760
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
···
3454
3764
version = "0.53.0"
3455
3765
source = "registry+https://github.com/rust-lang/crates.io-index"
3456
3766
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
3767
+
3768
+
[[package]]
3769
+
name = "winreg"
3770
+
version = "0.50.0"
3771
+
source = "registry+https://github.com/rust-lang/crates.io-index"
3772
+
checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
3773
+
dependencies = [
3774
+
"cfg-if",
3775
+
"windows-sys 0.48.0",
3776
+
]
3457
3777
3458
3778
[[package]]
3459
3779
name = "wit-bindgen"
+1
-1
Cargo.toml
+1
-1
Cargo.toml
···
6
6
[dependencies]
7
7
clap = { version = "4.5.48", features = ["derive", "env"] }
8
8
env_logger = "0.11.8"
9
-
jacquard = "0.1.0"
9
+
jacquard = "0.2.1"
10
10
jetstream = { path = "../links/jetstream" }
11
11
reqwest = { version = "0.12.23", features = ["json"] }
12
12
serde = { version = "1.0.228", features = ["derive"] }
+11
-13
src/main.rs
+11
-13
src/main.rs
···
6
6
exports::Nsid,
7
7
};
8
8
use jacquard::{
9
-
api::app_bsky::{
10
-
feed::post::Post,
11
-
richtext::facet::{Facet, ByteSlice},
12
-
},
13
-
api::com_atproto::{
14
-
server::create_session::CreateSession,
15
-
repo::create_record::CreateRecord,
9
+
api::{
10
+
app_bsky::feed::post::Post,
11
+
app_bsky::richtext::facet::{Facet, ByteSlice},
12
+
com_atproto::server::create_session::CreateSession,
13
+
com_atproto::repo::create_record::CreateRecord,
16
14
},
17
-
client::{HttpClient, AuthenticatedClient, Session, XrpcClient},
15
+
client::{BasicClient, Session},
18
16
types::{
19
17
datetime::Datetime,
20
18
ident::AtIdentifier,
···
24
22
string::AtUri,
25
23
},
26
24
};
25
+
27
26
use std::time::Duration;
28
27
use serde::Deserialize;
29
28
···
57
56
dry_run: bool,
58
57
}
59
58
60
-
async fn post<C: HttpClient>(
61
-
client: &AuthenticatedClient<C>,
59
+
async fn post(
60
+
client: &BasicClient,
62
61
identifier: &AtIdentifier<'_>,
63
62
repo_name: &str,
64
63
repo_url: &str,
···
207
206
let args = Args::parse();
208
207
209
208
// Create HTTP client and session
210
-
let pds_uri = args.pds.as_str().trim_end_matches('/').to_string().into();
211
-
let mut client = AuthenticatedClient::new(reqwest::Client::new(), pds_uri);
209
+
let client = BasicClient::new(args.pds);
212
210
let bot_id = AtIdentifier::new(&args.identifier)?;
213
211
let session = Session::from(
214
212
client
···
222
220
.into_output()?,
223
221
);
224
222
println!("logged in as {} ({})", session.handle, session.did);
225
-
client.set_session(session);
223
+
client.set_session(session).await?;
226
224
227
225
let jetstream_config: JetstreamConfig = JetstreamConfig {
228
226
endpoint: args.jetstream_url.to_string(),