Commit ca66396c59

ca66396c59a91b3f3d55cf94023df5ed0f1bbe14

parent: 71fc17fe7d

Unsigned

siriusmart <siriusmart@tuta.io> · 2025-08-11 15:47 UTC

#85 scroll support for everything

Layout: unified · split

Cargo.lock +263 −175
@@ -13,9 +13,9 @@ dependencies = [
13 13
14[[package]] 14[[package]]
15name = "adler2" 15name = "adler2"
16version = "2.0.0" 16version = "2.0.1"
17source = "registry+https://github.com/rust-lang/crates.io-index" 17source = "registry+https://github.com/rust-lang/crates.io-index"
18checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" 18checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
19 19
20[[package]] 20[[package]]
21name = "aho-corasick" 21name = "aho-corasick"
@@ -28,9 +28,12 @@ dependencies = [
28 28
29[[package]] 29[[package]]
30name = "aligned-vec" 30name = "aligned-vec"
31version = "0.5.0" 31version = "0.6.4"
32source = "registry+https://github.com/rust-lang/crates.io-index" 32source = "registry+https://github.com/rust-lang/crates.io-index"
33checksum = "4aa90d7ce82d4be67b64039a3d588d38dbcc6736577de4a847025ce5b0c468d1" 33checksum = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b"
34dependencies = [
35 "equator",
36]
34 37
35[[package]] 38[[package]]
36name = "alloc-no-stdlib" 39name = "alloc-no-stdlib"
@@ -122,15 +125,15 @@ dependencies = [
122 125
123[[package]] 126[[package]]
124name = "autocfg" 127name = "autocfg"
125version = "1.4.0" 128version = "1.5.0"
126source = "registry+https://github.com/rust-lang/crates.io-index" 129source = "registry+https://github.com/rust-lang/crates.io-index"
127checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" 130checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
128 131
129[[package]] 132[[package]]
130name = "av1-grain" 133name = "av1-grain"
131version = "0.2.3" 134version = "0.2.4"
132source = "registry+https://github.com/rust-lang/crates.io-index" 135source = "registry+https://github.com/rust-lang/crates.io-index"
133checksum = "6678909d8c5d46a42abcf571271e15fdbc0a225e3646cf23762cd415046c78bf" 136checksum = "4f3efb2ca85bc610acfa917b5aaa36f3fcbebed5b3182d7f877b02531c4b80c8"
134dependencies = [ 137dependencies = [
135 "anyhow", 138 "anyhow",
136 "arrayvec", 139 "arrayvec",
@@ -142,9 +145,9 @@ dependencies = [
142 145
143[[package]] 146[[package]]
144name = "avif-serialize" 147name = "avif-serialize"
145version = "0.8.3" 148version = "0.8.5"
146source = "registry+https://github.com/rust-lang/crates.io-index" 149source = "registry+https://github.com/rust-lang/crates.io-index"
147checksum = "98922d6a4cfbcb08820c69d8eeccc05bb1f29bfa06b4f5b1dbfe9a868bd7608e" 150checksum = "2ea8ef51aced2b9191c08197f55450d830876d9933f8f48a429b354f1d496b42"
148dependencies = [ 151dependencies = [
149 "arrayvec", 152 "arrayvec",
150] 153]
@@ -161,7 +164,7 @@ dependencies = [
161 "miniz_oxide", 164 "miniz_oxide",
162 "object", 165 "object",
163 "rustc-demangle", 166 "rustc-demangle",
164 "windows-targets", 167 "windows-targets 0.52.6",
165] 168]
166 169
167[[package]] 170[[package]]
@@ -199,9 +202,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
199 202
200[[package]] 203[[package]]
201name = "bitflags" 204name = "bitflags"
202version = "2.9.0" 205version = "2.9.1"
203source = "registry+https://github.com/rust-lang/crates.io-index" 206source = "registry+https://github.com/rust-lang/crates.io-index"
204checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" 207checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
205dependencies = [ 208dependencies = [
206 "serde", 209 "serde",
207] 210]
@@ -256,15 +259,15 @@ checksum = "56ed6191a7e78c36abdb16ab65341eefd73d64d303fffccdbb00d51e4205967b"
256 259
257[[package]] 260[[package]]
258name = "bumpalo" 261name = "bumpalo"
259version = "3.17.0" 262version = "3.19.0"
260source = "registry+https://github.com/rust-lang/crates.io-index" 263source = "registry+https://github.com/rust-lang/crates.io-index"
261checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" 264checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
262 265
263[[package]] 266[[package]]
264name = "bytemuck" 267name = "bytemuck"
265version = "1.23.0" 268version = "1.23.2"
266source = "registry+https://github.com/rust-lang/crates.io-index" 269source = "registry+https://github.com/rust-lang/crates.io-index"
267checksum = "9134a6ef01ce4b366b50689c94f82c14bc72bc5d0386829828a2e2752ef7958c" 270checksum = "3995eaeebcdf32f91f980d360f78732ddc061097ab4e39991ae7a6ace9194677"
268 271
269[[package]] 272[[package]]
270name = "byteorder-lite" 273name = "byteorder-lite"
@@ -286,18 +289,18 @@ checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
286 289
287[[package]] 290[[package]]
288name = "castaway" 291name = "castaway"
289version = "0.2.3" 292version = "0.2.4"
290source = "registry+https://github.com/rust-lang/crates.io-index" 293source = "registry+https://github.com/rust-lang/crates.io-index"
291checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5" 294checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
292dependencies = [ 295dependencies = [
293 "rustversion", 296 "rustversion",
294] 297]
295 298
296[[package]] 299[[package]]
297name = "cc" 300name = "cc"
298version = "1.2.22" 301version = "1.2.32"
299source = "registry+https://github.com/rust-lang/crates.io-index" 302source = "registry+https://github.com/rust-lang/crates.io-index"
300checksum = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1" 303checksum = "2352e5597e9c544d5e6d9c95190d5d27738ade584fa8db0a16e130e5c2b5296e"
301dependencies = [ 304dependencies = [
302 "jobserver", 305 "jobserver",
303 "libc", 306 "libc",
@@ -316,9 +319,9 @@ dependencies = [
316 319
317[[package]] 320[[package]]
318name = "cfg-if" 321name = "cfg-if"
319version = "1.0.0" 322version = "1.0.1"
320source = "registry+https://github.com/rust-lang/crates.io-index" 323source = "registry+https://github.com/rust-lang/crates.io-index"
321checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 324checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
322 325
323[[package]] 326[[package]]
324name = "chrono" 327name = "chrono"
@@ -424,9 +427,9 @@ dependencies = [
424 427
425[[package]] 428[[package]]
426name = "crc32fast" 429name = "crc32fast"
427version = "1.4.2" 430version = "1.5.0"
428source = "registry+https://github.com/rust-lang/crates.io-index" 431source = "registry+https://github.com/rust-lang/crates.io-index"
429checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" 432checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
430dependencies = [ 433dependencies = [
431 "cfg-if", 434 "cfg-if",
432] 435]
@@ -462,7 +465,7 @@ version = "0.28.1"
462source = "registry+https://github.com/rust-lang/crates.io-index" 465source = "registry+https://github.com/rust-lang/crates.io-index"
463checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6" 466checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6"
464dependencies = [ 467dependencies = [
465 "bitflags 2.9.0", 468 "bitflags 2.9.1",
466 "crossterm_winapi", 469 "crossterm_winapi",
467 "mio", 470 "mio",
468 "parking_lot", 471 "parking_lot",
@@ -478,13 +481,13 @@ version = "0.29.0"
478source = "registry+https://github.com/rust-lang/crates.io-index" 481source = "registry+https://github.com/rust-lang/crates.io-index"
479checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b" 482checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b"
480dependencies = [ 483dependencies = [
481 "bitflags 2.9.0", 484 "bitflags 2.9.1",
482 "crossterm_winapi", 485 "crossterm_winapi",
483 "derive_more", 486 "derive_more",
484 "document-features", 487 "document-features",
485 "mio", 488 "mio",
486 "parking_lot", 489 "parking_lot",
487 "rustix 1.0.7", 490 "rustix 1.0.8",
488 "serde", 491 "serde",
489 "signal-hook", 492 "signal-hook",
490 "signal-hook-mio", 493 "signal-hook-mio",
@@ -502,9 +505,9 @@ dependencies = [
502 505
503[[package]] 506[[package]]
504name = "crunchy" 507name = "crunchy"
505version = "0.2.3" 508version = "0.2.4"
506source = "registry+https://github.com/rust-lang/crates.io-index" 509source = "registry+https://github.com/rust-lang/crates.io-index"
507checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" 510checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
508 511
509[[package]] 512[[package]]
510name = "crypto-common" 513name = "crypto-common"
@@ -620,9 +623,9 @@ dependencies = [
620 623
621[[package]] 624[[package]]
622name = "dyn-clone" 625name = "dyn-clone"
623version = "1.0.19" 626version = "1.0.20"
624source = "registry+https://github.com/rust-lang/crates.io-index" 627source = "registry+https://github.com/rust-lang/crates.io-index"
625checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" 628checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
626 629
627[[package]] 630[[package]]
628name = "either" 631name = "either"
@@ -636,6 +639,26 @@ version = "1.0.0"
636source = "registry+https://github.com/rust-lang/crates.io-index" 639source = "registry+https://github.com/rust-lang/crates.io-index"
637checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" 640checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
638 641
642[[package]]
643name = "equator"
644version = "0.4.2"
645source = "registry+https://github.com/rust-lang/crates.io-index"
646checksum = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc"
647dependencies = [
648 "equator-macro",
649]
650
651[[package]]
652name = "equator-macro"
653version = "0.4.2"
654source = "registry+https://github.com/rust-lang/crates.io-index"
655checksum = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3"
656dependencies = [
657 "proc-macro2",
658 "quote",
659 "syn",
660]
661
639[[package]] 662[[package]]
640name = "equivalent" 663name = "equivalent"
641version = "1.0.2" 664version = "1.0.2"
@@ -644,12 +667,12 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
644 667
645[[package]] 668[[package]]
646name = "errno" 669name = "errno"
647version = "0.3.11" 670version = "0.3.13"
648source = "registry+https://github.com/rust-lang/crates.io-index" 671source = "registry+https://github.com/rust-lang/crates.io-index"
649checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" 672checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
650dependencies = [ 673dependencies = [
651 "libc", 674 "libc",
652 "windows-sys 0.59.0", 675 "windows-sys 0.60.2",
653] 676]
654 677
655[[package]] 678[[package]]
@@ -695,9 +718,9 @@ dependencies = [
695 718
696[[package]] 719[[package]]
697name = "flate2" 720name = "flate2"
698version = "1.1.1" 721version = "1.1.2"
699source = "registry+https://github.com/rust-lang/crates.io-index" 722source = "registry+https://github.com/rust-lang/crates.io-index"
700checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" 723checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d"
701dependencies = [ 724dependencies = [
702 "crc32fast", 725 "crc32fast",
703 "miniz_oxide", 726 "miniz_oxide",
@@ -846,7 +869,7 @@ checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
846dependencies = [ 869dependencies = [
847 "cfg-if", 870 "cfg-if",
848 "libc", 871 "libc",
849 "wasi 0.11.0+wasi-snapshot-preview1", 872 "wasi 0.11.1+wasi-snapshot-preview1",
850] 873]
851 874
852[[package]] 875[[package]]
@@ -863,9 +886,9 @@ dependencies = [
863 886
864[[package]] 887[[package]]
865name = "gif" 888name = "gif"
866version = "0.13.1" 889version = "0.13.3"
867source = "registry+https://github.com/rust-lang/crates.io-index" 890source = "registry+https://github.com/rust-lang/crates.io-index"
868checksum = "3fb2d69b19215e18bb912fa30f7ce15846e301408695e44e0ef719f1da9e19f2" 891checksum = "4ae047235e33e2829703574b54fdec96bfbad892062d97fed2f76022287de61b"
869dependencies = [ 892dependencies = [
870 "color_quant", 893 "color_quant",
871 "weezl", 894 "weezl",
@@ -889,9 +912,9 @@ dependencies = [
889 912
890[[package]] 913[[package]]
891name = "hashbrown" 914name = "hashbrown"
892version = "0.15.3" 915version = "0.15.5"
893source = "registry+https://github.com/rust-lang/crates.io-index" 916source = "registry+https://github.com/rust-lang/crates.io-index"
894checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" 917checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
895dependencies = [ 918dependencies = [
896 "allocator-api2", 919 "allocator-api2",
897 "equivalent", 920 "equivalent",
@@ -1040,7 +1063,7 @@ dependencies = [
1040 "js-sys", 1063 "js-sys",
1041 "log", 1064 "log",
1042 "wasm-bindgen", 1065 "wasm-bindgen",
1043 "windows-core 0.61.0", 1066 "windows-core 0.61.2",
1044] 1067]
1045 1068
1046[[package]] 1069[[package]]
@@ -1189,9 +1212,9 @@ dependencies = [
1189 1212
1190[[package]] 1213[[package]]
1191name = "image-webp" 1214name = "image-webp"
1192version = "0.2.1" 1215version = "0.2.3"
1193source = "registry+https://github.com/rust-lang/crates.io-index" 1216source = "registry+https://github.com/rust-lang/crates.io-index"
1194checksum = "b77d01e822461baa8409e156015a1d91735549f0f2c17691bd2d996bef238f7f" 1217checksum = "f6970fe7a5300b4b42e62c52efa0187540a5bef546c60edaf554ef595d2e6f0b"
1195dependencies = [ 1218dependencies = [
1196 "byteorder-lite", 1219 "byteorder-lite",
1197 "quick-error", 1220 "quick-error",
@@ -1205,9 +1228,9 @@ checksum = "d0263a3d970d5c054ed9312c0057b4f3bde9c0b33836d3637361d4a9e6e7a408"
1205 1228
1206[[package]] 1229[[package]]
1207name = "indexmap" 1230name = "indexmap"
1208version = "2.9.0" 1231version = "2.10.0"
1209source = "registry+https://github.com/rust-lang/crates.io-index" 1232source = "registry+https://github.com/rust-lang/crates.io-index"
1210checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" 1233checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661"
1211dependencies = [ 1234dependencies = [
1212 "equivalent", 1235 "equivalent",
1213 "hashbrown", 1236 "hashbrown",
@@ -1221,9 +1244,9 @@ checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
1221 1244
1222[[package]] 1245[[package]]
1223name = "instability" 1246name = "instability"
1224version = "0.3.7" 1247version = "0.3.9"
1225source = "registry+https://github.com/rust-lang/crates.io-index" 1248source = "registry+https://github.com/rust-lang/crates.io-index"
1226checksum = "0bf9fed6d91cfb734e7476a06bde8300a1b94e217e1b523b6f0cd1a01998c71d" 1249checksum = "435d80800b936787d62688c927b6490e887c7ef5ff9ce922c6c6050fca75eb9a"
1227dependencies = [ 1250dependencies = [
1228 "darling", 1251 "darling",
1229 "indoc", 1252 "indoc",
@@ -1260,7 +1283,7 @@ version = "0.7.9"
1260source = "registry+https://github.com/rust-lang/crates.io-index" 1283source = "registry+https://github.com/rust-lang/crates.io-index"
1261checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" 1284checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4"
1262dependencies = [ 1285dependencies = [
1263 "bitflags 2.9.0", 1286 "bitflags 2.9.1",
1264 "cfg-if", 1287 "cfg-if",
1265 "libc", 1288 "libc",
1266] 1289]
@@ -1317,9 +1340,9 @@ dependencies = [
1317 1340
1318[[package]] 1341[[package]]
1319name = "jpeg-decoder" 1342name = "jpeg-decoder"
1320version = "0.3.1" 1343version = "0.3.2"
1321source = "registry+https://github.com/rust-lang/crates.io-index" 1344source = "registry+https://github.com/rust-lang/crates.io-index"
1322checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" 1345checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07"
1323 1346
1324[[package]] 1347[[package]]
1325name = "js-sys" 1348name = "js-sys"
@@ -1345,15 +1368,15 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
1345 1368
1346[[package]] 1369[[package]]
1347name = "libc" 1370name = "libc"
1348version = "0.2.172" 1371version = "0.2.175"
1349source = "registry+https://github.com/rust-lang/crates.io-index" 1372source = "registry+https://github.com/rust-lang/crates.io-index"
1350checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" 1373checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
1351 1374
1352[[package]] 1375[[package]]
1353name = "libfuzzer-sys" 1376name = "libfuzzer-sys"
1354version = "0.4.9" 1377version = "0.4.10"
1355source = "registry+https://github.com/rust-lang/crates.io-index" 1378source = "registry+https://github.com/rust-lang/crates.io-index"
1356checksum = "cf78f52d400cf2d84a3a973a78a592b4adc535739e0a5597a0da6f0c357adc75" 1379checksum = "5037190e1f70cbeef565bd267599242926f724d3b8a9f510fd7e0b540cfa4404"
1357dependencies = [ 1380dependencies = [
1358 "arbitrary", 1381 "arbitrary",
1359 "cc", 1382 "cc",
@@ -1394,9 +1417,9 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
1394 1417
1395[[package]] 1418[[package]]
1396name = "litrs" 1419name = "litrs"
1397version = "0.4.1" 1420version = "0.4.2"
1398source = "registry+https://github.com/rust-lang/crates.io-index" 1421source = "registry+https://github.com/rust-lang/crates.io-index"
1399checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" 1422checksum = "f5e54036fe321fd421e10d732f155734c4e4afd610dd556d9a82833ab3ee0bed"
1400 1423
1401[[package]] 1424[[package]]
1402name = "localzone" 1425name = "localzone"
@@ -1410,9 +1433,9 @@ dependencies = [
1410 1433
1411[[package]] 1434[[package]]
1412name = "lock_api" 1435name = "lock_api"
1413version = "0.4.12" 1436version = "0.4.13"
1414source = "registry+https://github.com/rust-lang/crates.io-index" 1437source = "registry+https://github.com/rust-lang/crates.io-index"
1415checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 1438checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"
1416dependencies = [ 1439dependencies = [
1417 "autocfg", 1440 "autocfg",
1418 "scopeguard", 1441 "scopeguard",
@@ -1468,9 +1491,9 @@ dependencies = [
1468 1491
1469[[package]] 1492[[package]]
1470name = "memchr" 1493name = "memchr"
1471version = "2.7.4" 1494version = "2.7.5"
1472source = "registry+https://github.com/rust-lang/crates.io-index" 1495source = "registry+https://github.com/rust-lang/crates.io-index"
1473checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 1496checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
1474 1497
1475[[package]] 1498[[package]]
1476name = "minimal-lexical" 1499name = "minimal-lexical"
@@ -1480,9 +1503,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
1480 1503
1481[[package]] 1504[[package]]
1482name = "miniz_oxide" 1505name = "miniz_oxide"
1483version = "0.8.8" 1506version = "0.8.9"
1484source = "registry+https://github.com/rust-lang/crates.io-index" 1507source = "registry+https://github.com/rust-lang/crates.io-index"
1485checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" 1508checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
1486dependencies = [ 1509dependencies = [
1487 "adler2", 1510 "adler2",
1488 "simd-adler32", 1511 "simd-adler32",
@@ -1490,14 +1513,14 @@ dependencies = [
1490 1513
1491[[package]] 1514[[package]]
1492name = "mio" 1515name = "mio"
1493version = "1.0.3" 1516version = "1.0.4"
1494source = "registry+https://github.com/rust-lang/crates.io-index" 1517source = "registry+https://github.com/rust-lang/crates.io-index"
1495checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" 1518checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
1496dependencies = [ 1519dependencies = [
1497 "libc", 1520 "libc",
1498 "log", 1521 "log",
1499 "wasi 0.11.0+wasi-snapshot-preview1", 1522 "wasi 0.11.1+wasi-snapshot-preview1",
1500 "windows-sys 0.52.0", 1523 "windows-sys 0.59.0",
1501] 1524]
1502 1525
1503[[package]] 1526[[package]]
@@ -1650,11 +1673,11 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
1650 1673
1651[[package]] 1674[[package]]
1652name = "openssl" 1675name = "openssl"
1653version = "0.10.72" 1676version = "0.10.73"
1654source = "registry+https://github.com/rust-lang/crates.io-index" 1677source = "registry+https://github.com/rust-lang/crates.io-index"
1655checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" 1678checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8"
1656dependencies = [ 1679dependencies = [
1657 "bitflags 2.9.0", 1680 "bitflags 2.9.1",
1658 "cfg-if", 1681 "cfg-if",
1659 "foreign-types", 1682 "foreign-types",
1660 "libc", 1683 "libc",
@@ -1682,9 +1705,9 @@ checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
1682 1705
1683[[package]] 1706[[package]]
1684name = "openssl-sys" 1707name = "openssl-sys"
1685version = "0.9.108" 1708version = "0.9.109"
1686source = "registry+https://github.com/rust-lang/crates.io-index" 1709source = "registry+https://github.com/rust-lang/crates.io-index"
1687checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" 1710checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571"
1688dependencies = [ 1711dependencies = [
1689 "cc", 1712 "cc",
1690 "libc", 1713 "libc",
@@ -1694,9 +1717,9 @@ dependencies = [
1694 1717
1695[[package]] 1718[[package]]
1696name = "parking_lot" 1719name = "parking_lot"
1697version = "0.12.3" 1720version = "0.12.4"
1698source = "registry+https://github.com/rust-lang/crates.io-index" 1721source = "registry+https://github.com/rust-lang/crates.io-index"
1699checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" 1722checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13"
1700dependencies = [ 1723dependencies = [
1701 "lock_api", 1724 "lock_api",
1702 "parking_lot_core", 1725 "parking_lot_core",
@@ -1704,15 +1727,15 @@ dependencies = [
1704 1727
1705[[package]] 1728[[package]]
1706name = "parking_lot_core" 1729name = "parking_lot_core"
1707version = "0.9.10" 1730version = "0.9.11"
1708source = "registry+https://github.com/rust-lang/crates.io-index" 1731source = "registry+https://github.com/rust-lang/crates.io-index"
1709checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" 1732checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
1710dependencies = [ 1733dependencies = [
1711 "cfg-if", 1734 "cfg-if",
1712 "libc", 1735 "libc",
1713 "redox_syscall", 1736 "redox_syscall",
1714 "smallvec", 1737 "smallvec",
1715 "windows-targets", 1738 "windows-targets 0.52.6",
1716] 1739]
1717 1740
1718[[package]] 1741[[package]]
@@ -1802,27 +1825,27 @@ dependencies = [
1802 1825
1803[[package]] 1826[[package]]
1804name = "proc-macro2" 1827name = "proc-macro2"
1805version = "1.0.95" 1828version = "1.0.96"
1806source = "registry+https://github.com/rust-lang/crates.io-index" 1829source = "registry+https://github.com/rust-lang/crates.io-index"
1807checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" 1830checksum = "beef09f85ae72cea1ef96ba6870c51e6382ebfa4f0e85b643459331f3daa5be0"
1808dependencies = [ 1831dependencies = [
1809 "unicode-ident", 1832 "unicode-ident",
1810] 1833]
1811 1834
1812[[package]] 1835[[package]]
1813name = "profiling" 1836name = "profiling"
1814version = "1.0.16" 1837version = "1.0.17"
1815source = "registry+https://github.com/rust-lang/crates.io-index" 1838source = "registry+https://github.com/rust-lang/crates.io-index"
1816checksum = "afbdc74edc00b6f6a218ca6a5364d6226a259d4b8ea1af4a0ea063f27e179f4d" 1839checksum = "3eb8486b569e12e2c32ad3e204dbaba5e4b5b216e9367044f25f1dba42341773"
1817dependencies = [ 1840dependencies = [
1818 "profiling-procmacros", 1841 "profiling-procmacros",
1819] 1842]
1820 1843
1821[[package]] 1844[[package]]
1822name = "profiling-procmacros" 1845name = "profiling-procmacros"
1823version = "1.0.16" 1846version = "1.0.17"
1824source = "registry+https://github.com/rust-lang/crates.io-index" 1847source = "registry+https://github.com/rust-lang/crates.io-index"
1825checksum = "a65f2e60fbf1063868558d69c6beacf412dc755f9fc020f514b7955fc914fe30" 1848checksum = "52717f9a02b6965224f95ca2a81e2e0c5c43baacd28ca057577988930b6c3d5b"
1826dependencies = [ 1849dependencies = [
1827 "quote", 1850 "quote",
1828 "syn", 1851 "syn",
@@ -1854,9 +1877,9 @@ dependencies = [
1854 1877
1855[[package]] 1878[[package]]
1856name = "r-efi" 1879name = "r-efi"
1857version = "5.2.0" 1880version = "5.3.0"
1858source = "registry+https://github.com/rust-lang/crates.io-index" 1881source = "registry+https://github.com/rust-lang/crates.io-index"
1859checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" 1882checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
1860 1883
1861[[package]] 1884[[package]]
1862name = "rand" 1885name = "rand"
@@ -1923,7 +1946,7 @@ version = "0.29.0"
1923source = "registry+https://github.com/rust-lang/crates.io-index" 1946source = "registry+https://github.com/rust-lang/crates.io-index"
1924checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b" 1947checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b"
1925dependencies = [ 1948dependencies = [
1926 "bitflags 2.9.0", 1949 "bitflags 2.9.1",
1927 "cassowary", 1950 "cassowary",
1928 "compact_str", 1951 "compact_str",
1929 "crossterm 0.28.1", 1952 "crossterm 0.28.1",
@@ -1976,9 +1999,9 @@ dependencies = [
1976 1999
1977[[package]] 2000[[package]]
1978name = "ravif" 2001name = "ravif"
1979version = "0.11.12" 2002version = "0.11.20"
1980source = "registry+https://github.com/rust-lang/crates.io-index" 2003source = "registry+https://github.com/rust-lang/crates.io-index"
1981checksum = "d6a5f31fcf7500f9401fea858ea4ab5525c99f2322cfcee732c0e6c74208c0c6" 2004checksum = "5825c26fddd16ab9f515930d49028a630efec172e903483c94796cfe31893e6b"
1982dependencies = [ 2005dependencies = [
1983 "avif-serialize", 2006 "avif-serialize",
1984 "imgref", 2007 "imgref",
@@ -2000,11 +2023,11 @@ dependencies = [
2000 2023
2001[[package]] 2024[[package]]
2002name = "redox_syscall" 2025name = "redox_syscall"
2003version = "0.5.12" 2026version = "0.5.17"
2004source = "registry+https://github.com/rust-lang/crates.io-index" 2027source = "registry+https://github.com/rust-lang/crates.io-index"
2005checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" 2028checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
2006dependencies = [ 2029dependencies = [
2007 "bitflags 2.9.0", 2030 "bitflags 2.9.1",
2008] 2031]
2009 2032
2010[[package]] 2033[[package]]
@@ -2087,9 +2110,9 @@ dependencies = [
2087 2110
2088[[package]] 2111[[package]]
2089name = "rgb" 2112name = "rgb"
2090version = "0.8.50" 2113version = "0.8.52"
2091source = "registry+https://github.com/rust-lang/crates.io-index" 2114source = "registry+https://github.com/rust-lang/crates.io-index"
2092checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a" 2115checksum = "0c6a884d2998352bb4daf0183589aec883f16a6da1f4dde84d8e2e9a5409a1ce"
2093dependencies = [ 2116dependencies = [
2094 "bytemuck", 2117 "bytemuck",
2095] 2118]
@@ -2133,7 +2156,7 @@ version = "0.38.44"
2133source = "registry+https://github.com/rust-lang/crates.io-index" 2156source = "registry+https://github.com/rust-lang/crates.io-index"
2134checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" 2157checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
2135dependencies = [ 2158dependencies = [
2136 "bitflags 2.9.0", 2159 "bitflags 2.9.1",
2137 "errno", 2160 "errno",
2138 "libc", 2161 "libc",
2139 "linux-raw-sys 0.4.15", 2162 "linux-raw-sys 0.4.15",
@@ -2142,15 +2165,15 @@ dependencies = [
2142 2165
2143[[package]] 2166[[package]]
2144name = "rustix" 2167name = "rustix"
2145version = "1.0.7" 2168version = "1.0.8"
2146source = "registry+https://github.com/rust-lang/crates.io-index" 2169source = "registry+https://github.com/rust-lang/crates.io-index"
2147checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" 2170checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8"
2148dependencies = [ 2171dependencies = [
2149 "bitflags 2.9.0", 2172 "bitflags 2.9.1",
2150 "errno", 2173 "errno",
2151 "libc", 2174 "libc",
2152 "linux-raw-sys 0.9.4", 2175 "linux-raw-sys 0.9.4",
2153 "windows-sys 0.59.0", 2176 "windows-sys 0.60.2",
2154] 2177]
2155 2178
2156[[package]] 2179[[package]]
@@ -2164,9 +2187,9 @@ dependencies = [
2164 2187
2165[[package]] 2188[[package]]
2166name = "rustversion" 2189name = "rustversion"
2167version = "1.0.20" 2190version = "1.0.22"
2168source = "registry+https://github.com/rust-lang/crates.io-index" 2191source = "registry+https://github.com/rust-lang/crates.io-index"
2169checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" 2192checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
2170 2193
2171[[package]] 2194[[package]]
2172name = "rustypipe" 2195name = "rustypipe"
@@ -2224,7 +2247,7 @@ version = "2.11.1"
2224source = "registry+https://github.com/rust-lang/crates.io-index" 2247source = "registry+https://github.com/rust-lang/crates.io-index"
2225checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" 2248checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
2226dependencies = [ 2249dependencies = [
2227 "bitflags 2.9.0", 2250 "bitflags 2.9.1",
2228 "core-foundation", 2251 "core-foundation",
2229 "core-foundation-sys", 2252 "core-foundation-sys",
2230 "libc", 2253 "libc",
@@ -2263,9 +2286,9 @@ dependencies = [
2263 2286
2264[[package]] 2287[[package]]
2265name = "serde_json" 2288name = "serde_json"
2266version = "1.0.140" 2289version = "1.0.142"
2267source = "registry+https://github.com/rust-lang/crates.io-index" 2290source = "registry+https://github.com/rust-lang/crates.io-index"
2268checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" 2291checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7"
2269dependencies = [ 2292dependencies = [
2270 "itoa", 2293 "itoa",
2271 "memchr", 2294 "memchr",
@@ -2284,9 +2307,9 @@ dependencies = [
2284 2307
2285[[package]] 2308[[package]]
2286name = "serde_spanned" 2309name = "serde_spanned"
2287version = "0.6.8" 2310version = "0.6.9"
2288source = "registry+https://github.com/rust-lang/crates.io-index" 2311source = "registry+https://github.com/rust-lang/crates.io-index"
2289checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" 2312checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
2290dependencies = [ 2313dependencies = [
2291 "serde", 2314 "serde",
2292] 2315]
@@ -2384,9 +2407,9 @@ dependencies = [
2384 2407
2385[[package]] 2408[[package]]
2386name = "signal-hook-registry" 2409name = "signal-hook-registry"
2387version = "1.4.5" 2410version = "1.4.6"
2388source = "registry+https://github.com/rust-lang/crates.io-index" 2411source = "registry+https://github.com/rust-lang/crates.io-index"
2389checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" 2412checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b"
2390dependencies = [ 2413dependencies = [
2391 "libc", 2414 "libc",
2392] 2415]
@@ -2432,15 +2455,15 @@ dependencies = [
2432 2455
2433[[package]] 2456[[package]]
2434name = "slab" 2457name = "slab"
2435version = "0.4.10" 2458version = "0.4.11"
2436source = "registry+https://github.com/rust-lang/crates.io-index" 2459source = "registry+https://github.com/rust-lang/crates.io-index"
2437checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d" 2460checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
2438 2461
2439[[package]] 2462[[package]]
2440name = "smallvec" 2463name = "smallvec"
2441version = "1.15.0" 2464version = "1.15.1"
2442source = "registry+https://github.com/rust-lang/crates.io-index" 2465source = "registry+https://github.com/rust-lang/crates.io-index"
2443checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" 2466checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
2444 2467
2445[[package]] 2468[[package]]
2446name = "socket2" 2469name = "socket2"
@@ -2494,9 +2517,9 @@ dependencies = [
2494 2517
2495[[package]] 2518[[package]]
2496name = "syn" 2519name = "syn"
2497version = "2.0.101" 2520version = "2.0.104"
2498source = "registry+https://github.com/rust-lang/crates.io-index" 2521source = "registry+https://github.com/rust-lang/crates.io-index"
2499checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" 2522checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
2500dependencies = [ 2523dependencies = [
2501 "proc-macro2", 2524 "proc-macro2",
2502 "quote", 2525 "quote",
@@ -2544,14 +2567,14 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
2544 2567
2545[[package]] 2568[[package]]
2546name = "tempfile" 2569name = "tempfile"
2547version = "3.19.1" 2570version = "3.20.0"
2548source = "registry+https://github.com/rust-lang/crates.io-index" 2571source = "registry+https://github.com/rust-lang/crates.io-index"
2549checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf" 2572checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
2550dependencies = [ 2573dependencies = [
2551 "fastrand", 2574 "fastrand",
2552 "getrandom 0.3.3", 2575 "getrandom 0.3.3",
2553 "once_cell", 2576 "once_cell",
2554 "rustix 1.0.7", 2577 "rustix 1.0.8",
2555 "windows-sys 0.59.0", 2578 "windows-sys 0.59.0",
2556] 2579]
2557 2580
@@ -2660,9 +2683,9 @@ dependencies = [
2660 2683
2661[[package]] 2684[[package]]
2662name = "tokio" 2685name = "tokio"
2663version = "1.47.0" 2686version = "1.47.1"
2664source = "registry+https://github.com/rust-lang/crates.io-index" 2687source = "registry+https://github.com/rust-lang/crates.io-index"
2665checksum = "43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35" 2688checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038"
2666dependencies = [ 2689dependencies = [
2667 "backtrace", 2690 "backtrace",
2668 "bytes", 2691 "bytes",
@@ -2700,9 +2723,9 @@ dependencies = [
2700 2723
2701[[package]] 2724[[package]]
2702name = "tokio-util" 2725name = "tokio-util"
2703version = "0.7.15" 2726version = "0.7.16"
2704source = "registry+https://github.com/rust-lang/crates.io-index" 2727source = "registry+https://github.com/rust-lang/crates.io-index"
2705checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" 2728checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5"
2706dependencies = [ 2729dependencies = [
2707 "bytes", 2730 "bytes",
2708 "futures-core", 2731 "futures-core",
@@ -2713,9 +2736,9 @@ dependencies = [
2713 2736
2714[[package]] 2737[[package]]
2715name = "toml" 2738name = "toml"
2716version = "0.8.22" 2739version = "0.8.23"
2717source = "registry+https://github.com/rust-lang/crates.io-index" 2740source = "registry+https://github.com/rust-lang/crates.io-index"
2718checksum = "05ae329d1f08c4d17a59bed7ff5b5a769d062e64a62d34a3261b219e62cd5aae" 2741checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"
2719dependencies = [ 2742dependencies = [
2720 "serde", 2743 "serde",
2721 "serde_spanned", 2744 "serde_spanned",
@@ -2725,18 +2748,18 @@ dependencies = [
2725 2748
2726[[package]] 2749[[package]]
2727name = "toml_datetime" 2750name = "toml_datetime"
2728version = "0.6.9" 2751version = "0.6.11"
2729source = "registry+https://github.com/rust-lang/crates.io-index" 2752source = "registry+https://github.com/rust-lang/crates.io-index"
2730checksum = "3da5db5a963e24bc68be8b17b6fa82814bb22ee8660f192bb182771d498f09a3" 2753checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"
2731dependencies = [ 2754dependencies = [
2732 "serde", 2755 "serde",
2733] 2756]
2734 2757
2735[[package]] 2758[[package]]
2736name = "toml_edit" 2759name = "toml_edit"
2737version = "0.22.26" 2760version = "0.22.27"
2738source = "registry+https://github.com/rust-lang/crates.io-index" 2761source = "registry+https://github.com/rust-lang/crates.io-index"
2739checksum = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e" 2762checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
2740dependencies = [ 2763dependencies = [
2741 "indexmap", 2764 "indexmap",
2742 "serde", 2765 "serde",
@@ -2766,7 +2789,7 @@ version = "0.6.6"
2766source = "registry+https://github.com/rust-lang/crates.io-index" 2789source = "registry+https://github.com/rust-lang/crates.io-index"
2767checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" 2790checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2"
2768dependencies = [ 2791dependencies = [
2769 "bitflags 2.9.0", 2792 "bitflags 2.9.1",
2770 "bytes", 2793 "bytes",
2771 "futures-util", 2794 "futures-util",
2772 "http", 2795 "http",
@@ -2836,9 +2859,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
2836 2859
2837[[package]] 2860[[package]]
2838name = "tui-additions" 2861name = "tui-additions"
2839version = "0.4.1" 2862version = "0.4.2"
2840source = "registry+https://github.com/rust-lang/crates.io-index" 2863source = "registry+https://github.com/rust-lang/crates.io-index"
2841checksum = "5f7b596c218d7ad85959a22131d1e959627174c526654e093b89d55a0d679672" 2864checksum = "19d7f5cf6ff05ab129ebc8a639539f6b814aee7b48bc3f2fe97f5845a15c3a52"
2842dependencies = [ 2865dependencies = [
2843 "crossterm 0.29.0", 2866 "crossterm 0.29.0",
2844 "dyn-clone", 2867 "dyn-clone",
@@ -2949,9 +2972,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2949 2972
2950[[package]] 2973[[package]]
2951name = "v_frame" 2974name = "v_frame"
2952version = "0.3.8" 2975version = "0.3.9"
2953source = "registry+https://github.com/rust-lang/crates.io-index" 2976source = "registry+https://github.com/rust-lang/crates.io-index"
2954checksum = "d6f32aaa24bacd11e488aa9ba66369c7cd514885742c9fe08cfe85884db3e92b" 2977checksum = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2"
2955dependencies = [ 2978dependencies = [
2956 "aligned-vec", 2979 "aligned-vec",
2957 "num-traits", 2980 "num-traits",
@@ -2978,9 +3001,9 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
2978 3001
2979[[package]] 3002[[package]]
2980name = "viuer" 3003name = "viuer"
2981version = "0.9.1" 3004version = "0.9.2"
2982source = "registry+https://github.com/rust-lang/crates.io-index" 3005source = "registry+https://github.com/rust-lang/crates.io-index"
2983checksum = "d3f25eeadaacb5253b24f4b576fecad471b07107e552e2a631a6d7ab5e1e49e0" 3006checksum = "0ae7c6870b98c838123f22cac9a594cbe2d74ea48d79271c08f8c9e680b40fac"
2984dependencies = [ 3007dependencies = [
2985 "ansi_colours", 3008 "ansi_colours",
2986 "base64", 3009 "base64",
@@ -3004,9 +3027,9 @@ dependencies = [
3004 3027
3005[[package]] 3028[[package]]
3006name = "wasi" 3029name = "wasi"
3007version = "0.11.0+wasi-snapshot-preview1" 3030version = "0.11.1+wasi-snapshot-preview1"
3008source = "registry+https://github.com/rust-lang/crates.io-index" 3031source = "registry+https://github.com/rust-lang/crates.io-index"
3009checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 3032checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
3010 3033
3011[[package]] 3034[[package]]
3012name = "wasi" 3035name = "wasi"
@@ -3100,9 +3123,9 @@ dependencies = [
3100 3123
3101[[package]] 3124[[package]]
3102name = "weezl" 3125name = "weezl"
3103version = "0.1.8" 3126version = "0.1.10"
3104source = "registry+https://github.com/rust-lang/crates.io-index" 3127source = "registry+https://github.com/rust-lang/crates.io-index"
3105checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" 3128checksum = "a751b3277700db47d3e574514de2eced5e54dc8a5436a3bf7a0b248b2cee16f3"
3106 3129
3107[[package]] 3130[[package]]
3108name = "winapi" 3131name = "winapi"
@@ -3142,7 +3165,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3142checksum = "9252e5725dbed82865af151df558e754e4a3c2c30818359eb17465f1346a1b49" 3165checksum = "9252e5725dbed82865af151df558e754e4a3c2c30818359eb17465f1346a1b49"
3143dependencies = [ 3166dependencies = [
3144 "windows-core 0.54.0", 3167 "windows-core 0.54.0",
3145 "windows-targets", 3168 "windows-targets 0.52.6",
3146] 3169]
3147 3170
3148[[package]] 3171[[package]]
@@ -3152,19 +3175,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3152checksum = "12661b9c89351d684a50a8a643ce5f608e20243b9fb84687800163429f161d65" 3175checksum = "12661b9c89351d684a50a8a643ce5f608e20243b9fb84687800163429f161d65"
3153dependencies = [ 3176dependencies = [
3154 "windows-result 0.1.2", 3177 "windows-result 0.1.2",
3155 "windows-targets", 3178 "windows-targets 0.52.6",
3156] 3179]
3157 3180
3158[[package]] 3181[[package]]
3159name = "windows-core" 3182name = "windows-core"
3160version = "0.61.0" 3183version = "0.61.2"
3161source = "registry+https://github.com/rust-lang/crates.io-index" 3184source = "registry+https://github.com/rust-lang/crates.io-index"
3162checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" 3185checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
3163dependencies = [ 3186dependencies = [
3164 "windows-implement", 3187 "windows-implement",
3165 "windows-interface", 3188 "windows-interface",
3166 "windows-link", 3189 "windows-link",
3167 "windows-result 0.3.2", 3190 "windows-result 0.3.4",
3168 "windows-strings", 3191 "windows-strings",
3169] 3192]
3170 3193
@@ -3192,9 +3215,9 @@ dependencies = [
3192 3215
3193[[package]] 3216[[package]]
3194name = "windows-link" 3217name = "windows-link"
3195version = "0.1.1" 3218version = "0.1.3"
3196source = "registry+https://github.com/rust-lang/crates.io-index" 3219source = "registry+https://github.com/rust-lang/crates.io-index"
3197checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" 3220checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
3198 3221
3199[[package]] 3222[[package]]
3200name = "windows-result" 3223name = "windows-result"
@@ -3202,43 +3225,43 @@ version = "0.1.2"
3202source = "registry+https://github.com/rust-lang/crates.io-index" 3225source = "registry+https://github.com/rust-lang/crates.io-index"
3203checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" 3226checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8"
3204dependencies = [ 3227dependencies = [
3205 "windows-targets", 3228 "windows-targets 0.52.6",
3206] 3229]
3207 3230
3208[[package]] 3231[[package]]
3209name = "windows-result" 3232name = "windows-result"
3210version = "0.3.2" 3233version = "0.3.4"
3211source = "registry+https://github.com/rust-lang/crates.io-index" 3234source = "registry+https://github.com/rust-lang/crates.io-index"
3212checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" 3235checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
3213dependencies = [ 3236dependencies = [
3214 "windows-link", 3237 "windows-link",
3215] 3238]
3216 3239
3217[[package]] 3240[[package]]
3218name = "windows-strings" 3241name = "windows-strings"
3219version = "0.4.0" 3242version = "0.4.2"
3220source = "registry+https://github.com/rust-lang/crates.io-index" 3243source = "registry+https://github.com/rust-lang/crates.io-index"
3221checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" 3244checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
3222dependencies = [ 3245dependencies = [
3223 "windows-link", 3246 "windows-link",
3224] 3247]
3225 3248
3226[[package]] 3249[[package]]
3227name = "windows-sys" 3250name = "windows-sys"
3228version = "0.52.0" 3251version = "0.59.0"
3229source = "registry+https://github.com/rust-lang/crates.io-index" 3252source = "registry+https://github.com/rust-lang/crates.io-index"
3230checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 3253checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
3231dependencies = [ 3254dependencies = [
3232 "windows-targets", 3255 "windows-targets 0.52.6",
3233] 3256]
3234 3257
3235[[package]] 3258[[package]]
3236name = "windows-sys" 3259name = "windows-sys"
3237version = "0.59.0" 3260version = "0.60.2"
3238source = "registry+https://github.com/rust-lang/crates.io-index" 3261source = "registry+https://github.com/rust-lang/crates.io-index"
3239checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 3262checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
3240dependencies = [ 3263dependencies = [
3241 "windows-targets", 3264 "windows-targets 0.53.3",
3242] 3265]
3243 3266
3244[[package]] 3267[[package]]
@@ -3247,14 +3270,31 @@ version = "0.52.6"
3247source = "registry+https://github.com/rust-lang/crates.io-index" 3270source = "registry+https://github.com/rust-lang/crates.io-index"
3248checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 3271checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
3249dependencies = [ 3272dependencies = [
3250 "windows_aarch64_gnullvm", 3273 "windows_aarch64_gnullvm 0.52.6",
3251 "windows_aarch64_msvc", 3274 "windows_aarch64_msvc 0.52.6",
3252 "windows_i686_gnu", 3275 "windows_i686_gnu 0.52.6",
3253 "windows_i686_gnullvm", 3276 "windows_i686_gnullvm 0.52.6",
3254 "windows_i686_msvc", 3277 "windows_i686_msvc 0.52.6",
3255 "windows_x86_64_gnu", 3278 "windows_x86_64_gnu 0.52.6",
3256 "windows_x86_64_gnullvm", 3279 "windows_x86_64_gnullvm 0.52.6",
3257 "windows_x86_64_msvc", 3280 "windows_x86_64_msvc 0.52.6",
3281]
3282
3283[[package]]
3284name = "windows-targets"
3285version = "0.53.3"
3286source = "registry+https://github.com/rust-lang/crates.io-index"
3287checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
3288dependencies = [
3289 "windows-link",
3290 "windows_aarch64_gnullvm 0.53.0",
3291 "windows_aarch64_msvc 0.53.0",
3292 "windows_i686_gnu 0.53.0",
3293 "windows_i686_gnullvm 0.53.0",
3294 "windows_i686_msvc 0.53.0",
3295 "windows_x86_64_gnu 0.53.0",
3296 "windows_x86_64_gnullvm 0.53.0",
3297 "windows_x86_64_msvc 0.53.0",
3258] 3298]
3259 3299
3260[[package]] 3300[[package]]
@@ -3263,53 +3303,101 @@ version = "0.52.6"
3263source = "registry+https://github.com/rust-lang/crates.io-index" 3303source = "registry+https://github.com/rust-lang/crates.io-index"
3264checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 3304checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
3265 3305
3306[[package]]
3307name = "windows_aarch64_gnullvm"
3308version = "0.53.0"
3309source = "registry+https://github.com/rust-lang/crates.io-index"
3310checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
3311
3266[[package]] 3312[[package]]
3267name = "windows_aarch64_msvc" 3313name = "windows_aarch64_msvc"
3268version = "0.52.6" 3314version = "0.52.6"
3269source = "registry+https://github.com/rust-lang/crates.io-index" 3315source = "registry+https://github.com/rust-lang/crates.io-index"
3270checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 3316checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
3271 3317
3318[[package]]
3319name = "windows_aarch64_msvc"
3320version = "0.53.0"
3321source = "registry+https://github.com/rust-lang/crates.io-index"
3322checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
3323
3272[[package]] 3324[[package]]
3273name = "windows_i686_gnu" 3325name = "windows_i686_gnu"
3274version = "0.52.6" 3326version = "0.52.6"
3275source = "registry+https://github.com/rust-lang/crates.io-index" 3327source = "registry+https://github.com/rust-lang/crates.io-index"
3276checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 3328checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
3277 3329
3330[[package]]
3331name = "windows_i686_gnu"
3332version = "0.53.0"
3333source = "registry+https://github.com/rust-lang/crates.io-index"
3334checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
3335
3278[[package]] 3336[[package]]
3279name = "windows_i686_gnullvm" 3337name = "windows_i686_gnullvm"
3280version = "0.52.6" 3338version = "0.52.6"
3281source = "registry+https://github.com/rust-lang/crates.io-index" 3339source = "registry+https://github.com/rust-lang/crates.io-index"
3282checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 3340checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
3283 3341
3342[[package]]
3343name = "windows_i686_gnullvm"
3344version = "0.53.0"
3345source = "registry+https://github.com/rust-lang/crates.io-index"
3346checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
3347
3284[[package]] 3348[[package]]
3285name = "windows_i686_msvc" 3349name = "windows_i686_msvc"
3286version = "0.52.6" 3350version = "0.52.6"
3287source = "registry+https://github.com/rust-lang/crates.io-index" 3351source = "registry+https://github.com/rust-lang/crates.io-index"
3288checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 3352checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
3289 3353
3354[[package]]
3355name = "windows_i686_msvc"
3356version = "0.53.0"
3357source = "registry+https://github.com/rust-lang/crates.io-index"
3358checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
3359
3290[[package]] 3360[[package]]
3291name = "windows_x86_64_gnu" 3361name = "windows_x86_64_gnu"
3292version = "0.52.6" 3362version = "0.52.6"
3293source = "registry+https://github.com/rust-lang/crates.io-index" 3363source = "registry+https://github.com/rust-lang/crates.io-index"
3294checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 3364checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
3295 3365
3366[[package]]
3367name = "windows_x86_64_gnu"
3368version = "0.53.0"
3369source = "registry+https://github.com/rust-lang/crates.io-index"
3370checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
3371
3296[[package]] 3372[[package]]
3297name = "windows_x86_64_gnullvm" 3373name = "windows_x86_64_gnullvm"
3298version = "0.52.6" 3374version = "0.52.6"
3299source = "registry+https://github.com/rust-lang/crates.io-index" 3375source = "registry+https://github.com/rust-lang/crates.io-index"
3300checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 3376checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
3301 3377
3378[[package]]
3379name = "windows_x86_64_gnullvm"
3380version = "0.53.0"
3381source = "registry+https://github.com/rust-lang/crates.io-index"
3382checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
3383
3302[[package]] 3384[[package]]
3303name = "windows_x86_64_msvc" 3385name = "windows_x86_64_msvc"
3304version = "0.52.6" 3386version = "0.52.6"
3305source = "registry+https://github.com/rust-lang/crates.io-index" 3387source = "registry+https://github.com/rust-lang/crates.io-index"
3306checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 3388checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
3307 3389
3390[[package]]
3391name = "windows_x86_64_msvc"
3392version = "0.53.0"
3393source = "registry+https://github.com/rust-lang/crates.io-index"
3394checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
3395
3308[[package]] 3396[[package]]
3309name = "winnow" 3397name = "winnow"
3310version = "0.7.10" 3398version = "0.7.12"
3311source = "registry+https://github.com/rust-lang/crates.io-index" 3399source = "registry+https://github.com/rust-lang/crates.io-index"
3312checksum = "c06928c8748d81b05c9be96aad92e1b6ff01833332f281e8cfca3be4b35fc9ec" 3400checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95"
3313dependencies = [ 3401dependencies = [
3314 "memchr", 3402 "memchr",
3315] 3403]
@@ -3320,7 +3408,7 @@ version = "0.39.0"
3320source = "registry+https://github.com/rust-lang/crates.io-index" 3408source = "registry+https://github.com/rust-lang/crates.io-index"
3321checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" 3409checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
3322dependencies = [ 3410dependencies = [
3323 "bitflags 2.9.0", 3411 "bitflags 2.9.1",
3324] 3412]
3325 3413
3326[[package]] 3414[[package]]
@@ -3399,18 +3487,18 @@ dependencies = [
3399 3487
3400[[package]] 3488[[package]]
3401name = "zerocopy" 3489name = "zerocopy"
3402version = "0.8.25" 3490version = "0.8.26"
3403source = "registry+https://github.com/rust-lang/crates.io-index" 3491source = "registry+https://github.com/rust-lang/crates.io-index"
3404checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" 3492checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f"
3405dependencies = [ 3493dependencies = [
3406 "zerocopy-derive", 3494 "zerocopy-derive",
3407] 3495]
3408 3496
3409[[package]] 3497[[package]]
3410name = "zerocopy-derive" 3498name = "zerocopy-derive"
3411version = "0.8.25" 3499version = "0.8.26"
3412source = "registry+https://github.com/rust-lang/crates.io-index" 3500source = "registry+https://github.com/rust-lang/crates.io-index"
3413checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" 3501checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
3414dependencies = [ 3502dependencies = [
3415 "proc-macro2", 3503 "proc-macro2",
3416 "quote", 3504 "quote",
@@ -3457,9 +3545,9 @@ dependencies = [
3457 3545
3458[[package]] 3546[[package]]
3459name = "zerovec" 3547name = "zerovec"
3460version = "0.11.2" 3548version = "0.11.4"
3461source = "registry+https://github.com/rust-lang/crates.io-index" 3549source = "registry+https://github.com/rust-lang/crates.io-index"
3462checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" 3550checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b"
3463dependencies = [ 3551dependencies = [
3464 "yoke", 3552 "yoke",
3465 "zerofrom", 3553 "zerofrom",
@@ -3494,9 +3582,9 @@ dependencies = [
3494 3582
3495[[package]] 3583[[package]]
3496name = "zune-jpeg" 3584name = "zune-jpeg"
3497version = "0.4.14" 3585version = "0.4.20"
3498source = "registry+https://github.com/rust-lang/crates.io-index" 3586source = "registry+https://github.com/rust-lang/crates.io-index"
3499checksum = "99a5bab8d7dedf81405c4bb1f2b83ea057643d9cb28778cea9eecddeedd2e028" 3587checksum = "fc1f7e205ce79eb2da3cd71c5f55f3589785cb7c79f6a03d1c8d1491bda5d089"
3500dependencies = [ 3588dependencies = [
3501 "zune-core", 3589 "zune-core",
3502] 3590]
src/items/channeldisplay.rs +99
@@ -348,6 +348,105 @@ impl FrameworkItem for ChannelDisplay {
348 self.selectable() 348 self.selectable()
349 } 349 }
350 350
351 fn message(
352 &mut self,
353 framework: &mut FrameworkClean,
354 data: std::collections::HashMap<String, Box<dyn std::any::Any>>,
355 ) -> bool {
356 if !data.contains_key("type") {
357 return false;
358 }
359
360 let updated = match self {
361 Self::None => false,
362 Self::Main { textlist, .. } => data.get("type").is_some_and(|v| {
363 v.downcast_ref::<String>()
364 .is_some_and(|v| match v.as_str() {
365 "scrollup" => textlist.up().is_ok(),
366 "scrolldown" => textlist.down().is_ok(),
367 _ => false,
368 })
369 }),
370 Self::Videos {
371 textlist,
372 videos,
373 iteminfo,
374 ..
375 } => data.get("type").is_some_and(|v| {
376 let updated = v
377 .downcast_ref::<String>()
378 .is_some_and(|v| match v.as_str() {
379 "scrollup" => textlist.up().is_ok(),
380 "scrolldown" => textlist.down().is_ok(),
381 _ => false,
382 });
383
384 if updated && !videos.is_empty() {
385 framework
386 .data
387 .state
388 .get_mut::<Tasks>()
389 .unwrap()
390 .priority
391 .push(Task::RenderAll);
392 framework
393 .data
394 .global
395 .get_mut::<Status>()
396 .unwrap()
397 .render_image = true;
398 iteminfo.item = Some(videos[textlist.selected].clone());
399 }
400 updated
401 }),
402 Self::Playlists {
403 playlists,
404 textlist,
405 iteminfo,
406 ..
407 } => {
408 let updated = data.get("type").is_some_and(|v| {
409 v.downcast_ref::<String>()
410 .is_some_and(|v| match v.as_str() {
411 "scrollup" => textlist.up().is_ok(),
412 "scrolldown" => textlist.down().is_ok(),
413 _ => false,
414 })
415 });
416
417 if updated && !playlists.is_empty() {
418 framework
419 .data
420 .state
421 .get_mut::<Tasks>()
422 .unwrap()
423 .priority
424 .push(Task::RenderAll);
425 framework
426 .data
427 .global
428 .get_mut::<Status>()
429 .unwrap()
430 .render_image = true;
431 iteminfo.item = Some(playlists[textlist.selected].clone());
432 }
433
434 updated
435 }
436 };
437
438 set_envs(
439 self.infalte_item_update(
440 framework.data.global.get::<MainConfig>().unwrap(),
441 framework.data.global.get::<Status>().unwrap(),
442 )
443 .into_iter(),
444 &mut framework.data.state.get_mut::<StateEnvs>().unwrap().0,
445 );
446
447 updated
448 }
449
351 fn key_event( 450 fn key_event(
352 &mut self, 451 &mut self,
353 framework: &mut tui_additions::framework::FrameworkClean, 452 framework: &mut tui_additions::framework::FrameworkClean,
src/items/channellist.rs +43 −1
@@ -218,7 +218,7 @@ impl FrameworkItem for ChannelList {
218 218
219 if self.selector.items.len() == 1 { 219 if self.selector.items.len() == 1 {
220 frame.render_widget( 220 frame.render_widget(
221 Paragraph::new("Subscribe to some channels first, come back later.\n\nHey, Sirius here. This YouTube TUI project started when I was 16, trying to show off my mediocre terminal themes on r/unixporn. I am really grateful to have this as my first project - if it wasn't for your support , I wouldn't have kept pushing the project forward. And if it wasn't for encouragement and attention from the wider community, it might also have been my last. So I would just want to say a huge thank you to everything here on this screen.\n\nLong live Invidious,\nSirius - Cambridge offer holder 2025, Christ Colleage.\n\nP.S. The 16-year-old-code-quality technical debt is strong here, may the force be with you.").wrap(ratatui::widgets::Wrap { trim: true }), 221 Paragraph::new("Subscribe to some channels first, come back later.\n\n- Docs at tui.siri.ws/youtube\n- Follow me on GitHub! (@Siriusmart)").wrap(ratatui::widgets::Wrap { trim: true }),
222 chunks[0], 222 chunks[0],
223 ); 223 );
224 return; 224 return;
@@ -261,6 +261,48 @@ impl FrameworkItem for ChannelList {
261 .render(frame, framework, chunks[0], popup_render, info); 261 .render(frame, framework, chunks[0], popup_render, info);
262 } 262 }
263 263
264 fn message(
265 &mut self,
266 framework: &mut FrameworkClean,
267 data: std::collections::HashMap<String, Box<dyn std::any::Any>>,
268 ) -> bool {
269 if !data.contains_key("type") {
270 return false;
271 }
272
273 let updated = data.get("type").is_some_and(|v| {
274 v.downcast_ref::<String>()
275 .is_some_and(|v| match v.as_str() {
276 "scrollup" => self.selector.up().is_ok(),
277 "scrolldown" => self.selector.down().is_ok(),
278 _ => false,
279 })
280 });
281
282 if updated {
283 framework
284 .data
285 .global
286 .get_mut::<Status>()
287 .unwrap()
288 .storage
289 .insert::<SubSelect>(SubSelect(self.selector.selected));
290
291 self.update_channel_item(framework);
292 self.update(framework);
293 self.set_env(framework);
294
295 framework
296 .data
297 .global
298 .get_mut::<Status>()
299 .unwrap()
300 .render_image = true;
301 }
302
303 updated
304 }
305
264 fn key_event( 306 fn key_event(
265 &mut self, 307 &mut self,
266 framework: &mut tui_additions::framework::FrameworkClean, 308 framework: &mut tui_additions::framework::FrameworkClean,
src/items/itemlist.rs +48
@@ -273,6 +273,54 @@ impl Default for ItemList {
273} 273}
274 274
275impl FrameworkItem for ItemList { 275impl FrameworkItem for ItemList {
276 fn message(
277 &mut self,
278 framework: &mut FrameworkClean,
279 data: std::collections::HashMap<String, Box<dyn std::any::Any>>,
280 ) -> bool {
281 if !data.contains_key("type") {
282 return false;
283 }
284
285 let updated = data.get("type").is_some_and(|v| {
286 v.downcast_ref::<String>()
287 .is_some_and(|v| match v.as_str() {
288 "scrollup" => self.textlist.up().is_ok(),
289 "scrolldown" => self.textlist.down().is_ok(),
290 _ => false,
291 })
292 });
293
294 if updated && !self.items.is_empty() {
295 self.update(framework);
296 set_envs(
297 self.infalte_item_update(
298 framework.data.global.get::<MainConfig>().unwrap(),
299 framework.data.global.get::<Status>().unwrap(),
300 )
301 .into_iter(),
302 &mut framework.data.state.get_mut::<StateEnvs>().unwrap().0,
303 );
304
305 framework
306 .data
307 .global
308 .get_mut::<Status>()
309 .unwrap()
310 .render_image = true;
311 self.info.item = Some(self.items[self.textlist.selected].clone());
312 framework
313 .data
314 .state
315 .get_mut::<Tasks>()
316 .unwrap()
317 .priority
318 .push(Task::RenderAll);
319 }
320
321 updated
322 }
323
276 fn render( 324 fn render(
277 &mut self, 325 &mut self,
278 frame: &mut ratatui::Frame, 326 frame: &mut ratatui::Frame,
src/items/searchbar.rs +19
@@ -235,4 +235,23 @@ impl FrameworkItem for SearchBar {
235 fn selectable(&self) -> bool { 235 fn selectable(&self) -> bool {
236 true 236 true
237 } 237 }
238
239 fn message(
240 &mut self,
241 _framework: &mut tui_additions::framework::FrameworkClean,
242 data: std::collections::HashMap<String, Box<dyn std::any::Any>>,
243 ) -> bool {
244 if !data.contains_key("type") {
245 return false;
246 }
247
248 data.get("type").is_some_and(|v| {
249 v.downcast_ref::<String>()
250 .is_some_and(|v| match v.as_str() {
251 "scrollup" => self.text_field.left().is_ok(),
252 "scrolldown" => self.text_field.right().is_ok(),
253 _ => false,
254 })
255 })
256 }
238} 257}
src/items/searchfilters.rs +51
@@ -80,6 +80,57 @@ impl SearchFilter {
80} 80}
81 81
82impl FrameworkItem for SearchFilter { 82impl FrameworkItem for SearchFilter {
83 fn message(
84 &mut self,
85 framework: &mut FrameworkClean,
86 data: std::collections::HashMap<String, Box<dyn std::any::Any>>,
87 ) -> bool {
88 if !data.contains_key("type") {
89 return false;
90 }
91
92 let hovered_textlist = if self.current_hover {
93 &mut self.right_textlist
94 } else {
95 &mut self.left_textlist
96 };
97
98 let current_hover_before = self.current_hover;
99
100 let updated = data.get("type").is_some_and(|v| {
101 v.downcast_ref::<String>()
102 .is_some_and(|v| match v.as_str() {
103 "scrollup" => hovered_textlist.up().is_ok(),
104 "scrolldown" => hovered_textlist.down().is_ok(),
105 _ => false,
106 })
107 });
108
109 if updated {
110 if current_hover_before {
111 framework
112 .data
113 .state
114 .get_mut::<Search>()
115 .unwrap()
116 .filters
117 .set_index(
118 self.left_textlist.selected,
119 self.right_textlist.selected,
120 framework.data.global.get_mut::<Message>().unwrap(),
121 );
122 } else {
123 self.right_textlist
124 .set_items(&self.right_options[self.left_textlist.selected])
125 .unwrap();
126 }
127 }
128
129 self.update(framework);
130
131 updated
132 }
133
83 fn render( 134 fn render(
84 &mut self, 135 &mut self,
85 frame: &mut ratatui::Frame, 136 frame: &mut ratatui::Frame,
src/items/singleitem.rs +85
@@ -531,6 +531,91 @@ impl SingleItem {
531} 531}
532 532
533impl FrameworkItem for SingleItem { 533impl FrameworkItem for SingleItem {
534 fn message(
535 &mut self,
536 framework: &mut FrameworkClean,
537 data: std::collections::HashMap<String, Box<dyn std::any::Any>>,
538 ) -> bool {
539 if !data.contains_key("type") {
540 return false;
541 }
542
543 match &mut self.r#type {
544 SingleItemType::None => false,
545 SingleItemType::Video(SingleVideoItem { textlist, .. }) => {
546 data.get("type").is_some_and(|v| {
547 v.downcast_ref::<String>()
548 .is_some_and(|v| match v.as_str() {
549 "scrollup" => textlist.up().is_ok(),
550 "scrolldown" => textlist.down().is_ok(),
551 _ => false,
552 })
553 })
554 }
555 SingleItemType::Playlist(item) => {
556 if item.is_commands_view {
557 data.get("type").is_some_and(|v| {
558 v.downcast_ref::<String>()
559 .is_some_and(|v| match v.as_str() {
560 "scrollup" => item.commands_view.up().is_ok(),
561 "scrolldown" => item.commands_view.down().is_ok(),
562 _ => false,
563 })
564 })
565 } else {
566 let updated = data.get("type").is_some_and(|v| {
567 v.downcast_ref::<String>()
568 .is_some_and(|v| match v.as_str() {
569 "scrollup" => {
570 if item.videos_view.selected == 1 {
571 // going from a hovering video to not hovering will make the image
572 // stay on the screen, therefore it needs to be removed by clearing
573 // the screen
574 framework
575 .data
576 .state
577 .get_mut::<Tasks>()
578 .unwrap()
579 .priority
580 .push(Task::ClearPage);
581 }
582 item.videos_view.up().is_ok()
583 }
584 "scrolldown" => item.videos_view.down().is_ok(),
585 _ => false,
586 })
587 });
588
589 if updated {
590 if item.videos_view.selected != 0 {
591 item.hovered_video.item = Some(
592 self.item.as_ref().unwrap().fullplaylist().unwrap().videos
593 [item.videos_view.selected - 1]
594 .clone(),
595 );
596 }
597
598 framework
599 .data
600 .global
601 .get_mut::<Status>()
602 .unwrap()
603 .render_image = true;
604 set_envs(
605 self.infalte_item_update(
606 framework.data.global.get::<MainConfig>().unwrap(),
607 framework.data.global.get::<Status>().unwrap(),
608 )
609 .into_iter(),
610 &mut framework.data.state.get_mut::<StateEnvs>().unwrap().0,
611 );
612 }
613
614 updated
615 }
616 }
617 }
618 }
534 fn render( 619 fn render(
535 &mut self, 620 &mut self,
536 frame: &mut ratatui::Frame, 621 frame: &mut ratatui::Frame,
src/items/videolist.rs +51
@@ -200,6 +200,57 @@ fn get_options(is_channel: bool) -> &'static [&'static str] {
200} 200}
201 201
202impl FrameworkItem for VideoList { 202impl FrameworkItem for VideoList {
203 fn message(
204 &mut self,
205 framework: &mut FrameworkClean,
206 data: std::collections::HashMap<String, Box<dyn std::any::Any>>,
207 ) -> bool {
208 if !data.contains_key("type") {
209 return false;
210 }
211
212 let previously_selected = self.selector.selected;
213
214 let updated = data.get("type").is_some_and(|v| {
215 v.downcast_ref::<String>()
216 .is_some_and(|v| match v.as_str() {
217 "scrollup" => self.selector.up().is_ok(),
218 "scrolldown" => self.selector.down().is_ok(),
219 _ => false,
220 })
221 });
222
223 if updated {
224 let offset = if self.channel_id.is_some() { 3 } else { 1 };
225 if self.selector.selected < offset {
226 self.display.item = None;
227 if previously_selected >= offset {
228 let tasks = framework.data.state.get_mut::<Tasks>().unwrap();
229 tasks.priority.push(Task::ClearPage);
230 }
231 } else {
232 self.display.item = self
233 .items
234 .get(self.selector.selected - offset)
235 .map(|item| Item::MiniVideo(item.clone()));
236 }
237 framework
238 .data
239 .state
240 .insert::<VidSelect>(VidSelect(self.selector.selected > 1));
241 framework
242 .data
243 .global
244 .get_mut::<Status>()
245 .unwrap()
246 .render_image = true;
247
248 self.set_env(framework);
249 }
250
251 updated
252 }
253
203 fn load_item( 254 fn load_item(
204 &mut self, 255 &mut self,
205 framework: &mut tui_additions::framework::FrameworkClean, 256 framework: &mut tui_additions::framework::FrameworkClean,
src/run.rs +52 −7
@@ -2,7 +2,12 @@ use crossterm::event::{self, Event, MouseButton, MouseEventKind};
2use ratatui::{backend::CrosstermBackend, Terminal}; 2use ratatui::{backend::CrosstermBackend, Terminal};
3#[cfg(feature = "mpv")] 3#[cfg(feature = "mpv")]
4use std::time::{Duration, Instant}; 4use std::time::{Duration, Instant};
5use std::{any::TypeId, error::Error, io::Stdout}; 5use std::{
6 any::{Any, TypeId},
7 collections::HashMap,
8 error::Error,
9 io::Stdout,
10};
6use tui_additions::framework::Framework; 11use tui_additions::framework::Framework;
7 12
8use crate::{ 13use crate::{
@@ -57,6 +62,8 @@ pub fn run(
57 62
58 *framework.data.global.get_mut::<Message>().unwrap() = Message::None; 63 *framework.data.global.get_mut::<Message>().unwrap() = Message::None;
59 64
65 let mut updated = false;
66
60 match event::read()? { 67 match event::read()? {
61 Event::Mouse(mouse) 68 Event::Mouse(mouse)
62 if framework 69 if framework
@@ -66,7 +73,44 @@ pub fn run(
66 .unwrap() 73 .unwrap()
67 .mouse_support => 74 .mouse_support =>
68 { 75 {
76 let command_capture = &mut framework
77 .data
78 .global
79 .get_mut::<Status>()
80 .unwrap()
81 .command_capture;
82
83 match mouse.kind {
84 MouseEventKind::ScrollUp if command_capture.is_some() => {
85 updated = updated || command_capture.as_mut().unwrap().left().is_ok()
86 }
87 MouseEventKind::ScrollUp => {
88 let data: Box<dyn Any> = Box::new("scrollup".to_string());
89 updated = updated
90 || framework.message(HashMap::from([("type".to_string(), data)]))
91 }
92 MouseEventKind::ScrollDown if command_capture.is_some() => {
93 updated = updated || command_capture.as_mut().unwrap().right().is_ok()
94 }
95 MouseEventKind::ScrollDown => {
96 let data: Box<dyn Any> = Box::new("scrolldown".to_string());
97 updated = updated
98 || framework.message(HashMap::from([("type".to_string(), data)]))
99 }
100 _ => {}
101 }
102
69 if mouse.kind != MouseEventKind::Down(MouseButton::Left) { 103 if mouse.kind != MouseEventKind::Down(MouseButton::Left) {
104 if updated {
105 framework
106 .data
107 .state
108 .get_mut::<Tasks>()
109 .unwrap()
110 .priority
111 .push(Task::RenderAll);
112 }
113
70 continue; 114 continue;
71 } 115 }
72 116
@@ -81,7 +125,7 @@ pub fn run(
81 let (mut frameworkclean, state) = framework.split_clean(); 125 let (mut frameworkclean, state) = framework.split_clean();
82 for row in state.0.iter_mut() { 126 for row in state.0.iter_mut() {
83 for item in row.items.iter_mut() { 127 for item in row.items.iter_mut() {
84 if item.item.type_id() == TypeId::of::<SearchFilter>() 128 if (*item.item).type_id() == TypeId::of::<SearchFilter>()
85 && item.item.mouse_event( 129 && item.item.mouse_event(
86 &mut frameworkclean, 130 &mut frameworkclean,
87 0, 131 0,
@@ -101,11 +145,12 @@ pub fn run(
101 } 145 }
102 } 146 }
103 147
104 let updated = if searchfilter_clicked { 148 updated = updated
105 true 149 || if searchfilter_clicked {
106 } else { 150 true
107 framework.mouse_event(mouse.column, mouse.row) 151 } else {
108 }; 152 framework.mouse_event(mouse.column, mouse.row)
153 };
109 154
110 if updated { 155 if updated {
111 framework 156 framework