Commit 7ecf6c7a4a

7ecf6c7a4ae01d47f96c3d2c1854ceeb7570e4c5

parent: 9214fb2aa2

Unsigned

siriusmart <siriusmart@tuta.io> · 2024-09-14 12:40 UTC

#60 bumped everything up to date

Layout: unified · split

Cargo.lock +492 −417
@@ -8,6 +8,30 @@ version = "1.0.2"
88source = "registry+https://github.com/rust-lang/crates.io-index"
99checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
1010
11[[package]]
12name = "adler2"
13version = "2.0.0"
14source = "registry+https://github.com/rust-lang/crates.io-index"
15checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
16
17[[package]]
18name = "ahash"
19version = "0.8.11"
20source = "registry+https://github.com/rust-lang/crates.io-index"
21checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
22dependencies = [
23 "cfg-if",
24 "once_cell",
25 "version_check",
26 "zerocopy",
27]
28
29[[package]]
30name = "allocator-api2"
31version = "0.2.18"
32source = "registry+https://github.com/rust-lang/crates.io-index"
33checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
34
1135[[package]]
1236name = "android-tzdata"
1337version = "0.1.1"
@@ -25,24 +49,24 @@ dependencies = [
2549
2650[[package]]
2751name = "ansi_colours"
28version = "1.2.1"
52version = "1.2.3"
2953source = "registry+https://github.com/rust-lang/crates.io-index"
30checksum = "7db9d9767fde724f83933a716ee182539788f293828244e9d999695ce0f7ba1e"
54checksum = "14eec43e0298190790f41679fe69ef7a829d2a2ddd78c8c00339e84710e435fe"
3155dependencies = [
3256 "rgb",
3357]
3458
3559[[package]]
3660name = "autocfg"
37version = "1.1.0"
61version = "1.3.0"
3862source = "registry+https://github.com/rust-lang/crates.io-index"
39checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
63checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
4064
4165[[package]]
4266name = "base64"
43version = "0.13.1"
67version = "0.21.7"
4468source = "registry+https://github.com/rust-lang/crates.io-index"
45checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
69checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
4670
4771[[package]]
4872name = "bit_field"
@@ -56,6 +80,15 @@ version = "1.3.2"
5680source = "registry+https://github.com/rust-lang/crates.io-index"
5781checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
5882
83[[package]]
84name = "bitflags"
85version = "2.6.0"
86source = "registry+https://github.com/rust-lang/crates.io-index"
87checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
88dependencies = [
89 "serde",
90]
91
5992[[package]]
6093name = "block"
6194version = "0.1.6"
@@ -64,21 +97,21 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
6497
6598[[package]]
6699name = "bumpalo"
67version = "3.13.0"
100version = "3.16.0"
68101source = "registry+https://github.com/rust-lang/crates.io-index"
69checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"
102checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
70103
71104[[package]]
72105name = "bytemuck"
73version = "1.13.1"
106version = "1.18.0"
74107source = "registry+https://github.com/rust-lang/crates.io-index"
75checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
108checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae"
76109
77110[[package]]
78111name = "byteorder"
79version = "1.4.3"
112version = "1.5.0"
80113source = "registry+https://github.com/rust-lang/crates.io-index"
81checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
114checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
82115
83116[[package]]
84117name = "cassowary"
@@ -86,11 +119,23 @@ version = "0.3.0"
86119source = "registry+https://github.com/rust-lang/crates.io-index"
87120checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
88121
122[[package]]
123name = "castaway"
124version = "0.2.3"
125source = "registry+https://github.com/rust-lang/crates.io-index"
126checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5"
127dependencies = [
128 "rustversion",
129]
130
89131[[package]]
90132name = "cc"
91version = "1.0.79"
133version = "1.1.18"
92134source = "registry+https://github.com/rust-lang/crates.io-index"
93checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
135checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476"
136dependencies = [
137 "shlex",
138]
94139
95140[[package]]
96141name = "cfg-if"
@@ -100,14 +145,14 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
100145
101146[[package]]
102147name = "chrono"
103version = "0.4.26"
148version = "0.4.38"
104149source = "registry+https://github.com/rust-lang/crates.io-index"
105checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5"
150checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
106151dependencies = [
107152 "android-tzdata",
108153 "iana-time-zone",
109154 "num-traits",
110 "winapi",
155 "windows-targets 0.52.6",
111156]
112157
113158[[package]]
@@ -138,23 +183,38 @@ version = "1.1.0"
138183source = "registry+https://github.com/rust-lang/crates.io-index"
139184checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
140185
186[[package]]
187name = "compact_str"
188version = "0.8.0"
189source = "registry+https://github.com/rust-lang/crates.io-index"
190checksum = "6050c3a16ddab2e412160b31f2c871015704239bca62f72f6e5f0be631d3f644"
191dependencies = [
192 "castaway",
193 "cfg-if",
194 "itoa",
195 "rustversion",
196 "ryu",
197 "serde",
198 "static_assertions",
199]
200
141201[[package]]
142202name = "console"
143version = "0.15.7"
203version = "0.15.8"
144204source = "registry+https://github.com/rust-lang/crates.io-index"
145checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8"
205checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
146206dependencies = [
147207 "encode_unicode",
148208 "lazy_static",
149209 "libc",
150 "windows-sys 0.45.0",
210 "windows-sys 0.52.0",
151211]
152212
153213[[package]]
154214name = "core-foundation"
155version = "0.9.3"
215version = "0.9.4"
156216source = "registry+https://github.com/rust-lang/crates.io-index"
157checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
217checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
158218dependencies = [
159219 "core-foundation-sys",
160220 "libc",
@@ -162,72 +222,54 @@ dependencies = [
162222
163223[[package]]
164224name = "core-foundation-sys"
165version = "0.8.4"
225version = "0.8.7"
166226source = "registry+https://github.com/rust-lang/crates.io-index"
167checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
227checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
168228
169229[[package]]
170230name = "crc32fast"
171version = "1.3.2"
172source = "registry+https://github.com/rust-lang/crates.io-index"
173checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
174dependencies = [
175 "cfg-if",
176]
177
178[[package]]
179name = "crossbeam-channel"
180version = "0.5.8"
231version = "1.4.2"
181232source = "registry+https://github.com/rust-lang/crates.io-index"
182checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
233checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
183234dependencies = [
184235 "cfg-if",
185 "crossbeam-utils",
186236]
187237
188238[[package]]
189239name = "crossbeam-deque"
190version = "0.8.3"
240version = "0.8.5"
191241source = "registry+https://github.com/rust-lang/crates.io-index"
192checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
242checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
193243dependencies = [
194 "cfg-if",
195244 "crossbeam-epoch",
196245 "crossbeam-utils",
197246]
198247
199248[[package]]
200249name = "crossbeam-epoch"
201version = "0.9.15"
250version = "0.9.18"
202251source = "registry+https://github.com/rust-lang/crates.io-index"
203checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"
252checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
204253dependencies = [
205 "autocfg",
206 "cfg-if",
207254 "crossbeam-utils",
208 "memoffset",
209 "scopeguard",
210255]
211256
212257[[package]]
213258name = "crossbeam-utils"
214version = "0.8.16"
259version = "0.8.20"
215260source = "registry+https://github.com/rust-lang/crates.io-index"
216checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
217dependencies = [
218 "cfg-if",
219]
261checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
220262
221263[[package]]
222264name = "crossterm"
223version = "0.25.0"
265version = "0.27.0"
224266source = "registry+https://github.com/rust-lang/crates.io-index"
225checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67"
267checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df"
226268dependencies = [
227 "bitflags",
269 "bitflags 2.6.0",
228270 "crossterm_winapi",
229271 "libc",
230 "mio",
272 "mio 0.8.11",
231273 "parking_lot",
232274 "signal-hook",
233275 "signal-hook-mio",
@@ -236,15 +278,15 @@ dependencies = [
236278
237279[[package]]
238280name = "crossterm"
239version = "0.26.1"
281version = "0.28.1"
240282source = "registry+https://github.com/rust-lang/crates.io-index"
241checksum = "a84cda67535339806297f1b331d6dd6320470d2a0fe65381e79ee9e156dd3d13"
283checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6"
242284dependencies = [
243 "bitflags",
285 "bitflags 2.6.0",
244286 "crossterm_winapi",
245 "libc",
246 "mio",
287 "mio 1.0.2",
247288 "parking_lot",
289 "rustix",
248290 "serde",
249291 "signal-hook",
250292 "signal-hook-mio",
@@ -268,15 +310,15 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
268310
269311[[package]]
270312name = "dyn-clone"
271version = "1.0.11"
313version = "1.0.17"
272314source = "registry+https://github.com/rust-lang/crates.io-index"
273checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30"
315checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
274316
275317[[package]]
276318name = "either"
277version = "1.8.1"
319version = "1.13.0"
278320source = "registry+https://github.com/rust-lang/crates.io-index"
279checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
321checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
280322
281323[[package]]
282324name = "encode_unicode"
@@ -286,42 +328,31 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
286328
287329[[package]]
288330name = "equivalent"
289version = "1.0.0"
331version = "1.0.1"
290332source = "registry+https://github.com/rust-lang/crates.io-index"
291checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1"
333checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
292334
293335[[package]]
294336name = "errno"
295version = "0.3.1"
296source = "registry+https://github.com/rust-lang/crates.io-index"
297checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
298dependencies = [
299 "errno-dragonfly",
300 "libc",
301 "windows-sys 0.48.0",
302]
303
304[[package]]
305name = "errno-dragonfly"
306version = "0.1.2"
337version = "0.3.9"
307338source = "registry+https://github.com/rust-lang/crates.io-index"
308checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
339checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
309340dependencies = [
310 "cc",
311341 "libc",
342 "windows-sys 0.52.0",
312343]
313344
314345[[package]]
315346name = "exr"
316version = "1.7.0"
347version = "1.72.0"
317348source = "registry+https://github.com/rust-lang/crates.io-index"
318checksum = "d1e481eb11a482815d3e9d618db8c42a93207134662873809335a92327440c18"
349checksum = "887d93f60543e9a9362ef8a21beedd0a833c5d9610e18c67abe15a5963dcb1a4"
319350dependencies = [
320351 "bit_field",
321352 "flume",
322353 "half",
323354 "lebe",
324 "miniz_oxide",
355 "miniz_oxide 0.7.4",
325356 "rayon-core",
326357 "smallvec",
327358 "zune-inflate",
@@ -329,42 +360,35 @@ dependencies = [
329360
330361[[package]]
331362name = "fastrand"
332version = "1.9.0"
363version = "2.1.1"
333364source = "registry+https://github.com/rust-lang/crates.io-index"
334checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
335dependencies = [
336 "instant",
337]
365checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
338366
339367[[package]]
340368name = "fdeflate"
341version = "0.3.0"
369version = "0.3.4"
342370source = "registry+https://github.com/rust-lang/crates.io-index"
343checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10"
371checksum = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645"
344372dependencies = [
345373 "simd-adler32",
346374]
347375
348376[[package]]
349377name = "flate2"
350version = "1.0.26"
378version = "1.0.33"
351379source = "registry+https://github.com/rust-lang/crates.io-index"
352checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743"
380checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253"
353381dependencies = [
354382 "crc32fast",
355 "miniz_oxide",
383 "miniz_oxide 0.8.0",
356384]
357385
358386[[package]]
359387name = "flume"
360version = "0.10.14"
388version = "0.11.0"
361389source = "registry+https://github.com/rust-lang/crates.io-index"
362checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577"
390checksum = "55ac459de2512911e4b674ce33cf20befaba382d05b62b008afc1c8b57cbf181"
363391dependencies = [
364 "futures-core",
365 "futures-sink",
366 "nanorand",
367 "pin-project",
368392 "spin",
369393]
370394
@@ -383,36 +407,11 @@ version = "0.1.1"
383407source = "registry+https://github.com/rust-lang/crates.io-index"
384408checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
385409
386[[package]]
387name = "futures-core"
388version = "0.3.28"
389source = "registry+https://github.com/rust-lang/crates.io-index"
390checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
391
392[[package]]
393name = "futures-sink"
394version = "0.3.28"
395source = "registry+https://github.com/rust-lang/crates.io-index"
396checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
397
398[[package]]
399name = "getrandom"
400version = "0.2.10"
401source = "registry+https://github.com/rust-lang/crates.io-index"
402checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
403dependencies = [
404 "cfg-if",
405 "js-sys",
406 "libc",
407 "wasi",
408 "wasm-bindgen",
409]
410
411410[[package]]
412411name = "gif"
413version = "0.12.0"
412version = "0.13.1"
414413source = "registry+https://github.com/rust-lang/crates.io-index"
415checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"
414checksum = "3fb2d69b19215e18bb912fa30f7ce15846e301408695e44e0ef719f1da9e19f2"
416415dependencies = [
417416 "color_quant",
418417 "weezl",
@@ -420,39 +419,50 @@ dependencies = [
420419
421420[[package]]
422421name = "half"
423version = "2.2.1"
422version = "2.4.1"
424423source = "registry+https://github.com/rust-lang/crates.io-index"
425checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0"
424checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
426425dependencies = [
426 "cfg-if",
427427 "crunchy",
428428]
429429
430430[[package]]
431431name = "hashbrown"
432version = "0.14.0"
432version = "0.14.5"
433433source = "registry+https://github.com/rust-lang/crates.io-index"
434checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
434checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
435dependencies = [
436 "ahash",
437 "allocator-api2",
438]
439
440[[package]]
441name = "heck"
442version = "0.5.0"
443source = "registry+https://github.com/rust-lang/crates.io-index"
444checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
435445
436446[[package]]
437447name = "hermit-abi"
438version = "0.3.2"
448version = "0.3.9"
439449source = "registry+https://github.com/rust-lang/crates.io-index"
440checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
450checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
441451
442452[[package]]
443453name = "home"
444version = "0.5.5"
454version = "0.5.9"
445455source = "registry+https://github.com/rust-lang/crates.io-index"
446checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb"
456checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
447457dependencies = [
448 "windows-sys 0.48.0",
458 "windows-sys 0.52.0",
449459]
450460
451461[[package]]
452462name = "http_req"
453version = "0.9.2"
463version = "0.12.0"
454464source = "registry+https://github.com/rust-lang/crates.io-index"
455checksum = "9f680177f2ebe4aabd573d07b322d15a5e0fbc97cd739fd627b08043c89041f8"
465checksum = "92208b0986f414edaca8ede2c6962c979309346a9e8e19d07d0a7879aae1549e"
456466dependencies = [
457467 "native-tls",
458468 "unicase",
@@ -460,16 +470,16 @@ dependencies = [
460470
461471[[package]]
462472name = "iana-time-zone"
463version = "0.1.57"
473version = "0.1.60"
464474source = "registry+https://github.com/rust-lang/crates.io-index"
465checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613"
475checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
466476dependencies = [
467477 "android_system_properties",
468478 "core-foundation-sys",
469479 "iana-time-zone-haiku",
470480 "js-sys",
471481 "wasm-bindgen",
472 "windows",
482 "windows-core",
473483]
474484
475485[[package]]
@@ -483,9 +493,9 @@ dependencies = [
483493
484494[[package]]
485495name = "image"
486version = "0.24.6"
496version = "0.24.9"
487497source = "registry+https://github.com/rust-lang/crates.io-index"
488checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a"
498checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d"
489499dependencies = [
490500 "bytemuck",
491501 "byteorder",
@@ -493,7 +503,6 @@ dependencies = [
493503 "exr",
494504 "gif",
495505 "jpeg-decoder",
496 "num-rational",
497506 "num-traits",
498507 "png",
499508 "qoi",
@@ -502,28 +511,29 @@ dependencies = [
502511
503512[[package]]
504513name = "indexmap"
505version = "2.0.0"
514version = "2.5.0"
506515source = "registry+https://github.com/rust-lang/crates.io-index"
507checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"
516checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
508517dependencies = [
509518 "equivalent",
510519 "hashbrown",
511520]
512521
513522[[package]]
514name = "instant"
515version = "0.1.12"
523name = "instability"
524version = "0.3.2"
516525source = "registry+https://github.com/rust-lang/crates.io-index"
517checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
526checksum = "b23a0c8dfe501baac4adf6ebbfa6eddf8f0c07f56b058cc1288017e32397846c"
518527dependencies = [
519 "cfg-if",
528 "quote",
529 "syn",
520530]
521531
522532[[package]]
523533name = "invidious"
524version = "0.5.0"
534version = "0.7.6"
525535source = "registry+https://github.com/rust-lang/crates.io-index"
526checksum = "dcf06ca3149bc691b638f1eed94bc5ea5d7eae85ddc01c23249f0af0bd16d62e"
536checksum = "de9e2c9babc56f99fb8dd10ae6bc7258f6a1a1c26b2fdd7c0cdac398f706a7c7"
527537dependencies = [
528538 "http_req",
529539 "serde",
@@ -531,45 +541,43 @@ dependencies = [
531541]
532542
533543[[package]]
534name = "io-lifetimes"
535version = "1.0.11"
544name = "itertools"
545version = "0.13.0"
536546source = "registry+https://github.com/rust-lang/crates.io-index"
537checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
547checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
538548dependencies = [
539 "hermit-abi",
540 "libc",
541 "windows-sys 0.48.0",
549 "either",
542550]
543551
544552[[package]]
545553name = "itoa"
546version = "1.0.8"
554version = "1.0.11"
547555source = "registry+https://github.com/rust-lang/crates.io-index"
548checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a"
556checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
549557
550558[[package]]
551559name = "jpeg-decoder"
552version = "0.3.0"
560version = "0.3.1"
553561source = "registry+https://github.com/rust-lang/crates.io-index"
554checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e"
562checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0"
555563dependencies = [
556564 "rayon",
557565]
558566
559567[[package]]
560568name = "js-sys"
561version = "0.3.64"
569version = "0.3.70"
562570source = "registry+https://github.com/rust-lang/crates.io-index"
563checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a"
571checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
564572dependencies = [
565573 "wasm-bindgen",
566574]
567575
568576[[package]]
569577name = "lazy_static"
570version = "1.4.0"
578version = "1.5.0"
571579source = "registry+https://github.com/rust-lang/crates.io-index"
572checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
580checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
573581
574582[[package]]
575583name = "lebe"
@@ -579,9 +587,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
579587
580588[[package]]
581589name = "libc"
582version = "0.2.147"
590version = "0.2.158"
583591source = "registry+https://github.com/rust-lang/crates.io-index"
584checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
592checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
585593
586594[[package]]
587595name = "libmpv-sirno"
@@ -600,15 +608,15 @@ checksum = "88adfe3a9f3ef1d69c87ce86930246cd80c86be098d5bfd2a7b05962ff1d3a50"
600608
601609[[package]]
602610name = "linux-raw-sys"
603version = "0.3.8"
611version = "0.4.14"
604612source = "registry+https://github.com/rust-lang/crates.io-index"
605checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
613checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
606614
607615[[package]]
608616name = "lock_api"
609version = "0.4.10"
617version = "0.4.12"
610618source = "registry+https://github.com/rust-lang/crates.io-index"
611checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16"
619checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
612620dependencies = [
613621 "autocfg",
614622 "scopeguard",
@@ -616,9 +624,18 @@ dependencies = [
616624
617625[[package]]
618626name = "log"
619version = "0.4.19"
627version = "0.4.22"
628source = "registry+https://github.com/rust-lang/crates.io-index"
629checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
630
631[[package]]
632name = "lru"
633version = "0.12.4"
620634source = "registry+https://github.com/rust-lang/crates.io-index"
621checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
635checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904"
636dependencies = [
637 "hashbrown",
638]
622639
623640[[package]]
624641name = "make-cmd"
@@ -636,29 +653,35 @@ dependencies = [
636653]
637654
638655[[package]]
639name = "memoffset"
640version = "0.9.0"
656name = "memchr"
657version = "2.7.4"
641658source = "registry+https://github.com/rust-lang/crates.io-index"
642checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
643dependencies = [
644 "autocfg",
645]
659checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
646660
647661[[package]]
648662name = "miniz_oxide"
649version = "0.7.1"
663version = "0.7.4"
650664source = "registry+https://github.com/rust-lang/crates.io-index"
651checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
665checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
652666dependencies = [
653667 "adler",
654668 "simd-adler32",
655669]
656670
671[[package]]
672name = "miniz_oxide"
673version = "0.8.0"
674source = "registry+https://github.com/rust-lang/crates.io-index"
675checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
676dependencies = [
677 "adler2",
678]
679
657680[[package]]
658681name = "mio"
659version = "0.8.8"
682version = "0.8.11"
660683source = "registry+https://github.com/rust-lang/crates.io-index"
661checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"
684checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
662685dependencies = [
663686 "libc",
664687 "log",
@@ -667,21 +690,24 @@ dependencies = [
667690]
668691
669692[[package]]
670name = "nanorand"
671version = "0.7.0"
693name = "mio"
694version = "1.0.2"
672695source = "registry+https://github.com/rust-lang/crates.io-index"
673checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3"
696checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
674697dependencies = [
675 "getrandom",
698 "hermit-abi",
699 "libc",
700 "log",
701 "wasi",
702 "windows-sys 0.52.0",
676703]
677704
678705[[package]]
679706name = "native-tls"
680version = "0.2.11"
707version = "0.2.12"
681708source = "registry+https://github.com/rust-lang/crates.io-index"
682checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
709checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
683710dependencies = [
684 "lazy_static",
685711 "libc",
686712 "log",
687713 "openssl",
@@ -693,46 +719,15 @@ dependencies = [
693719 "tempfile",
694720]
695721
696[[package]]
697name = "num-integer"
698version = "0.1.45"
699source = "registry+https://github.com/rust-lang/crates.io-index"
700checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
701dependencies = [
702 "autocfg",
703 "num-traits",
704]
705
706[[package]]
707name = "num-rational"
708version = "0.4.1"
709source = "registry+https://github.com/rust-lang/crates.io-index"
710checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
711dependencies = [
712 "autocfg",
713 "num-integer",
714 "num-traits",
715]
716
717722[[package]]
718723name = "num-traits"
719version = "0.2.15"
724version = "0.2.19"
720725source = "registry+https://github.com/rust-lang/crates.io-index"
721checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
726checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
722727dependencies = [
723728 "autocfg",
724729]
725730
726[[package]]
727name = "num_cpus"
728version = "1.16.0"
729source = "registry+https://github.com/rust-lang/crates.io-index"
730checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
731dependencies = [
732 "hermit-abi",
733 "libc",
734]
735
736731[[package]]
737732name = "objc"
738733version = "0.2.7"
@@ -764,17 +759,17 @@ dependencies = [
764759
765760[[package]]
766761name = "once_cell"
767version = "1.18.0"
762version = "1.20.0"
768763source = "registry+https://github.com/rust-lang/crates.io-index"
769checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
764checksum = "33ea5043e58958ee56f3e15a90aee535795cd7dfd319846288d93c5b57d85cbe"
770765
771766[[package]]
772767name = "openssl"
773version = "0.10.55"
768version = "0.10.66"
774769source = "registry+https://github.com/rust-lang/crates.io-index"
775checksum = "345df152bc43501c5eb9e4654ff05f794effb78d4efe3d53abc158baddc0703d"
770checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1"
776771dependencies = [
777 "bitflags",
772 "bitflags 2.6.0",
778773 "cfg-if",
779774 "foreign-types",
780775 "libc",
@@ -802,9 +797,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
802797
803798[[package]]
804799name = "openssl-sys"
805version = "0.9.90"
800version = "0.9.103"
806801source = "registry+https://github.com/rust-lang/crates.io-index"
807checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6"
802checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
808803dependencies = [
809804 "cc",
810805 "libc",
@@ -814,9 +809,9 @@ dependencies = [
814809
815810[[package]]
816811name = "parking_lot"
817version = "0.12.1"
812version = "0.12.3"
818813source = "registry+https://github.com/rust-lang/crates.io-index"
819checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
814checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
820815dependencies = [
821816 "lock_api",
822817 "parking_lot_core",
@@ -824,61 +819,47 @@ dependencies = [
824819
825820[[package]]
826821name = "parking_lot_core"
827version = "0.9.8"
822version = "0.9.10"
828823source = "registry+https://github.com/rust-lang/crates.io-index"
829checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447"
824checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
830825dependencies = [
831826 "cfg-if",
832827 "libc",
833828 "redox_syscall",
834829 "smallvec",
835 "windows-targets 0.48.1",
830 "windows-targets 0.52.6",
836831]
837832
838833[[package]]
839name = "pin-project"
840version = "1.1.2"
834name = "paste"
835version = "1.0.15"
841836source = "registry+https://github.com/rust-lang/crates.io-index"
842checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842"
843dependencies = [
844 "pin-project-internal",
845]
846
847[[package]]
848name = "pin-project-internal"
849version = "1.1.2"
850source = "registry+https://github.com/rust-lang/crates.io-index"
851checksum = "ec2e072ecce94ec471b13398d5402c188e76ac03cf74dd1a975161b23a3f6d9c"
852dependencies = [
853 "proc-macro2",
854 "quote",
855 "syn",
856]
837checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
857838
858839[[package]]
859840name = "pkg-config"
860version = "0.3.27"
841version = "0.3.30"
861842source = "registry+https://github.com/rust-lang/crates.io-index"
862checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
843checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
863844
864845[[package]]
865846name = "png"
866version = "0.17.9"
847version = "0.17.13"
867848source = "registry+https://github.com/rust-lang/crates.io-index"
868checksum = "59871cc5b6cce7eaccca5a802b4173377a1c2ba90654246789a8fa2334426d11"
849checksum = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1"
869850dependencies = [
870 "bitflags",
851 "bitflags 1.3.2",
871852 "crc32fast",
872853 "fdeflate",
873854 "flate2",
874 "miniz_oxide",
855 "miniz_oxide 0.7.4",
875856]
876857
877858[[package]]
878859name = "proc-macro2"
879version = "1.0.63"
860version = "1.0.86"
880861source = "registry+https://github.com/rust-lang/crates.io-index"
881checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb"
862checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
882863dependencies = [
883864 "unicode-ident",
884865]
@@ -894,32 +875,40 @@ dependencies = [
894875
895876[[package]]
896877name = "quote"
897version = "1.0.29"
878version = "1.0.37"
898879source = "registry+https://github.com/rust-lang/crates.io-index"
899checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105"
880checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
900881dependencies = [
901882 "proc-macro2",
902883]
903884
904885[[package]]
905886name = "ratatui"
906version = "0.21.0"
887version = "0.28.1"
907888source = "registry+https://github.com/rust-lang/crates.io-index"
908checksum = "ce841e0486e7c2412c3740168ede33adeba8e154a15107b879d8162d77c7174e"
889checksum = "fdef7f9be5c0122f890d58bdf4d964349ba6a6161f705907526d891efabba57d"
909890dependencies = [
910 "bitflags",
891 "bitflags 2.6.0",
911892 "cassowary",
912 "crossterm 0.26.1",
893 "compact_str",
894 "crossterm 0.28.1",
895 "instability",
896 "itertools",
897 "lru",
898 "paste",
913899 "serde",
900 "strum",
901 "strum_macros",
914902 "unicode-segmentation",
903 "unicode-truncate",
915904 "unicode-width",
916905]
917906
918907[[package]]
919908name = "rayon"
920version = "1.7.0"
909version = "1.10.0"
921910source = "registry+https://github.com/rust-lang/crates.io-index"
922checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
911checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
923912dependencies = [
924913 "either",
925914 "rayon-core",
@@ -927,76 +916,79 @@ dependencies = [
927916
928917[[package]]
929918name = "rayon-core"
930version = "1.11.0"
919version = "1.12.1"
931920source = "registry+https://github.com/rust-lang/crates.io-index"
932checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
921checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
933922dependencies = [
934 "crossbeam-channel",
935923 "crossbeam-deque",
936924 "crossbeam-utils",
937 "num_cpus",
938925]
939926
940927[[package]]
941928name = "redox_syscall"
942version = "0.3.5"
929version = "0.5.4"
943930source = "registry+https://github.com/rust-lang/crates.io-index"
944checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
931checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853"
945932dependencies = [
946 "bitflags",
933 "bitflags 2.6.0",
947934]
948935
949936[[package]]
950937name = "rgb"
951version = "0.8.36"
938version = "0.8.50"
952939source = "registry+https://github.com/rust-lang/crates.io-index"
953checksum = "20ec2d3e3fc7a92ced357df9cebd5a10b6fb2aa1ee797bf7e9ce2f17dffc8f59"
940checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a"
954941dependencies = [
955942 "bytemuck",
956943]
957944
958945[[package]]
959946name = "rustix"
960version = "0.37.23"
947version = "0.38.37"
961948source = "registry+https://github.com/rust-lang/crates.io-index"
962checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06"
949checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
963950dependencies = [
964 "bitflags",
951 "bitflags 2.6.0",
965952 "errno",
966 "io-lifetimes",
967953 "libc",
968954 "linux-raw-sys",
969 "windows-sys 0.48.0",
955 "windows-sys 0.52.0",
970956]
971957
958[[package]]
959name = "rustversion"
960version = "1.0.17"
961source = "registry+https://github.com/rust-lang/crates.io-index"
962checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
963
972964[[package]]
973965name = "ryu"
974version = "1.0.14"
966version = "1.0.18"
975967source = "registry+https://github.com/rust-lang/crates.io-index"
976checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9"
968checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
977969
978970[[package]]
979971name = "schannel"
980version = "0.1.22"
972version = "0.1.24"
981973source = "registry+https://github.com/rust-lang/crates.io-index"
982checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88"
974checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b"
983975dependencies = [
984 "windows-sys 0.48.0",
976 "windows-sys 0.59.0",
985977]
986978
987979[[package]]
988980name = "scopeguard"
989version = "1.1.0"
981version = "1.2.0"
990982source = "registry+https://github.com/rust-lang/crates.io-index"
991checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
983checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
992984
993985[[package]]
994986name = "security-framework"
995version = "2.9.1"
987version = "2.11.1"
996988source = "registry+https://github.com/rust-lang/crates.io-index"
997checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8"
989checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
998990dependencies = [
999 "bitflags",
991 "bitflags 2.6.0",
1000992 "core-foundation",
1001993 "core-foundation-sys",
1002994 "libc",
@@ -1005,9 +997,9 @@ dependencies = [
1005997
1006998[[package]]
1007999name = "security-framework-sys"
1008version = "2.9.0"
1000version = "2.11.1"
10091001source = "registry+https://github.com/rust-lang/crates.io-index"
1010checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7"
1002checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
10111003dependencies = [
10121004 "core-foundation-sys",
10131005 "libc",
@@ -1015,18 +1007,18 @@ dependencies = [
10151007
10161008[[package]]
10171009name = "serde"
1018version = "1.0.167"
1010version = "1.0.210"
10191011source = "registry+https://github.com/rust-lang/crates.io-index"
1020checksum = "7daf513456463b42aa1d94cff7e0c24d682b429f020b9afa4f5ba5c40a22b237"
1012checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
10211013dependencies = [
10221014 "serde_derive",
10231015]
10241016
10251017[[package]]
10261018name = "serde_derive"
1027version = "1.0.167"
1019version = "1.0.210"
10281020source = "registry+https://github.com/rust-lang/crates.io-index"
1029checksum = "b69b106b68bc8054f0e974e70d19984040f8a5cf9215ca82626ea4853f82c4b9"
1021checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
10301022dependencies = [
10311023 "proc-macro2",
10321024 "quote",
@@ -1035,20 +1027,21 @@ dependencies = [
10351027
10361028[[package]]
10371029name = "serde_json"
1038version = "1.0.100"
1030version = "1.0.128"
10391031source = "registry+https://github.com/rust-lang/crates.io-index"
1040checksum = "0f1e14e89be7aa4c4b78bdbdc9eb5bf8517829a600ae8eaa39a6e1d960b5185c"
1032checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
10411033dependencies = [
10421034 "itoa",
1035 "memchr",
10431036 "ryu",
10441037 "serde",
10451038]
10461039
10471040[[package]]
1048name = "serde_yaml"
1049version = "0.9.22"
1041name = "serde_yaml_ng"
1042version = "0.9.36"
10501043source = "registry+https://github.com/rust-lang/crates.io-index"
1051checksum = "452e67b9c20c37fa79df53201dc03839651086ed9bbe92b3ca585ca9fdaa7d85"
1044checksum = "bd24347956e682cf958c95e82deb9914cad4010d3efc035d579f81f4c426038c"
10521045dependencies = [
10531046 "indexmap",
10541047 "itoa",
@@ -1057,11 +1050,17 @@ dependencies = [
10571050 "unsafe-libyaml",
10581051]
10591052
1053[[package]]
1054name = "shlex"
1055version = "1.3.0"
1056source = "registry+https://github.com/rust-lang/crates.io-index"
1057checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
1058
10601059[[package]]
10611060name = "signal-hook"
1062version = "0.3.15"
1061version = "0.3.17"
10631062source = "registry+https://github.com/rust-lang/crates.io-index"
1064checksum = "732768f1176d21d09e076c23a93123d40bba92d50c4058da34d45c8de8e682b9"
1063checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801"
10651064dependencies = [
10661065 "libc",
10671066 "signal-hook-registry",
@@ -1069,29 +1068,30 @@ dependencies = [
10691068
10701069[[package]]
10711070name = "signal-hook-mio"
1072version = "0.2.3"
1071version = "0.2.4"
10731072source = "registry+https://github.com/rust-lang/crates.io-index"
1074checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af"
1073checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd"
10751074dependencies = [
10761075 "libc",
1077 "mio",
1076 "mio 0.8.11",
1077 "mio 1.0.2",
10781078 "signal-hook",
10791079]
10801080
10811081[[package]]
10821082name = "signal-hook-registry"
1083version = "1.4.1"
1083version = "1.4.2"
10841084source = "registry+https://github.com/rust-lang/crates.io-index"
1085checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
1085checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
10861086dependencies = [
10871087 "libc",
10881088]
10891089
10901090[[package]]
10911091name = "simd-adler32"
1092version = "0.3.5"
1092version = "0.3.7"
10931093source = "registry+https://github.com/rust-lang/crates.io-index"
1094checksum = "238abfbb77c1915110ad968465608b68e869e0772622c9656714e73e5a1a522f"
1094checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
10951095
10961096[[package]]
10971097name = "sixel-rs"
@@ -1113,9 +1113,9 @@ dependencies = [
11131113
11141114[[package]]
11151115name = "smallvec"
1116version = "1.11.0"
1116version = "1.13.2"
11171117source = "registry+https://github.com/rust-lang/crates.io-index"
1118checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
1118checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
11191119
11201120[[package]]
11211121name = "spin"
@@ -1126,11 +1126,39 @@ dependencies = [
11261126 "lock_api",
11271127]
11281128
1129[[package]]
1130name = "static_assertions"
1131version = "1.1.0"
1132source = "registry+https://github.com/rust-lang/crates.io-index"
1133checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
1134
1135[[package]]
1136name = "strum"
1137version = "0.26.3"
1138source = "registry+https://github.com/rust-lang/crates.io-index"
1139checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
1140dependencies = [
1141 "strum_macros",
1142]
1143
1144[[package]]
1145name = "strum_macros"
1146version = "0.26.4"
1147source = "registry+https://github.com/rust-lang/crates.io-index"
1148checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
1149dependencies = [
1150 "heck",
1151 "proc-macro2",
1152 "quote",
1153 "rustversion",
1154 "syn",
1155]
1156
11291157[[package]]
11301158name = "syn"
1131version = "2.0.23"
1159version = "2.0.77"
11321160source = "registry+https://github.com/rust-lang/crates.io-index"
1133checksum = "59fb7d6d8281a51045d62b8eb3a7d1ce347b76f312af50cd3dc0af39c87c1737"
1161checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
11341162dependencies = [
11351163 "proc-macro2",
11361164 "quote",
@@ -1139,32 +1167,31 @@ dependencies = [
11391167
11401168[[package]]
11411169name = "tempfile"
1142version = "3.6.0"
1170version = "3.12.0"
11431171source = "registry+https://github.com/rust-lang/crates.io-index"
1144checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"
1172checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
11451173dependencies = [
1146 "autocfg",
11471174 "cfg-if",
11481175 "fastrand",
1149 "redox_syscall",
1176 "once_cell",
11501177 "rustix",
1151 "windows-sys 0.48.0",
1178 "windows-sys 0.59.0",
11521179]
11531180
11541181[[package]]
11551182name = "termcolor"
1156version = "1.2.0"
1183version = "1.4.1"
11571184source = "registry+https://github.com/rust-lang/crates.io-index"
1158checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6"
1185checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
11591186dependencies = [
11601187 "winapi-util",
11611188]
11621189
11631190[[package]]
11641191name = "tiff"
1165version = "0.8.1"
1192version = "0.9.1"
11661193source = "registry+https://github.com/rust-lang/crates.io-index"
1167checksum = "7449334f9ff2baf290d55d73983a7d6fa15e01198faef72af07e2a8db851e471"
1194checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e"
11681195dependencies = [
11691196 "flate2",
11701197 "jpeg-decoder",
@@ -1179,11 +1206,11 @@ checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
11791206
11801207[[package]]
11811208name = "tui-additions"
1182version = "0.2.1"
1209version = "0.3.0"
11831210source = "registry+https://github.com/rust-lang/crates.io-index"
1184checksum = "1de5841ec45de71c46252a832bb1e3e69abf2ee2492eb309ea077c8d78e798e7"
1211checksum = "f5f6f923d9c553375e63ac066920a17206917527d647ed9c0480495208b9038e"
11851212dependencies = [
1186 "crossterm 0.26.1",
1213 "crossterm 0.28.1",
11871214 "dyn-clone",
11881215 "ratatui",
11891216 "typemap",
@@ -1201,30 +1228,41 @@ dependencies = [
12011228
12021229[[package]]
12031230name = "unicase"
1204version = "2.6.0"
1231version = "2.7.0"
12051232source = "registry+https://github.com/rust-lang/crates.io-index"
1206checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
1233checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
12071234dependencies = [
12081235 "version_check",
12091236]
12101237
12111238[[package]]
12121239name = "unicode-ident"
1213version = "1.0.10"
1240version = "1.0.13"
12141241source = "registry+https://github.com/rust-lang/crates.io-index"
1215checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73"
1242checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
12161243
12171244[[package]]
12181245name = "unicode-segmentation"
1219version = "1.10.1"
1246version = "1.12.0"
12201247source = "registry+https://github.com/rust-lang/crates.io-index"
1221checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
1248checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
1249
1250[[package]]
1251name = "unicode-truncate"
1252version = "1.1.0"
1253source = "registry+https://github.com/rust-lang/crates.io-index"
1254checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf"
1255dependencies = [
1256 "itertools",
1257 "unicode-segmentation",
1258 "unicode-width",
1259]
12221260
12231261[[package]]
12241262name = "unicode-width"
1225version = "0.1.10"
1263version = "0.1.13"
12261264source = "registry+https://github.com/rust-lang/crates.io-index"
1227checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
1265checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
12281266
12291267[[package]]
12301268name = "unsafe-any"
@@ -1237,15 +1275,15 @@ dependencies = [
12371275
12381276[[package]]
12391277name = "unsafe-libyaml"
1240version = "0.2.8"
1278version = "0.2.11"
12411279source = "registry+https://github.com/rust-lang/crates.io-index"
1242checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6"
1280checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
12431281
12441282[[package]]
12451283name = "urlencoding"
1246version = "2.1.2"
1284version = "2.1.3"
12471285source = "registry+https://github.com/rust-lang/crates.io-index"
1248checksum = "e8db7427f936968176eaa7cdf81b7f98b980b18495ec28f1b5791ac3bfe3eea9"
1286checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
12491287
12501288[[package]]
12511289name = "vcpkg"
@@ -1255,20 +1293,20 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
12551293
12561294[[package]]
12571295name = "version_check"
1258version = "0.9.4"
1296version = "0.9.5"
12591297source = "registry+https://github.com/rust-lang/crates.io-index"
1260checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
1298checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
12611299
12621300[[package]]
12631301name = "viuer"
1264version = "0.6.2"
1302version = "0.7.1"
12651303source = "registry+https://github.com/rust-lang/crates.io-index"
1266checksum = "b511f7e9ae27b5750f12ca50c353a1179bd4cc964a47294eb0d2cdad40cb41c0"
1304checksum = "ec2ede5c8814363f92f862892dfe71a266f6816b649ca435aed1ff5e2cf3454e"
12671305dependencies = [
12681306 "ansi_colours",
12691307 "base64",
12701308 "console",
1271 "crossterm 0.25.0",
1309 "crossterm 0.27.0",
12721310 "image",
12731311 "lazy_static",
12741312 "sixel-rs",
@@ -1284,19 +1322,20 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
12841322
12851323[[package]]
12861324name = "wasm-bindgen"
1287version = "0.2.87"
1325version = "0.2.93"
12881326source = "registry+https://github.com/rust-lang/crates.io-index"
1289checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
1327checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
12901328dependencies = [
12911329 "cfg-if",
1330 "once_cell",
12921331 "wasm-bindgen-macro",
12931332]
12941333
12951334[[package]]
12961335name = "wasm-bindgen-backend"
1297version = "0.2.87"
1336version = "0.2.93"
12981337source = "registry+https://github.com/rust-lang/crates.io-index"
1299checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd"
1338checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
13001339dependencies = [
13011340 "bumpalo",
13021341 "log",
@@ -1309,9 +1348,9 @@ dependencies = [
13091348
13101349[[package]]
13111350name = "wasm-bindgen-macro"
1312version = "0.2.87"
1351version = "0.2.93"
13131352source = "registry+https://github.com/rust-lang/crates.io-index"
1314checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"
1353checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
13151354dependencies = [
13161355 "quote",
13171356 "wasm-bindgen-macro-support",
@@ -1319,9 +1358,9 @@ dependencies = [
13191358
13201359[[package]]
13211360name = "wasm-bindgen-macro-support"
1322version = "0.2.87"
1361version = "0.2.93"
13231362source = "registry+https://github.com/rust-lang/crates.io-index"
1324checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"
1363checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
13251364dependencies = [
13261365 "proc-macro2",
13271366 "quote",
@@ -1332,15 +1371,15 @@ dependencies = [
13321371
13331372[[package]]
13341373name = "wasm-bindgen-shared"
1335version = "0.2.87"
1374version = "0.2.93"
13361375source = "registry+https://github.com/rust-lang/crates.io-index"
1337checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"
1376checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
13381377
13391378[[package]]
13401379name = "weezl"
1341version = "0.1.7"
1380version = "0.1.8"
13421381source = "registry+https://github.com/rust-lang/crates.io-index"
1343checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb"
1382checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082"
13441383
13451384[[package]]
13461385name = "winapi"
@@ -1360,11 +1399,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
13601399
13611400[[package]]
13621401name = "winapi-util"
1363version = "0.1.5"
1402version = "0.1.9"
13641403source = "registry+https://github.com/rust-lang/crates.io-index"
1365checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
1404checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
13661405dependencies = [
1367 "winapi",
1406 "windows-sys 0.59.0",
13681407]
13691408
13701409[[package]]
@@ -1374,145 +1413,161 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
13741413checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
13751414
13761415[[package]]
1377name = "windows"
1416name = "windows-core"
1417version = "0.52.0"
1418source = "registry+https://github.com/rust-lang/crates.io-index"
1419checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
1420dependencies = [
1421 "windows-targets 0.52.6",
1422]
1423
1424[[package]]
1425name = "windows-sys"
13781426version = "0.48.0"
13791427source = "registry+https://github.com/rust-lang/crates.io-index"
1380checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
1428checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
13811429dependencies = [
1382 "windows-targets 0.48.1",
1430 "windows-targets 0.48.5",
13831431]
13841432
13851433[[package]]
13861434name = "windows-sys"
1387version = "0.45.0"
1435version = "0.52.0"
13881436source = "registry+https://github.com/rust-lang/crates.io-index"
1389checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
1437checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
13901438dependencies = [
1391 "windows-targets 0.42.2",
1439 "windows-targets 0.52.6",
13921440]
13931441
13941442[[package]]
13951443name = "windows-sys"
1396version = "0.48.0"
1444version = "0.59.0"
13971445source = "registry+https://github.com/rust-lang/crates.io-index"
1398checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
1446checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
13991447dependencies = [
1400 "windows-targets 0.48.1",
1448 "windows-targets 0.52.6",
14011449]
14021450
14031451[[package]]
14041452name = "windows-targets"
1405version = "0.42.2"
1453version = "0.48.5"
14061454source = "registry+https://github.com/rust-lang/crates.io-index"
1407checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
1455checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
14081456dependencies = [
1409 "windows_aarch64_gnullvm 0.42.2",
1410 "windows_aarch64_msvc 0.42.2",
1411 "windows_i686_gnu 0.42.2",
1412 "windows_i686_msvc 0.42.2",
1413 "windows_x86_64_gnu 0.42.2",
1414 "windows_x86_64_gnullvm 0.42.2",
1415 "windows_x86_64_msvc 0.42.2",
1457 "windows_aarch64_gnullvm 0.48.5",
1458 "windows_aarch64_msvc 0.48.5",
1459 "windows_i686_gnu 0.48.5",
1460 "windows_i686_msvc 0.48.5",
1461 "windows_x86_64_gnu 0.48.5",
1462 "windows_x86_64_gnullvm 0.48.5",
1463 "windows_x86_64_msvc 0.48.5",
14161464]
14171465
14181466[[package]]
14191467name = "windows-targets"
1420version = "0.48.1"
1468version = "0.52.6"
14211469source = "registry+https://github.com/rust-lang/crates.io-index"
1422checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
1470checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
14231471dependencies = [
1424 "windows_aarch64_gnullvm 0.48.0",
1425 "windows_aarch64_msvc 0.48.0",
1426 "windows_i686_gnu 0.48.0",
1427 "windows_i686_msvc 0.48.0",
1428 "windows_x86_64_gnu 0.48.0",
1429 "windows_x86_64_gnullvm 0.48.0",
1430 "windows_x86_64_msvc 0.48.0",
1472 "windows_aarch64_gnullvm 0.52.6",
1473 "windows_aarch64_msvc 0.52.6",
1474 "windows_i686_gnu 0.52.6",
1475 "windows_i686_gnullvm",
1476 "windows_i686_msvc 0.52.6",
1477 "windows_x86_64_gnu 0.52.6",
1478 "windows_x86_64_gnullvm 0.52.6",
1479 "windows_x86_64_msvc 0.52.6",
14311480]
14321481
14331482[[package]]
14341483name = "windows_aarch64_gnullvm"
1435version = "0.42.2"
1484version = "0.48.5"
14361485source = "registry+https://github.com/rust-lang/crates.io-index"
1437checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
1486checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
14381487
14391488[[package]]
14401489name = "windows_aarch64_gnullvm"
1441version = "0.48.0"
1490version = "0.52.6"
14421491source = "registry+https://github.com/rust-lang/crates.io-index"
1443checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
1492checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
14441493
14451494[[package]]
14461495name = "windows_aarch64_msvc"
1447version = "0.42.2"
1496version = "0.48.5"
14481497source = "registry+https://github.com/rust-lang/crates.io-index"
1449checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
1498checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
14501499
14511500[[package]]
14521501name = "windows_aarch64_msvc"
1453version = "0.48.0"
1502version = "0.52.6"
14541503source = "registry+https://github.com/rust-lang/crates.io-index"
1455checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
1504checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
14561505
14571506[[package]]
14581507name = "windows_i686_gnu"
1459version = "0.42.2"
1508version = "0.48.5"
14601509source = "registry+https://github.com/rust-lang/crates.io-index"
1461checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
1510checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
14621511
14631512[[package]]
14641513name = "windows_i686_gnu"
1465version = "0.48.0"
1514version = "0.52.6"
1515source = "registry+https://github.com/rust-lang/crates.io-index"
1516checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
1517
1518[[package]]
1519name = "windows_i686_gnullvm"
1520version = "0.52.6"
14661521source = "registry+https://github.com/rust-lang/crates.io-index"
1467checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
1522checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
14681523
14691524[[package]]
14701525name = "windows_i686_msvc"
1471version = "0.42.2"
1526version = "0.48.5"
14721527source = "registry+https://github.com/rust-lang/crates.io-index"
1473checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
1528checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
14741529
14751530[[package]]
14761531name = "windows_i686_msvc"
1477version = "0.48.0"
1532version = "0.52.6"
14781533source = "registry+https://github.com/rust-lang/crates.io-index"
1479checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
1534checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
14801535
14811536[[package]]
14821537name = "windows_x86_64_gnu"
1483version = "0.42.2"
1538version = "0.48.5"
14841539source = "registry+https://github.com/rust-lang/crates.io-index"
1485checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
1540checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
14861541
14871542[[package]]
14881543name = "windows_x86_64_gnu"
1489version = "0.48.0"
1544version = "0.52.6"
14901545source = "registry+https://github.com/rust-lang/crates.io-index"
1491checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
1546checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
14921547
14931548[[package]]
14941549name = "windows_x86_64_gnullvm"
1495version = "0.42.2"
1550version = "0.48.5"
14961551source = "registry+https://github.com/rust-lang/crates.io-index"
1497checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
1552checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
14981553
14991554[[package]]
15001555name = "windows_x86_64_gnullvm"
1501version = "0.48.0"
1556version = "0.52.6"
15021557source = "registry+https://github.com/rust-lang/crates.io-index"
1503checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
1558checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
15041559
15051560[[package]]
15061561name = "windows_x86_64_msvc"
1507version = "0.42.2"
1562version = "0.48.5"
15081563source = "registry+https://github.com/rust-lang/crates.io-index"
1509checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
1564checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
15101565
15111566[[package]]
15121567name = "windows_x86_64_msvc"
1513version = "0.48.0"
1568version = "0.52.6"
15141569source = "registry+https://github.com/rust-lang/crates.io-index"
1515checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
1570checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
15161571
15171572[[package]]
15181573name = "x11-clipboard"
@@ -1535,11 +1590,11 @@ dependencies = [
15351590
15361591[[package]]
15371592name = "youtube-tui"
1538version = "0.8.0"
1593version = "0.8.1"
15391594dependencies = [
15401595 "chrono",
15411596 "clipboard",
1542 "crossterm 0.26.1",
1597 "crossterm 0.28.1",
15431598 "dyn-clone",
15441599 "home",
15451600 "invidious",
@@ -1547,7 +1602,7 @@ dependencies = [
15471602 "ratatui",
15481603 "serde",
15491604 "serde_json",
1550 "serde_yaml",
1605 "serde_yaml_ng",
15511606 "tui-additions",
15521607 "typemap",
15531608 "unicode-segmentation",
@@ -1555,6 +1610,26 @@ dependencies = [
15551610 "viuer",
15561611]
15571612
1613[[package]]
1614name = "zerocopy"
1615version = "0.7.35"
1616source = "registry+https://github.com/rust-lang/crates.io-index"
1617checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
1618dependencies = [
1619 "zerocopy-derive",
1620]
1621
1622[[package]]
1623name = "zerocopy-derive"
1624version = "0.7.35"
1625source = "registry+https://github.com/rust-lang/crates.io-index"
1626checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
1627dependencies = [
1628 "proc-macro2",
1629 "quote",
1630 "syn",
1631]
1632
15581633[[package]]
15591634name = "zune-inflate"
15601635version = "0.2.54"
Cargo.toml +7 −8
@@ -1,6 +1,6 @@
11[package]
22name = "youtube-tui"
3version = "0.8.0"
3version = "0.8.1"
44authors = ["Siriusmart <siriusmart@tuta.io>"]
55edition = "2021"
66description = "An aesthetically pleasing YouTube TUI written in Rust"
@@ -21,23 +21,22 @@ sixel = ["viuer/sixel"]
2121halfblock = ["viuer"]
2222clipboard = ["dep:clipboard"]
2323mpv = ["dep:libmpv-sirno"]
24# mpv = []
2524
2625[dependencies]
2726serde = {version = "1.0", default-features = false, features = ["derive"]}
28crossterm = {version = "0.26", default-features = false, features = ["serde"]}
29viuer = {version = "0.6", default-features = false, optional = true}
27crossterm = {version = "0.28", default-features = false, features = ["serde"]}
28viuer = {version = "0.7", default-features = false, optional = true}
3029home = "0.5"
3130chrono = {version = "0.4", default-features = false, features = ["clock"]}
3231typemap = {version = "0.3", default-features = false}
33tui-additions = {version = "0.2.1", default-features = false, features = ["framework", "widgets"]}
34invidious = {version = "0.5"}
35serde_yaml = {version = "0.9", default-features = false}
32tui-additions = {version = "0.3", default-features = false, features = ["framework", "widgets"]}
33invidious = {version = "0.7"}
34serde_yaml_ng = {version = "0.9", default-features = false}
3635dyn-clone = {version = "1.0", default-features = false}
3736serde_json = {version = "1.0", default-features = false}
3837clipboard = {version = "0.5", optional = true}
3938urlencoding = "2.1"
40ratatui = {version = "0.21", default-features = false, features = ["serde"]}
39ratatui = {version = "0.28", default-features = false, features = ["serde"]}
4140unicode-segmentation = "1"
4241libmpv-sirno = { version = "2.0.2-fork.1", optional = true }
4342
src/config/appearance.rs +1 −1
@@ -64,7 +64,7 @@ impl AppearanceConfig {
6464 .truncate(true)
6565 .open(&config_path)?;
6666
67 file.write_all(serde_yaml::to_string(&default)?.as_bytes())?;
67 file.write_all(serde_yaml_ng::to_string(&default)?.as_bytes())?;
6868
6969 match Self::from(default) {
7070 Some(appearance) => Ok(appearance),
src/config/keybindings.rs +1 −1
@@ -200,7 +200,7 @@ impl KeyBindingsConfig {
200200 .truncate(true)
201201 .open(&config_path)?;
202202
203 file.write_all(serde_yaml::to_string(&default)?.as_bytes())?;
203 file.write_all(serde_yaml_ng::to_string(&default)?.as_bytes())?;
204204
205205 match default.into() {
206206 Some(keybindings) => Ok(keybindings),
src/config/remap.rs +1 −1
@@ -112,7 +112,7 @@ impl RemapConfig {
112112 .truncate(true)
113113 .open(&config_path)?;
114114
115 file.write_all(serde_yaml::to_string(&default)?.as_bytes())?;
115 file.write_all(serde_yaml_ng::to_string(&default)?.as_bytes())?;
116116
117117 match default.into() {
118118 Some(keybindings) => Ok(keybindings),
src/config/search.rs +2 −2
@@ -34,12 +34,12 @@ impl ToString for Search {
3434 fn to_string(&self) -> String {
3535 format!(
3636 "{}&page={}",
37 vec![
37 [
3838 format!("q={}", encode(&self.query)),
3939 self.filters.sort.as_url_string(),
4040 self.filters.date.as_url_string(),
4141 self.filters.duration.as_url_string(),
42 self.filters.r#type.as_url_string(),
42 self.filters.r#type.as_url_string()
4343 ]
4444 .join("&"),
4545 self.page
src/global/functions/date_text.rs +3 −3
@@ -1,9 +1,9 @@
1use chrono::{Datelike, NaiveDateTime};
1use chrono::{DateTime, Datelike};
22
33/// Convert timestamp into `DD/MM/YYYY`
44pub fn date_text(timestamp: u64) -> String {
5 let date = NaiveDateTime::from_timestamp_opt(timestamp as i64, 0)
5 let date = DateTime::from_timestamp(timestamp as i64, 0)
66 .unwrap()
7 .date();
7 .date_naive();
88 format!("{}/{}/{}", date.day(), date.month(), date.year())
99}
src/global/functions/run_command.rs +1 −1
@@ -444,7 +444,7 @@ pub fn run_single_command(
444444 ["key", keycode, modifier] => {
445445 let (keycodeserde, modifier) =
446446 match (|| -> Result<(KeyCodeSerde, u8), Box<dyn Error>> {
447 Ok((serde_yaml::from_str(keycode)?, modifier.parse()?))
447 Ok((serde_yaml_ng::from_str(keycode)?, modifier.parse()?))
448448 })() {
449449 Ok(stuff) => stuff,
450450 Err(e) => {
src/global/functions/singleitem_load.rs +2 −2
@@ -1,5 +1,5 @@
11use crate::{config::MainConfig, global::functions::download_all_images, global::structs::Item};
2use invidious::ClientSync;
2use invidious::{ClientSync, ClientSyncTrait};
33use std::error::Error;
44
55pub fn load_playlist(
@@ -13,7 +13,7 @@ pub fn load_playlist(
1313 if mainconfig.images.display() {
1414 download_all_images({
1515 let mut items = videos.iter().map(|item| item.into()).collect::<Vec<_>>();
16 items.extend([(&playlist).into()].into_iter());
16 items.extend([(&playlist).into()]);
1717 items
1818 });
1919 }
src/global/structs/item.rs +41 −118
@@ -1,5 +1,8 @@
11use crate::global::{functions::*, traits::CollectionItem};
2use invidious::{channel::Channel, hidden::*, universal::Playlist as FullPlaylist, video::Video};
2use invidious::{
3 channel::Channel, hidden::*, universal::Playlist as FullPlaylist, video::Video, CommonChannel,
4 CommonPlaylist, CommonVideo,
5};
36use serde::{Deserialize, Serialize};
47use std::fmt::Display;
58
@@ -18,7 +21,7 @@ pub enum Item {
1821 FullPlaylist(FullPlaylistItem),
1922 FullChannel(FullChannelItem),
2023 Page(bool), // true: next false: prev
21 Unknown(SearchItemTransition),
24 // Unknown(SearchItemTransition),
2225}
2326
2427impl CollectionItem for Item {
@@ -159,8 +162,7 @@ impl Display for Item {
159162 } else {
160163 "Previous page"
161164 }
162 }
163 Self::Unknown(_) => "Unknown item",
165 } // Self::Unknown(_) => "Unknown item",
164166 })
165167 }
166168}
@@ -175,14 +177,9 @@ impl Item {
175177 | Self::FullVideo(FullVideoItem { id, .. })
176178 | Self::FullChannel(FullChannelItem { id, .. })
177179 | Self::FullPlaylist(FullPlaylistItem { id, .. }) => Some(id),
178 Self::Unknown(_) | Self::Page(_) => None,
180 Self::Page(_) => None,
179181 }
180182 }
181
182 /// check if self is Self::Unknown
183 pub fn is_unknown(&self) -> bool {
184 matches!(self, Self::Unknown(_))
185 }
186183}
187184
188185impl Item {
@@ -294,16 +291,16 @@ impl Item {
294291 Self::FullVideo(video) => &video.id,
295292 Self::FullPlaylist(playlist) => &playlist.id,
296293 Self::FullChannel(channel) => &channel.id,
297 Self::Unknown(_) | Self::Page(_) => "invalid",
294 Self::Page(_) => "invalid",
298295 }
299296 }
300297
301 /// parse `TrendingVideo` into `Self`
302 pub fn from_trending_video(original: TrendingVideo, image_index: usize) -> Self {
298 /// parse `CommonVideo` into `Self`
299 pub fn from_common_video(original: CommonVideo, image_index: usize) -> Self {
303300 Self::MiniVideo(MiniVideoItem {
304301 title: original.title,
305302 id: original.id,
306 thumbnail_url: original.thumbmails[image_index].url.clone(),
303 thumbnail_url: original.thumbnails[image_index].url.clone(),
307304 length: secs_display_string(original.length),
308305 views: Some(viewcount_text(original.views)),
309306 channel: original.author,
@@ -318,6 +315,31 @@ impl Item {
318315 })
319316 }
320317
318 /// parse `CommonPlaylist` into `Self`
319 pub fn from_common_playlist(original: CommonPlaylist) -> Self {
320 Self::MiniPlaylist(MiniPlaylistItem {
321 title: original.title,
322 id: original.id,
323 channel: original.author,
324 channel_id: original.author_id,
325 video_count: original.video_count,
326 thumbnail_url: original.thumbnail,
327 })
328 }
329
330 /// parse `CommonChannel` into `Self`
331 pub fn from_common_channel(original: CommonChannel, image_index: usize) -> Self {
332 Self::MiniChannel(MiniChannelItem {
333 name: original.name,
334 id: original.id,
335 thumbnail_url: format!("https://{}", original.thumbnails[image_index].url),
336 video_count: original.video_count,
337 sub_count: original.subscribers,
338 sub_count_text: viewcount_text(original.subscribers as u64),
339 description: original.description,
340 })
341 }
342
321343 /// parse `PopularItem` into `Self`
322344 pub fn from_popular_item(original: PopularItem, image_index: usize) -> Self {
323345 Self::MiniVideo(MiniVideoItem {
@@ -338,79 +360,12 @@ impl Item {
338360 })
339361 }
340362
341 /// parse `Playlist` into `Self`
342 pub fn from_mini_playlist(original: Playlist) -> Self {
343 Self::MiniPlaylist(MiniPlaylistItem {
344 title: original.title,
345 id: original.id,
346 channel: original.author,
347 channel_id: original.author_id,
348 video_count: original.video_count,
349 thumbnail_url: original.thumbnail,
350 })
351 }
352
353363 /// parse `SearchItem` into `Self`
354364 pub fn from_search_item(original: SearchItem, image_index: usize) -> Self {
355365 match original {
356 SearchItem::Video {
357 title,
358 id,
359 author,
360 author_id,
361 length,
362 thumbnails,
363 description,
364 views,
365 published,
366 published_text,
367 ..
368 } => Self::MiniVideo(MiniVideoItem {
369 title,
370 id,
371 thumbnail_url: thumbnails[image_index].url.clone(),
372 length: secs_display_string(length as u32),
373 views: Some(viewcount_text(views)),
374 channel: author,
375 channel_id: author_id,
376 timestamp: Some(published),
377 published: Some(format!("{} [{}]", published_text, date_text(published))),
378 description: Some(description),
379 }),
380 SearchItem::Playlist {
381 title,
382 id,
383 author,
384 author_id,
385 video_count,
386 thumbnail,
387 ..
388 } => Self::MiniPlaylist(MiniPlaylistItem {
389 title,
390 id,
391 channel: author,
392 channel_id: author_id,
393 video_count,
394 thumbnail_url: thumbnail,
395 }),
396 SearchItem::Channel {
397 name,
398 id,
399 thumbnails,
400 subscribers,
401 video_count,
402 description,
403 ..
404 } => Self::MiniChannel(MiniChannelItem {
405 name,
406 id,
407 thumbnail_url: format!("https://{}", thumbnails[image_index].url),
408 video_count,
409 sub_count: subscribers,
410 sub_count_text: viewcount_text(subscribers as u64),
411 description,
412 }),
413 SearchItem::Unknown(searchitem_transitional) => Self::Unknown(searchitem_transitional),
366 SearchItem::Video(vid) => Self::from_common_video(vid, image_index),
367 SearchItem::Channel(chan) => Self::from_common_channel(chan, image_index),
368 SearchItem::Playlist(list) => Self::from_common_playlist(list),
414369 }
415370 }
416371
@@ -477,44 +432,12 @@ impl Item {
477432 name: original.name,
478433 id: original.id,
479434 thumbnail_url: original.thumbnails[image_index].url.clone(),
480 sub_count: original.sub_count,
481 sub_count_text: viewcount_text(original.sub_count as u64),
435 sub_count: original.subscribers,
436 sub_count_text: viewcount_text(original.subscribers as u64),
482437 total_views: viewcount_text(original.total_views),
483438 created: date_text(original.joined),
484439 autogenerated: original.auto_generated,
485440 description: original.description,
486441 })
487442 }
488
489 /// parse `ChannelVideo` into `Self`
490 pub fn from_channel_video(original: ChannelVideo, image_index: usize) -> Self {
491 Self::MiniVideo(MiniVideoItem {
492 title: original.title,
493 id: original.id,
494 thumbnail_url: original.thumbnails[image_index].url.clone(),
495 length: secs_display_string(original.length),
496 views: Some(viewcount_text(original.view_count)),
497 channel: original.author,
498 channel_id: original.author_id,
499 timestamp: Some(original.published),
500 published: Some(format!(
501 "{} [{}]",
502 original.published_text,
503 date_text(original.published)
504 )),
505 description: Some(original.description),
506 })
507 }
508
509 /// parse `Playlist` into `Self`
510 pub fn from_channel_playlist(original: Playlist) -> Self {
511 Self::MiniPlaylist(MiniPlaylistItem {
512 title: original.title,
513 id: original.id,
514 channel: original.author,
515 channel_id: original.author_id,
516 video_count: original.video_count,
517 thumbnail_url: original.thumbnail,
518 })
519 }
520443}
src/global/structs/subscriptions.rs +2 −1
@@ -8,6 +8,7 @@ use crate::{
88};
99use chrono::Utc;
1010use home::home_dir;
11use invidious::ClientSyncTrait;
1112use serde::*;
1213use std::{
1314 error::Error,
@@ -210,7 +211,7 @@ fn sync_one(
210211 .videos
211212 .into_iter()
212213 .map(|video| {
213 Item::from_channel_video(video, image_index)
214 Item::from_common_video(video, image_index)
214215 .into_minivideo()
215216 .unwrap()
216217 })
src/global/structs/tasks.rs +5 −11
@@ -231,18 +231,15 @@ impl TaskQueue {
231231
232232 pub fn render_onlys_with_frame(
233233 framework: &mut Framework,
234 frame: &mut Frame<CrosstermBackend<Stdout>>,
234 frame: &mut Frame,
235235 locations: Vec<(usize, usize)>,
236236 ) {
237237 framework.render_only_multiple(frame, &locations);
238238 }
239239
240240 /// this function renders onto the given frame
241 pub fn render_with_frame(
242 framework: &mut Framework,
243 frame: &mut Frame<CrosstermBackend<Stdout>>,
244 ) {
245 let area = frame.size();
241 pub fn render_with_frame(framework: &mut Framework, frame: &mut Frame) {
242 let area = frame.area();
246243
247244 framework
248245 .data
@@ -290,12 +287,9 @@ impl TaskQueue {
290287 // }
291288
292289 /// this function renders onto the given frame
293 pub fn protective_screen(
294 framework: &mut Framework,
295 frame: &mut Frame<CrosstermBackend<Stdout>>,
296 ) -> bool {
290 pub fn protective_screen(framework: &mut Framework, frame: &mut Frame) -> bool {
297291 let min_dimentions = framework.data.state.get::<MinDimentions>().unwrap();
298 let area = frame.size();
292 let area = frame.area();
299293
300294 // if the minimum width and height is not meet, then displays a "protective screen" to prevent panicking
301295 if area.width < min_dimentions.width || area.height < min_dimentions.height {
src/global/traits/configtrait.rs +3 −3
@@ -31,7 +31,7 @@ pub trait ConfigTrait {
3131 Err(_) => return Ok(Self::default()),
3232 };
3333
34 match serde_yaml::from_str::<Self>(&content) {
34 match serde_yaml_ng::from_str::<Self>(&content) {
3535 Ok(config) => Ok(config),
3636 // If there is error parsing the json file, create a backup with current time and returns
3737 // Self::default()
@@ -61,7 +61,7 @@ pub trait ConfigTrait {
6161 .create(true)
6262 .truncate(true)
6363 .open(&config_path)?;
64 file.write_all(serde_yaml::to_string(&config)?.as_bytes())?
64 file.write_all(serde_yaml_ng::to_string(&config)?.as_bytes())?
6565 }
6666 WriteConfig::Try => {
6767 if let Ok(mut file) = OpenOptions::new()
@@ -70,7 +70,7 @@ pub trait ConfigTrait {
7070 .truncate(true)
7171 .open(&config_path)
7272 {
73 let _ = file.write_all(serde_yaml::to_string(&config)?.as_bytes());
73 let _ = file.write_all(serde_yaml_ng::to_string(&config)?.as_bytes());
7474 }
7575 }
7676 WriteConfig::Dont => {}
src/items/channeldisplay.rs +4 −3
@@ -3,6 +3,7 @@ use crate::{
33 config::*,
44 global::{functions::*, structs::*},
55};
6use invidious::ClientSyncTrait;
67use ratatui::{
78 layout::{Constraint, Rect},
89 style::Style,
@@ -225,7 +226,7 @@ impl ChannelDisplay {
225226impl FrameworkItem for ChannelDisplay {
226227 fn render(
227228 &mut self,
228 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
229 frame: &mut ratatui::Frame,
229230 framework: &mut tui_additions::framework::FrameworkClean,
230231 area: ratatui::layout::Rect,
231232 popup_render: bool,
@@ -435,7 +436,7 @@ impl FrameworkItem for ChannelDisplay {
435436 .channel_videos(&page.id, None)?
436437 .videos
437438 .into_iter()
438 .map(|video| Item::from_channel_video(video, mainconfig.image_index))
439 .map(|video| Item::from_common_video(video, mainconfig.image_index))
439440 .collect::<Vec<_>>();
440441 if mainconfig.images.display() {
441442 download_all_images(videos.iter().map(|item| item.into()).collect());
@@ -465,7 +466,7 @@ impl FrameworkItem for ChannelDisplay {
465466 .channel_playlists(&page.id, None)?
466467 .playlists
467468 .into_iter()
468 .map(Item::from_channel_playlist)
469 .map(Item::from_common_playlist)
469470 .collect::<Vec<_>>();
470471 if mainconfig.images.display() {
471472 download_all_images(playlists.iter().map(|item| item.into()).collect());
src/items/channellist.rs +1 −1
@@ -146,7 +146,7 @@ impl FrameworkItem for ChannelList {
146146
147147 fn render(
148148 &mut self,
149 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
149 frame: &mut ratatui::Frame,
150150 framework: &mut tui_additions::framework::FrameworkClean,
151151 area: ratatui::layout::Rect,
152152 popup_render: bool,
src/items/iteminfo.rs +12 −12
@@ -19,9 +19,9 @@ pub struct ItemInfo {
1919impl FrameworkItem for ItemInfo {
2020 fn render(
2121 &mut self,
22 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
22 frame: &mut ratatui::Frame,
2323 framework: &mut tui_additions::framework::FrameworkClean,
24 area: ratatui::layout::Rect,
24 area: Rect,
2525 popup_render: bool,
2626 _info: tui_additions::framework::ItemInfo,
2727 ) {
@@ -318,16 +318,16 @@ impl FrameworkItem for ItemInfo {
318318 Style::default().fg(appearance.colors.item_info.description),
319319 )),
320320 ),
321 Item::Unknown(searchitem_transitional) => (
322 vec![(
323 format!("Unknown type `{}`", searchitem_transitional.r#type),
324 Style::default().fg(appearance.colors.text_error),
325 )],
326 Some((
327 serde_json::to_string(&searchitem_transitional).unwrap(),
328 Style::default().fg(appearance.colors.item_info.description),
329 )),
330 ),
321 // Item::Unknown(searchitem_transitional) => (
322 // vec![(
323 // format!("Unknown type `{}`", searchitem_transitional.r#type),
324 // Style::default().fg(appearance.colors.text_error),
325 // )],
326 // Some((
327 // serde_json::to_string(&searchitem_transitional).unwrap(),
328 // Style::default().fg(appearance.colors.item_info.description),
329 // )),
330 // ),
331331 Item::Page(b) => (
332332 vec![(
333333 if *b { "Next page" } else { "Previous page" }.to_string(),
src/items/itemlist.rs +29 −28
@@ -6,6 +6,7 @@ use crate::{
66 items::ItemInfo,
77};
88use home::home_dir;
9use invidious::ClientSyncTrait;
910use ratatui::{
1011 layout::{Constraint, Rect},
1112 style::Style,
@@ -75,7 +76,7 @@ impl ItemList {
7576 ),
7677 )]
7778 }
78 Item::Page(_) | Item::Unknown(_) => {
79 Item::Page(_) => {
7980 vec![(String::from("hover-url"), String::from("not avaliable"))]
8081 }
8182 }
@@ -136,18 +137,18 @@ impl ItemList {
136137 }
137138 Item::MiniChannel(MiniChannelItem { id: _id, .. })
138139 | Item::FullChannel(FullChannelItem { id: _id, .. }) => todo!(),
139 Item::Unknown(_) => {
140 *framework.data.global.get_mut::<Message>().unwrap() =
141 Message::Message(String::from("Unknown item"));
142 framework
143 .data
144 .state
145 .get_mut::<Tasks>()
146 .unwrap()
147 .priority
148 .push(Task::RenderAll);
149 None
150 }
140 // Item::Unknown(_) => {
141 // *framework.data.global.get_mut::<Message>().unwrap() =
142 // Message::Message(String::from("Unknown item"));
143 // framework
144 // .data
145 // .state
146 // .get_mut::<Tasks>()
147 // .unwrap()
148 // .priority
149 // .push(Task::RenderAll);
150 // None
151 // }
151152 Item::Page(b) => match framework.data.state.get::<Page>().unwrap() {
152153 Page::Search(search) => Some(Page::Search(Search {
153154 page: if *b { search.page + 1 } else { search.page - 1 },
@@ -173,18 +174,18 @@ impl ItemList {
173174 r#type: ChannelDisplayPageType::Main,
174175 }))
175176 }
176 Item::Unknown(_) => {
177 *framework.data.global.get_mut::<Message>().unwrap() =
178 Message::Message(String::from("Unknown item"));
179 framework
180 .data
181 .state
182 .get_mut::<Tasks>()
183 .unwrap()
184 .priority
185 .push(Task::RenderAll);
186 None
187 }
177 // Item::Unknown(_) => {
178 // *framework.data.global.get_mut::<Message>().unwrap() =
179 // Message::Message(String::from("Unknown item"));
180 // framework
181 // .data
182 // .state
183 // .get_mut::<Tasks>()
184 // .unwrap()
185 // .priority
186 // .push(Task::RenderAll);
187 // None
188 // }
188189 Item::Page(b) => match framework.data.state.get::<Page>().unwrap() {
189190 Page::Search(search) => Some(Page::Search(Search {
190191 page: if *b { search.page + 1 } else { search.page - 1 },
@@ -225,7 +226,7 @@ impl Default for ItemList {
225226impl FrameworkItem for ItemList {
226227 fn render(
227228 &mut self,
228 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
229 frame: &mut ratatui::Frame,
229230 framework: &mut tui_additions::framework::FrameworkClean,
230231 area: ratatui::layout::Rect,
231232 popup_render: bool,
@@ -298,7 +299,7 @@ impl FrameworkItem for ItemList {
298299 .trending(None)?
299300 .videos
300301 .into_iter()
301 .map(|item| Item::from_trending_video(item, image_index))
302 .map(|item| Item::from_common_video(item, image_index))
302303 .collect();
303304 }
304305 Page::MainMenu(MainMenuPage::Popular) => {
@@ -503,7 +504,7 @@ impl ItemList {
503504 return;
504505 }
505506
506 if matches!(selected, Some(Item::Page(_)) | Some(Item::Unknown(_))) {
507 if matches!(selected, Some(Item::Page(_))) {
507508 framework
508509 .data
509510 .global
src/items/messagebar.rs +1 −1
@@ -15,7 +15,7 @@ pub struct MessageBar;
1515impl FrameworkItem for MessageBar {
1616 fn render(
1717 &mut self,
18 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
18 frame: &mut ratatui::Frame,
1919 framework: &mut tui_additions::framework::FrameworkClean,
2020 area: ratatui::layout::Rect,
2121 popup_render: bool,
src/items/pagebutton.rs +1 −1
@@ -81,7 +81,7 @@ impl FrameworkItem for PageButton {
8181 // it is basically a paragraph (text) with borders
8282 fn render(
8383 &mut self,
84 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
84 frame: &mut ratatui::Frame,
8585 framework: &mut tui_additions::framework::FrameworkClean,
8686 area: ratatui::layout::Rect,
8787 popup_render: bool,
src/items/searchbar.rs +1 −1
@@ -29,7 +29,7 @@ impl FrameworkItem for SearchBar {
2929 // basically is a TextField with borders
3030 fn render(
3131 &mut self,
32 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
32 frame: &mut ratatui::Frame,
3333 framework: &mut tui_additions::framework::FrameworkClean,
3434 area: ratatui::layout::Rect,
3535 popup_render: bool,
src/items/searchfilters.rs +2 −2
@@ -82,14 +82,14 @@ impl SearchFilter {
8282impl FrameworkItem for SearchFilter {
8383 fn render(
8484 &mut self,
85 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
85 frame: &mut ratatui::Frame,
8686 framework: &mut tui_additions::framework::FrameworkClean,
8787 area: ratatui::layout::Rect,
8888 popup_render: bool,
8989 info: tui_additions::framework::ItemInfo,
9090 ) {
9191 if popup_render && info.selected {
92 let frame_area = frame.size();
92 let frame_area = frame.area();
9393 let (area, success) = match popup_area(
9494 (POPUP_WIDTH_PERCENTAGE, POPOUP_HEIGHT_PERCENTAGE),
9595 (POPUP_MIN_WIDTH, POPUP_MIN_HEIGHT),
src/items/singleitem.rs +10 −34
@@ -67,23 +67,9 @@ impl SingleVideoItem {
6767 pub fn new(commands: &CommandsConfig, mainconfig: &MainConfig, id: &str) -> Self {
6868 let saved = find_library_item(id, mainconfig).is_some();
6969 if saved {
70 Self::new_with_map(
71 commands
72 .saved_video
73 .clone()
74 .into_iter()
75 .map(|(display, command)| (display, command))
76 .collect(),
77 )
70 Self::new_with_map(commands.saved_video.clone().into_iter().collect())
7871 } else {
79 Self::new_with_map(
80 commands
81 .video
82 .clone()
83 .into_iter()
84 .map(|(display, command)| (display, command))
85 .collect(),
86 )
72 Self::new_with_map(commands.video.clone().into_iter().collect())
8773 }
8874 }
8975
@@ -199,22 +185,12 @@ impl SinglePlaylistItem {
199185 let saved = find_library_item(id, mainconfig).is_some();
200186 if saved {
201187 Self::new_with_map(
202 commands
203 .saved_playlist
204 .clone()
205 .into_iter()
206 .map(|(display, command)| (display, command))
207 .collect(),
188 commands.saved_playlist.clone().into_iter().collect(),
208189 playlist_items,
209190 )
210191 } else {
211192 Self::new_with_map(
212 commands
213 .playlist
214 .clone()
215 .into_iter()
216 .map(|(display, command)| (display, command))
217 .collect(),
193 commands.playlist.clone().into_iter().collect(),
218194 playlist_items,
219195 )
220196 }
@@ -557,9 +533,9 @@ impl SingleItem {
557533impl FrameworkItem for SingleItem {
558534 fn render(
559535 &mut self,
560 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
561 framework: &mut tui_additions::framework::FrameworkClean,
562 area: ratatui::layout::Rect,
536 frame: &mut ratatui::Frame,
537 framework: &mut FrameworkClean,
538 area: Rect,
563539 popup_render: bool,
564540 info: tui_additions::framework::ItemInfo,
565541 ) {
@@ -738,9 +714,9 @@ impl FrameworkItem for SingleItem {
738714 self.iteminfo.item = self.item.clone();
739715
740716 if let Some(item) = &self.item {
741 if item.is_unknown() {
742 return Ok(());
743 }
717 // if item.is_unknown() {
718 // return Ok(());
719 // }
744720
745721 let item = item.clone();
746722 // push to watch history
src/items/videolist.rs +1 −1
@@ -244,7 +244,7 @@ impl FrameworkItem for VideoList {
244244
245245 fn render(
246246 &mut self,
247 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>,
247 frame: &mut ratatui::Frame,
248248 framework: &mut tui_additions::framework::FrameworkClean,
249249 area: ratatui::layout::Rect,
250250 popup_render: bool,