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"
8source = "registry+https://github.com/rust-lang/crates.io-index" 8source = "registry+https://github.com/rust-lang/crates.io-index"
9checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 9checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
10 10
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
11[[package]] 35[[package]]
12name = "android-tzdata" 36name = "android-tzdata"
13version = "0.1.1" 37version = "0.1.1"
@@ -25,24 +49,24 @@ dependencies = [
25 49
26[[package]] 50[[package]]
27name = "ansi_colours" 51name = "ansi_colours"
28version = "1.2.1" 52version = "1.2.3"
29source = "registry+https://github.com/rust-lang/crates.io-index" 53source = "registry+https://github.com/rust-lang/crates.io-index"
30checksum = "7db9d9767fde724f83933a716ee182539788f293828244e9d999695ce0f7ba1e" 54checksum = "14eec43e0298190790f41679fe69ef7a829d2a2ddd78c8c00339e84710e435fe"
31dependencies = [ 55dependencies = [
32 "rgb", 56 "rgb",
33] 57]
34 58
35[[package]] 59[[package]]
36name = "autocfg" 60name = "autocfg"
37version = "1.1.0" 61version = "1.3.0"
38source = "registry+https://github.com/rust-lang/crates.io-index" 62source = "registry+https://github.com/rust-lang/crates.io-index"
39checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 63checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
40 64
41[[package]] 65[[package]]
42name = "base64" 66name = "base64"
43version = "0.13.1" 67version = "0.21.7"
44source = "registry+https://github.com/rust-lang/crates.io-index" 68source = "registry+https://github.com/rust-lang/crates.io-index"
45checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 69checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
46 70
47[[package]] 71[[package]]
48name = "bit_field" 72name = "bit_field"
@@ -56,6 +80,15 @@ version = "1.3.2"
56source = "registry+https://github.com/rust-lang/crates.io-index" 80source = "registry+https://github.com/rust-lang/crates.io-index"
57checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 81checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
58 82
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
59[[package]] 92[[package]]
60name = "block" 93name = "block"
61version = "0.1.6" 94version = "0.1.6"
@@ -64,21 +97,21 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
64 97
65[[package]] 98[[package]]
66name = "bumpalo" 99name = "bumpalo"
67version = "3.13.0" 100version = "3.16.0"
68source = "registry+https://github.com/rust-lang/crates.io-index" 101source = "registry+https://github.com/rust-lang/crates.io-index"
69checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" 102checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
70 103
71[[package]] 104[[package]]
72name = "bytemuck" 105name = "bytemuck"
73version = "1.13.1" 106version = "1.18.0"
74source = "registry+https://github.com/rust-lang/crates.io-index" 107source = "registry+https://github.com/rust-lang/crates.io-index"
75checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" 108checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae"
76 109
77[[package]] 110[[package]]
78name = "byteorder" 111name = "byteorder"
79version = "1.4.3" 112version = "1.5.0"
80source = "registry+https://github.com/rust-lang/crates.io-index" 113source = "registry+https://github.com/rust-lang/crates.io-index"
81checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 114checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
82 115
83[[package]] 116[[package]]
84name = "cassowary" 117name = "cassowary"
@@ -86,11 +119,23 @@ version = "0.3.0"
86source = "registry+https://github.com/rust-lang/crates.io-index" 119source = "registry+https://github.com/rust-lang/crates.io-index"
87checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" 120checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
88 121
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
89[[package]] 131[[package]]
90name = "cc" 132name = "cc"
91version = "1.0.79" 133version = "1.1.18"
92source = "registry+https://github.com/rust-lang/crates.io-index" 134source = "registry+https://github.com/rust-lang/crates.io-index"
93checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" 135checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476"
136dependencies = [
137 "shlex",
138]
94 139
95[[package]] 140[[package]]
96name = "cfg-if" 141name = "cfg-if"
@@ -100,14 +145,14 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
100 145
101[[package]] 146[[package]]
102name = "chrono" 147name = "chrono"
103version = "0.4.26" 148version = "0.4.38"
104source = "registry+https://github.com/rust-lang/crates.io-index" 149source = "registry+https://github.com/rust-lang/crates.io-index"
105checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" 150checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
106dependencies = [ 151dependencies = [
107 "android-tzdata", 152 "android-tzdata",
108 "iana-time-zone", 153 "iana-time-zone",
109 "num-traits", 154 "num-traits",
110 "winapi", 155 "windows-targets 0.52.6",
111] 156]
112 157
113[[package]] 158[[package]]
@@ -138,23 +183,38 @@ version = "1.1.0"
138source = "registry+https://github.com/rust-lang/crates.io-index" 183source = "registry+https://github.com/rust-lang/crates.io-index"
139checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" 184checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
140 185
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
141[[package]] 201[[package]]
142name = "console" 202name = "console"
143version = "0.15.7" 203version = "0.15.8"
144source = "registry+https://github.com/rust-lang/crates.io-index" 204source = "registry+https://github.com/rust-lang/crates.io-index"
145checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" 205checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
146dependencies = [ 206dependencies = [
147 "encode_unicode", 207 "encode_unicode",
148 "lazy_static", 208 "lazy_static",
149 "libc", 209 "libc",
150 "windows-sys 0.45.0", 210 "windows-sys 0.52.0",
151] 211]
152 212
153[[package]] 213[[package]]
154name = "core-foundation" 214name = "core-foundation"
155version = "0.9.3" 215version = "0.9.4"
156source = "registry+https://github.com/rust-lang/crates.io-index" 216source = "registry+https://github.com/rust-lang/crates.io-index"
157checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" 217checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
158dependencies = [ 218dependencies = [
159 "core-foundation-sys", 219 "core-foundation-sys",
160 "libc", 220 "libc",
@@ -162,72 +222,54 @@ dependencies = [
162 222
163[[package]] 223[[package]]
164name = "core-foundation-sys" 224name = "core-foundation-sys"
165version = "0.8.4" 225version = "0.8.7"
166source = "registry+https://github.com/rust-lang/crates.io-index" 226source = "registry+https://github.com/rust-lang/crates.io-index"
167checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" 227checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
168 228
169[[package]] 229[[package]]
170name = "crc32fast" 230name = "crc32fast"
171version = "1.3.2" 231version = "1.4.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"
181source = "registry+https://github.com/rust-lang/crates.io-index" 232source = "registry+https://github.com/rust-lang/crates.io-index"
182checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" 233checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
183dependencies = [ 234dependencies = [
184 "cfg-if", 235 "cfg-if",
185 "crossbeam-utils",
186] 236]
187 237
188[[package]] 238[[package]]
189name = "crossbeam-deque" 239name = "crossbeam-deque"
190version = "0.8.3" 240version = "0.8.5"
191source = "registry+https://github.com/rust-lang/crates.io-index" 241source = "registry+https://github.com/rust-lang/crates.io-index"
192checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" 242checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
193dependencies = [ 243dependencies = [
194 "cfg-if",
195 "crossbeam-epoch", 244 "crossbeam-epoch",
196 "crossbeam-utils", 245 "crossbeam-utils",
197] 246]
198 247
199[[package]] 248[[package]]
200name = "crossbeam-epoch" 249name = "crossbeam-epoch"
201version = "0.9.15" 250version = "0.9.18"
202source = "registry+https://github.com/rust-lang/crates.io-index" 251source = "registry+https://github.com/rust-lang/crates.io-index"
203checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" 252checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
204dependencies = [ 253dependencies = [
205 "autocfg",
206 "cfg-if",
207 "crossbeam-utils", 254 "crossbeam-utils",
208 "memoffset",
209 "scopeguard",
210] 255]
211 256
212[[package]] 257[[package]]
213name = "crossbeam-utils" 258name = "crossbeam-utils"
214version = "0.8.16" 259version = "0.8.20"
215source = "registry+https://github.com/rust-lang/crates.io-index" 260source = "registry+https://github.com/rust-lang/crates.io-index"
216checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" 261checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
217dependencies = [
218 "cfg-if",
219]
220 262
221[[package]] 263[[package]]
222name = "crossterm" 264name = "crossterm"
223version = "0.25.0" 265version = "0.27.0"
224source = "registry+https://github.com/rust-lang/crates.io-index" 266source = "registry+https://github.com/rust-lang/crates.io-index"
225checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67" 267checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df"
226dependencies = [ 268dependencies = [
227 "bitflags", 269 "bitflags 2.6.0",
228 "crossterm_winapi", 270 "crossterm_winapi",
229 "libc", 271 "libc",
230 "mio", 272 "mio 0.8.11",
231 "parking_lot", 273 "parking_lot",
232 "signal-hook", 274 "signal-hook",
233 "signal-hook-mio", 275 "signal-hook-mio",
@@ -236,15 +278,15 @@ dependencies = [
236 278
237[[package]] 279[[package]]
238name = "crossterm" 280name = "crossterm"
239version = "0.26.1" 281version = "0.28.1"
240source = "registry+https://github.com/rust-lang/crates.io-index" 282source = "registry+https://github.com/rust-lang/crates.io-index"
241checksum = "a84cda67535339806297f1b331d6dd6320470d2a0fe65381e79ee9e156dd3d13" 283checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6"
242dependencies = [ 284dependencies = [
243 "bitflags", 285 "bitflags 2.6.0",
244 "crossterm_winapi", 286 "crossterm_winapi",
245 "libc", 287 "mio 1.0.2",
246 "mio",
247 "parking_lot", 288 "parking_lot",
289 "rustix",
248 "serde", 290 "serde",
249 "signal-hook", 291 "signal-hook",
250 "signal-hook-mio", 292 "signal-hook-mio",
@@ -268,15 +310,15 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
268 310
269[[package]] 311[[package]]
270name = "dyn-clone" 312name = "dyn-clone"
271version = "1.0.11" 313version = "1.0.17"
272source = "registry+https://github.com/rust-lang/crates.io-index" 314source = "registry+https://github.com/rust-lang/crates.io-index"
273checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30" 315checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
274 316
275[[package]] 317[[package]]
276name = "either" 318name = "either"
277version = "1.8.1" 319version = "1.13.0"
278source = "registry+https://github.com/rust-lang/crates.io-index" 320source = "registry+https://github.com/rust-lang/crates.io-index"
279checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" 321checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
280 322
281[[package]] 323[[package]]
282name = "encode_unicode" 324name = "encode_unicode"
@@ -286,42 +328,31 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
286 328
287[[package]] 329[[package]]
288name = "equivalent" 330name = "equivalent"
289version = "1.0.0" 331version = "1.0.1"
290source = "registry+https://github.com/rust-lang/crates.io-index" 332source = "registry+https://github.com/rust-lang/crates.io-index"
291checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1" 333checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
292 334
293[[package]] 335[[package]]
294name = "errno" 336name = "errno"
295version = "0.3.1" 337version = "0.3.9"
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"
307source = "registry+https://github.com/rust-lang/crates.io-index" 338source = "registry+https://github.com/rust-lang/crates.io-index"
308checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" 339checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
309dependencies = [ 340dependencies = [
310 "cc",
311 "libc", 341 "libc",
342 "windows-sys 0.52.0",
312] 343]
313 344
314[[package]] 345[[package]]
315name = "exr" 346name = "exr"
316version = "1.7.0" 347version = "1.72.0"
317source = "registry+https://github.com/rust-lang/crates.io-index" 348source = "registry+https://github.com/rust-lang/crates.io-index"
318checksum = "d1e481eb11a482815d3e9d618db8c42a93207134662873809335a92327440c18" 349checksum = "887d93f60543e9a9362ef8a21beedd0a833c5d9610e18c67abe15a5963dcb1a4"
319dependencies = [ 350dependencies = [
320 "bit_field", 351 "bit_field",
321 "flume", 352 "flume",
322 "half", 353 "half",
323 "lebe", 354 "lebe",
324 "miniz_oxide", 355 "miniz_oxide 0.7.4",
325 "rayon-core", 356 "rayon-core",
326 "smallvec", 357 "smallvec",
327 "zune-inflate", 358 "zune-inflate",
@@ -329,42 +360,35 @@ dependencies = [
329 360
330[[package]] 361[[package]]
331name = "fastrand" 362name = "fastrand"
332version = "1.9.0" 363version = "2.1.1"
333source = "registry+https://github.com/rust-lang/crates.io-index" 364source = "registry+https://github.com/rust-lang/crates.io-index"
334checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" 365checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
335dependencies = [
336 "instant",
337]
338 366
339[[package]] 367[[package]]
340name = "fdeflate" 368name = "fdeflate"
341version = "0.3.0" 369version = "0.3.4"
342source = "registry+https://github.com/rust-lang/crates.io-index" 370source = "registry+https://github.com/rust-lang/crates.io-index"
343checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10" 371checksum = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645"
344dependencies = [ 372dependencies = [
345 "simd-adler32", 373 "simd-adler32",
346] 374]
347 375
348[[package]] 376[[package]]
349name = "flate2" 377name = "flate2"
350version = "1.0.26" 378version = "1.0.33"
351source = "registry+https://github.com/rust-lang/crates.io-index" 379source = "registry+https://github.com/rust-lang/crates.io-index"
352checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" 380checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253"
353dependencies = [ 381dependencies = [
354 "crc32fast", 382 "crc32fast",
355 "miniz_oxide", 383 "miniz_oxide 0.8.0",
356] 384]
357 385
358[[package]] 386[[package]]
359name = "flume" 387name = "flume"
360version = "0.10.14" 388version = "0.11.0"
361source = "registry+https://github.com/rust-lang/crates.io-index" 389source = "registry+https://github.com/rust-lang/crates.io-index"
362checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577" 390checksum = "55ac459de2512911e4b674ce33cf20befaba382d05b62b008afc1c8b57cbf181"
363dependencies = [ 391dependencies = [
364 "futures-core",
365 "futures-sink",
366 "nanorand",
367 "pin-project",
368 "spin", 392 "spin",
369] 393]
370 394
@@ -383,36 +407,11 @@ version = "0.1.1"
383source = "registry+https://github.com/rust-lang/crates.io-index" 407source = "registry+https://github.com/rust-lang/crates.io-index"
384checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 408checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
385 409
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
411[[package]] 410[[package]]
412name = "gif" 411name = "gif"
413version = "0.12.0" 412version = "0.13.1"
414source = "registry+https://github.com/rust-lang/crates.io-index" 413source = "registry+https://github.com/rust-lang/crates.io-index"
415checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045" 414checksum = "3fb2d69b19215e18bb912fa30f7ce15846e301408695e44e0ef719f1da9e19f2"
416dependencies = [ 415dependencies = [
417 "color_quant", 416 "color_quant",
418 "weezl", 417 "weezl",
@@ -420,39 +419,50 @@ dependencies = [
420 419
421[[package]] 420[[package]]
422name = "half" 421name = "half"
423version = "2.2.1" 422version = "2.4.1"
424source = "registry+https://github.com/rust-lang/crates.io-index" 423source = "registry+https://github.com/rust-lang/crates.io-index"
425checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0" 424checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
426dependencies = [ 425dependencies = [
426 "cfg-if",
427 "crunchy", 427 "crunchy",
428] 428]
429 429
430[[package]] 430[[package]]
431name = "hashbrown" 431name = "hashbrown"
432version = "0.14.0" 432version = "0.14.5"
433source = "registry+https://github.com/rust-lang/crates.io-index" 433source = "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"
435 445
436[[package]] 446[[package]]
437name = "hermit-abi" 447name = "hermit-abi"
438version = "0.3.2" 448version = "0.3.9"
439source = "registry+https://github.com/rust-lang/crates.io-index" 449source = "registry+https://github.com/rust-lang/crates.io-index"
440checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" 450checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
441 451
442[[package]] 452[[package]]
443name = "home" 453name = "home"
444version = "0.5.5" 454version = "0.5.9"
445source = "registry+https://github.com/rust-lang/crates.io-index" 455source = "registry+https://github.com/rust-lang/crates.io-index"
446checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" 456checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
447dependencies = [ 457dependencies = [
448 "windows-sys 0.48.0", 458 "windows-sys 0.52.0",
449] 459]
450 460
451[[package]] 461[[package]]
452name = "http_req" 462name = "http_req"
453version = "0.9.2" 463version = "0.12.0"
454source = "registry+https://github.com/rust-lang/crates.io-index" 464source = "registry+https://github.com/rust-lang/crates.io-index"
455checksum = "9f680177f2ebe4aabd573d07b322d15a5e0fbc97cd739fd627b08043c89041f8" 465checksum = "92208b0986f414edaca8ede2c6962c979309346a9e8e19d07d0a7879aae1549e"
456dependencies = [ 466dependencies = [
457 "native-tls", 467 "native-tls",
458 "unicase", 468 "unicase",
@@ -460,16 +470,16 @@ dependencies = [
460 470
461[[package]] 471[[package]]
462name = "iana-time-zone" 472name = "iana-time-zone"
463version = "0.1.57" 473version = "0.1.60"
464source = "registry+https://github.com/rust-lang/crates.io-index" 474source = "registry+https://github.com/rust-lang/crates.io-index"
465checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" 475checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
466dependencies = [ 476dependencies = [
467 "android_system_properties", 477 "android_system_properties",
468 "core-foundation-sys", 478 "core-foundation-sys",
469 "iana-time-zone-haiku", 479 "iana-time-zone-haiku",
470 "js-sys", 480 "js-sys",
471 "wasm-bindgen", 481 "wasm-bindgen",
472 "windows", 482 "windows-core",
473] 483]
474 484
475[[package]] 485[[package]]
@@ -483,9 +493,9 @@ dependencies = [
483 493
484[[package]] 494[[package]]
485name = "image" 495name = "image"
486version = "0.24.6" 496version = "0.24.9"
487source = "registry+https://github.com/rust-lang/crates.io-index" 497source = "registry+https://github.com/rust-lang/crates.io-index"
488checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a" 498checksum = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d"
489dependencies = [ 499dependencies = [
490 "bytemuck", 500 "bytemuck",
491 "byteorder", 501 "byteorder",
@@ -493,7 +503,6 @@ dependencies = [
493 "exr", 503 "exr",
494 "gif", 504 "gif",
495 "jpeg-decoder", 505 "jpeg-decoder",
496 "num-rational",
497 "num-traits", 506 "num-traits",
498 "png", 507 "png",
499 "qoi", 508 "qoi",
@@ -502,28 +511,29 @@ dependencies = [
502 511
503[[package]] 512[[package]]
504name = "indexmap" 513name = "indexmap"
505version = "2.0.0" 514version = "2.5.0"
506source = "registry+https://github.com/rust-lang/crates.io-index" 515source = "registry+https://github.com/rust-lang/crates.io-index"
507checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" 516checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
508dependencies = [ 517dependencies = [
509 "equivalent", 518 "equivalent",
510 "hashbrown", 519 "hashbrown",
511] 520]
512 521
513[[package]] 522[[package]]
514name = "instant" 523name = "instability"
515version = "0.1.12" 524version = "0.3.2"
516source = "registry+https://github.com/rust-lang/crates.io-index" 525source = "registry+https://github.com/rust-lang/crates.io-index"
517checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 526checksum = "b23a0c8dfe501baac4adf6ebbfa6eddf8f0c07f56b058cc1288017e32397846c"
518dependencies = [ 527dependencies = [
519 "cfg-if", 528 "quote",
529 "syn",
520] 530]
521 531
522[[package]] 532[[package]]
523name = "invidious" 533name = "invidious"
524version = "0.5.0" 534version = "0.7.6"
525source = "registry+https://github.com/rust-lang/crates.io-index" 535source = "registry+https://github.com/rust-lang/crates.io-index"
526checksum = "dcf06ca3149bc691b638f1eed94bc5ea5d7eae85ddc01c23249f0af0bd16d62e" 536checksum = "de9e2c9babc56f99fb8dd10ae6bc7258f6a1a1c26b2fdd7c0cdac398f706a7c7"
527dependencies = [ 537dependencies = [
528 "http_req", 538 "http_req",
529 "serde", 539 "serde",
@@ -531,45 +541,43 @@ dependencies = [
531] 541]
532 542
533[[package]] 543[[package]]
534name = "io-lifetimes" 544name = "itertools"
535version = "1.0.11" 545version = "0.13.0"
536source = "registry+https://github.com/rust-lang/crates.io-index" 546source = "registry+https://github.com/rust-lang/crates.io-index"
537checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" 547checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
538dependencies = [ 548dependencies = [
539 "hermit-abi", 549 "either",
540 "libc",
541 "windows-sys 0.48.0",
542] 550]
543 551
544[[package]] 552[[package]]
545name = "itoa" 553name = "itoa"
546version = "1.0.8" 554version = "1.0.11"
547source = "registry+https://github.com/rust-lang/crates.io-index" 555source = "registry+https://github.com/rust-lang/crates.io-index"
548checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" 556checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
549 557
550[[package]] 558[[package]]
551name = "jpeg-decoder" 559name = "jpeg-decoder"
552version = "0.3.0" 560version = "0.3.1"
553source = "registry+https://github.com/rust-lang/crates.io-index" 561source = "registry+https://github.com/rust-lang/crates.io-index"
554checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e" 562checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0"
555dependencies = [ 563dependencies = [
556 "rayon", 564 "rayon",
557] 565]
558 566
559[[package]] 567[[package]]
560name = "js-sys" 568name = "js-sys"
561version = "0.3.64" 569version = "0.3.70"
562source = "registry+https://github.com/rust-lang/crates.io-index" 570source = "registry+https://github.com/rust-lang/crates.io-index"
563checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" 571checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
564dependencies = [ 572dependencies = [
565 "wasm-bindgen", 573 "wasm-bindgen",
566] 574]
567 575
568[[package]] 576[[package]]
569name = "lazy_static" 577name = "lazy_static"
570version = "1.4.0" 578version = "1.5.0"
571source = "registry+https://github.com/rust-lang/crates.io-index" 579source = "registry+https://github.com/rust-lang/crates.io-index"
572checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 580checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
573 581
574[[package]] 582[[package]]
575name = "lebe" 583name = "lebe"
@@ -579,9 +587,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
579 587
580[[package]] 588[[package]]
581name = "libc" 589name = "libc"
582version = "0.2.147" 590version = "0.2.158"
583source = "registry+https://github.com/rust-lang/crates.io-index" 591source = "registry+https://github.com/rust-lang/crates.io-index"
584checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" 592checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
585 593
586[[package]] 594[[package]]
587name = "libmpv-sirno" 595name = "libmpv-sirno"
@@ -600,15 +608,15 @@ checksum = "88adfe3a9f3ef1d69c87ce86930246cd80c86be098d5bfd2a7b05962ff1d3a50"
600 608
601[[package]] 609[[package]]
602name = "linux-raw-sys" 610name = "linux-raw-sys"
603version = "0.3.8" 611version = "0.4.14"
604source = "registry+https://github.com/rust-lang/crates.io-index" 612source = "registry+https://github.com/rust-lang/crates.io-index"
605checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" 613checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
606 614
607[[package]] 615[[package]]
608name = "lock_api" 616name = "lock_api"
609version = "0.4.10" 617version = "0.4.12"
610source = "registry+https://github.com/rust-lang/crates.io-index" 618source = "registry+https://github.com/rust-lang/crates.io-index"
611checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" 619checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
612dependencies = [ 620dependencies = [
613 "autocfg", 621 "autocfg",
614 "scopeguard", 622 "scopeguard",
@@ -616,9 +624,18 @@ dependencies = [
616 624
617[[package]] 625[[package]]
618name = "log" 626name = "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"
620source = "registry+https://github.com/rust-lang/crates.io-index" 634source = "registry+https://github.com/rust-lang/crates.io-index"
621checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" 635checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904"
636dependencies = [
637 "hashbrown",
638]
622 639
623[[package]] 640[[package]]
624name = "make-cmd" 641name = "make-cmd"
@@ -636,29 +653,35 @@ dependencies = [
636] 653]
637 654
638[[package]] 655[[package]]
639name = "memoffset" 656name = "memchr"
640version = "0.9.0" 657version = "2.7.4"
641source = "registry+https://github.com/rust-lang/crates.io-index" 658source = "registry+https://github.com/rust-lang/crates.io-index"
642checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 659checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
643dependencies = [
644 "autocfg",
645]
646 660
647[[package]] 661[[package]]
648name = "miniz_oxide" 662name = "miniz_oxide"
649version = "0.7.1" 663version = "0.7.4"
650source = "registry+https://github.com/rust-lang/crates.io-index" 664source = "registry+https://github.com/rust-lang/crates.io-index"
651checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" 665checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
652dependencies = [ 666dependencies = [
653 "adler", 667 "adler",
654 "simd-adler32", 668 "simd-adler32",
655] 669]
656 670
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
657[[package]] 680[[package]]
658name = "mio" 681name = "mio"
659version = "0.8.8" 682version = "0.8.11"
660source = "registry+https://github.com/rust-lang/crates.io-index" 683source = "registry+https://github.com/rust-lang/crates.io-index"
661checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" 684checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
662dependencies = [ 685dependencies = [
663 "libc", 686 "libc",
664 "log", 687 "log",
@@ -667,21 +690,24 @@ dependencies = [
667] 690]
668 691
669[[package]] 692[[package]]
670name = "nanorand" 693name = "mio"
671version = "0.7.0" 694version = "1.0.2"
672source = "registry+https://github.com/rust-lang/crates.io-index" 695source = "registry+https://github.com/rust-lang/crates.io-index"
673checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" 696checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
674dependencies = [ 697dependencies = [
675 "getrandom", 698 "hermit-abi",
699 "libc",
700 "log",
701 "wasi",
702 "windows-sys 0.52.0",
676] 703]
677 704
678[[package]] 705[[package]]
679name = "native-tls" 706name = "native-tls"
680version = "0.2.11" 707version = "0.2.12"
681source = "registry+https://github.com/rust-lang/crates.io-index" 708source = "registry+https://github.com/rust-lang/crates.io-index"
682checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" 709checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
683dependencies = [ 710dependencies = [
684 "lazy_static",
685 "libc", 711 "libc",
686 "log", 712 "log",
687 "openssl", 713 "openssl",
@@ -693,46 +719,15 @@ dependencies = [
693 "tempfile", 719 "tempfile",
694] 720]
695 721
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
717[[package]] 722[[package]]
718name = "num-traits" 723name = "num-traits"
719version = "0.2.15" 724version = "0.2.19"
720source = "registry+https://github.com/rust-lang/crates.io-index" 725source = "registry+https://github.com/rust-lang/crates.io-index"
721checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 726checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
722dependencies = [ 727dependencies = [
723 "autocfg", 728 "autocfg",
724] 729]
725 730
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
736[[package]] 731[[package]]
737name = "objc" 732name = "objc"
738version = "0.2.7" 733version = "0.2.7"
@@ -764,17 +759,17 @@ dependencies = [
764 759
765[[package]] 760[[package]]
766name = "once_cell" 761name = "once_cell"
767version = "1.18.0" 762version = "1.20.0"
768source = "registry+https://github.com/rust-lang/crates.io-index" 763source = "registry+https://github.com/rust-lang/crates.io-index"
769checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 764checksum = "33ea5043e58958ee56f3e15a90aee535795cd7dfd319846288d93c5b57d85cbe"
770 765
771[[package]] 766[[package]]
772name = "openssl" 767name = "openssl"
773version = "0.10.55" 768version = "0.10.66"
774source = "registry+https://github.com/rust-lang/crates.io-index" 769source = "registry+https://github.com/rust-lang/crates.io-index"
775checksum = "345df152bc43501c5eb9e4654ff05f794effb78d4efe3d53abc158baddc0703d" 770checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1"
776dependencies = [ 771dependencies = [
777 "bitflags", 772 "bitflags 2.6.0",
778 "cfg-if", 773 "cfg-if",
779 "foreign-types", 774 "foreign-types",
780 "libc", 775 "libc",
@@ -802,9 +797,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
802 797
803[[package]] 798[[package]]
804name = "openssl-sys" 799name = "openssl-sys"
805version = "0.9.90" 800version = "0.9.103"
806source = "registry+https://github.com/rust-lang/crates.io-index" 801source = "registry+https://github.com/rust-lang/crates.io-index"
807checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6" 802checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
808dependencies = [ 803dependencies = [
809 "cc", 804 "cc",
810 "libc", 805 "libc",
@@ -814,9 +809,9 @@ dependencies = [
814 809
815[[package]] 810[[package]]
816name = "parking_lot" 811name = "parking_lot"
817version = "0.12.1" 812version = "0.12.3"
818source = "registry+https://github.com/rust-lang/crates.io-index" 813source = "registry+https://github.com/rust-lang/crates.io-index"
819checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 814checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
820dependencies = [ 815dependencies = [
821 "lock_api", 816 "lock_api",
822 "parking_lot_core", 817 "parking_lot_core",
@@ -824,61 +819,47 @@ dependencies = [
824 819
825[[package]] 820[[package]]
826name = "parking_lot_core" 821name = "parking_lot_core"
827version = "0.9.8" 822version = "0.9.10"
828source = "registry+https://github.com/rust-lang/crates.io-index" 823source = "registry+https://github.com/rust-lang/crates.io-index"
829checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" 824checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
830dependencies = [ 825dependencies = [
831 "cfg-if", 826 "cfg-if",
832 "libc", 827 "libc",
833 "redox_syscall", 828 "redox_syscall",
834 "smallvec", 829 "smallvec",
835 "windows-targets 0.48.1", 830 "windows-targets 0.52.6",
836] 831]
837 832
838[[package]] 833[[package]]
839name = "pin-project" 834name = "paste"
840version = "1.1.2" 835version = "1.0.15"
841source = "registry+https://github.com/rust-lang/crates.io-index" 836source = "registry+https://github.com/rust-lang/crates.io-index"
842checksum = "030ad2bc4db10a8944cb0d837f158bdfec4d4a4873ab701a95046770d11f8842" 837checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
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]
857 838
858[[package]] 839[[package]]
859name = "pkg-config" 840name = "pkg-config"
860version = "0.3.27" 841version = "0.3.30"
861source = "registry+https://github.com/rust-lang/crates.io-index" 842source = "registry+https://github.com/rust-lang/crates.io-index"
862checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" 843checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
863 844
864[[package]] 845[[package]]
865name = "png" 846name = "png"
866version = "0.17.9" 847version = "0.17.13"
867source = "registry+https://github.com/rust-lang/crates.io-index" 848source = "registry+https://github.com/rust-lang/crates.io-index"
868checksum = "59871cc5b6cce7eaccca5a802b4173377a1c2ba90654246789a8fa2334426d11" 849checksum = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1"
869dependencies = [ 850dependencies = [
870 "bitflags", 851 "bitflags 1.3.2",
871 "crc32fast", 852 "crc32fast",
872 "fdeflate", 853 "fdeflate",
873 "flate2", 854 "flate2",
874 "miniz_oxide", 855 "miniz_oxide 0.7.4",
875] 856]
876 857
877[[package]] 858[[package]]
878name = "proc-macro2" 859name = "proc-macro2"
879version = "1.0.63" 860version = "1.0.86"
880source = "registry+https://github.com/rust-lang/crates.io-index" 861source = "registry+https://github.com/rust-lang/crates.io-index"
881checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" 862checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
882dependencies = [ 863dependencies = [
883 "unicode-ident", 864 "unicode-ident",
884] 865]
@@ -894,32 +875,40 @@ dependencies = [
894 875
895[[package]] 876[[package]]
896name = "quote" 877name = "quote"
897version = "1.0.29" 878version = "1.0.37"
898source = "registry+https://github.com/rust-lang/crates.io-index" 879source = "registry+https://github.com/rust-lang/crates.io-index"
899checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" 880checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
900dependencies = [ 881dependencies = [
901 "proc-macro2", 882 "proc-macro2",
902] 883]
903 884
904[[package]] 885[[package]]
905name = "ratatui" 886name = "ratatui"
906version = "0.21.0" 887version = "0.28.1"
907source = "registry+https://github.com/rust-lang/crates.io-index" 888source = "registry+https://github.com/rust-lang/crates.io-index"
908checksum = "ce841e0486e7c2412c3740168ede33adeba8e154a15107b879d8162d77c7174e" 889checksum = "fdef7f9be5c0122f890d58bdf4d964349ba6a6161f705907526d891efabba57d"
909dependencies = [ 890dependencies = [
910 "bitflags", 891 "bitflags 2.6.0",
911 "cassowary", 892 "cassowary",
912 "crossterm 0.26.1", 893 "compact_str",
894 "crossterm 0.28.1",
895 "instability",
896 "itertools",
897 "lru",
898 "paste",
913 "serde", 899 "serde",
900 "strum",
901 "strum_macros",
914 "unicode-segmentation", 902 "unicode-segmentation",
903 "unicode-truncate",
915 "unicode-width", 904 "unicode-width",
916] 905]
917 906
918[[package]] 907[[package]]
919name = "rayon" 908name = "rayon"
920version = "1.7.0" 909version = "1.10.0"
921source = "registry+https://github.com/rust-lang/crates.io-index" 910source = "registry+https://github.com/rust-lang/crates.io-index"
922checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" 911checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
923dependencies = [ 912dependencies = [
924 "either", 913 "either",
925 "rayon-core", 914 "rayon-core",
@@ -927,76 +916,79 @@ dependencies = [
927 916
928[[package]] 917[[package]]
929name = "rayon-core" 918name = "rayon-core"
930version = "1.11.0" 919version = "1.12.1"
931source = "registry+https://github.com/rust-lang/crates.io-index" 920source = "registry+https://github.com/rust-lang/crates.io-index"
932checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" 921checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
933dependencies = [ 922dependencies = [
934 "crossbeam-channel",
935 "crossbeam-deque", 923 "crossbeam-deque",
936 "crossbeam-utils", 924 "crossbeam-utils",
937 "num_cpus",
938] 925]
939 926
940[[package]] 927[[package]]
941name = "redox_syscall" 928name = "redox_syscall"
942version = "0.3.5" 929version = "0.5.4"
943source = "registry+https://github.com/rust-lang/crates.io-index" 930source = "registry+https://github.com/rust-lang/crates.io-index"
944checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 931checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853"
945dependencies = [ 932dependencies = [
946 "bitflags", 933 "bitflags 2.6.0",
947] 934]
948 935
949[[package]] 936[[package]]
950name = "rgb" 937name = "rgb"
951version = "0.8.36" 938version = "0.8.50"
952source = "registry+https://github.com/rust-lang/crates.io-index" 939source = "registry+https://github.com/rust-lang/crates.io-index"
953checksum = "20ec2d3e3fc7a92ced357df9cebd5a10b6fb2aa1ee797bf7e9ce2f17dffc8f59" 940checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a"
954dependencies = [ 941dependencies = [
955 "bytemuck", 942 "bytemuck",
956] 943]
957 944
958[[package]] 945[[package]]
959name = "rustix" 946name = "rustix"
960version = "0.37.23" 947version = "0.38.37"
961source = "registry+https://github.com/rust-lang/crates.io-index" 948source = "registry+https://github.com/rust-lang/crates.io-index"
962checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" 949checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
963dependencies = [ 950dependencies = [
964 "bitflags", 951 "bitflags 2.6.0",
965 "errno", 952 "errno",
966 "io-lifetimes",
967 "libc", 953 "libc",
968 "linux-raw-sys", 954 "linux-raw-sys",
969 "windows-sys 0.48.0", 955 "windows-sys 0.52.0",
970] 956]
971 957
958[[package]]
959name = "rustversion"
960version = "1.0.17"
961source = "registry+https://github.com/rust-lang/crates.io-index"
962checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
963
972[[package]] 964[[package]]
973name = "ryu" 965name = "ryu"
974version = "1.0.14" 966version = "1.0.18"
975source = "registry+https://github.com/rust-lang/crates.io-index" 967source = "registry+https://github.com/rust-lang/crates.io-index"
976checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" 968checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
977 969
978[[package]] 970[[package]]
979name = "schannel" 971name = "schannel"
980version = "0.1.22" 972version = "0.1.24"
981source = "registry+https://github.com/rust-lang/crates.io-index" 973source = "registry+https://github.com/rust-lang/crates.io-index"
982checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" 974checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b"
983dependencies = [ 975dependencies = [
984 "windows-sys 0.48.0", 976 "windows-sys 0.59.0",
985] 977]
986 978
987[[package]] 979[[package]]
988name = "scopeguard" 980name = "scopeguard"
989version = "1.1.0" 981version = "1.2.0"
990source = "registry+https://github.com/rust-lang/crates.io-index" 982source = "registry+https://github.com/rust-lang/crates.io-index"
991checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 983checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
992 984
993[[package]] 985[[package]]
994name = "security-framework" 986name = "security-framework"
995version = "2.9.1" 987version = "2.11.1"
996source = "registry+https://github.com/rust-lang/crates.io-index" 988source = "registry+https://github.com/rust-lang/crates.io-index"
997checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" 989checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
998dependencies = [ 990dependencies = [
999 "bitflags", 991 "bitflags 2.6.0",
1000 "core-foundation", 992 "core-foundation",
1001 "core-foundation-sys", 993 "core-foundation-sys",
1002 "libc", 994 "libc",
@@ -1005,9 +997,9 @@ dependencies = [
1005 997
1006[[package]] 998[[package]]
1007name = "security-framework-sys" 999name = "security-framework-sys"
1008version = "2.9.0" 1000version = "2.11.1"
1009source = "registry+https://github.com/rust-lang/crates.io-index" 1001source = "registry+https://github.com/rust-lang/crates.io-index"
1010checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" 1002checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
1011dependencies = [ 1003dependencies = [
1012 "core-foundation-sys", 1004 "core-foundation-sys",
1013 "libc", 1005 "libc",
@@ -1015,18 +1007,18 @@ dependencies = [
1015 1007
1016[[package]] 1008[[package]]
1017name = "serde" 1009name = "serde"
1018version = "1.0.167" 1010version = "1.0.210"
1019source = "registry+https://github.com/rust-lang/crates.io-index" 1011source = "registry+https://github.com/rust-lang/crates.io-index"
1020checksum = "7daf513456463b42aa1d94cff7e0c24d682b429f020b9afa4f5ba5c40a22b237" 1012checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
1021dependencies = [ 1013dependencies = [
1022 "serde_derive", 1014 "serde_derive",
1023] 1015]
1024 1016
1025[[package]] 1017[[package]]
1026name = "serde_derive" 1018name = "serde_derive"
1027version = "1.0.167" 1019version = "1.0.210"
1028source = "registry+https://github.com/rust-lang/crates.io-index" 1020source = "registry+https://github.com/rust-lang/crates.io-index"
1029checksum = "b69b106b68bc8054f0e974e70d19984040f8a5cf9215ca82626ea4853f82c4b9" 1021checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
1030dependencies = [ 1022dependencies = [
1031 "proc-macro2", 1023 "proc-macro2",
1032 "quote", 1024 "quote",
@@ -1035,20 +1027,21 @@ dependencies = [
1035 1027
1036[[package]] 1028[[package]]
1037name = "serde_json" 1029name = "serde_json"
1038version = "1.0.100" 1030version = "1.0.128"
1039source = "registry+https://github.com/rust-lang/crates.io-index" 1031source = "registry+https://github.com/rust-lang/crates.io-index"
1040checksum = "0f1e14e89be7aa4c4b78bdbdc9eb5bf8517829a600ae8eaa39a6e1d960b5185c" 1032checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
1041dependencies = [ 1033dependencies = [
1042 "itoa", 1034 "itoa",
1035 "memchr",
1043 "ryu", 1036 "ryu",
1044 "serde", 1037 "serde",
1045] 1038]
1046 1039
1047[[package]] 1040[[package]]
1048name = "serde_yaml" 1041name = "serde_yaml_ng"
1049version = "0.9.22" 1042version = "0.9.36"
1050source = "registry+https://github.com/rust-lang/crates.io-index" 1043source = "registry+https://github.com/rust-lang/crates.io-index"
1051checksum = "452e67b9c20c37fa79df53201dc03839651086ed9bbe92b3ca585ca9fdaa7d85" 1044checksum = "bd24347956e682cf958c95e82deb9914cad4010d3efc035d579f81f4c426038c"
1052dependencies = [ 1045dependencies = [
1053 "indexmap", 1046 "indexmap",
1054 "itoa", 1047 "itoa",
@@ -1057,11 +1050,17 @@ dependencies = [
1057 "unsafe-libyaml", 1050 "unsafe-libyaml",
1058] 1051]
1059 1052
1053[[package]]
1054name = "shlex"
1055version = "1.3.0"
1056source = "registry+https://github.com/rust-lang/crates.io-index"
1057checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
1058
1060[[package]] 1059[[package]]
1061name = "signal-hook" 1060name = "signal-hook"
1062version = "0.3.15" 1061version = "0.3.17"
1063source = "registry+https://github.com/rust-lang/crates.io-index" 1062source = "registry+https://github.com/rust-lang/crates.io-index"
1064checksum = "732768f1176d21d09e076c23a93123d40bba92d50c4058da34d45c8de8e682b9" 1063checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801"
1065dependencies = [ 1064dependencies = [
1066 "libc", 1065 "libc",
1067 "signal-hook-registry", 1066 "signal-hook-registry",
@@ -1069,29 +1068,30 @@ dependencies = [
1069 1068
1070[[package]] 1069[[package]]
1071name = "signal-hook-mio" 1070name = "signal-hook-mio"
1072version = "0.2.3" 1071version = "0.2.4"
1073source = "registry+https://github.com/rust-lang/crates.io-index" 1072source = "registry+https://github.com/rust-lang/crates.io-index"
1074checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" 1073checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd"
1075dependencies = [ 1074dependencies = [
1076 "libc", 1075 "libc",
1077 "mio", 1076 "mio 0.8.11",
1077 "mio 1.0.2",
1078 "signal-hook", 1078 "signal-hook",
1079] 1079]
1080 1080
1081[[package]] 1081[[package]]
1082name = "signal-hook-registry" 1082name = "signal-hook-registry"
1083version = "1.4.1" 1083version = "1.4.2"
1084source = "registry+https://github.com/rust-lang/crates.io-index" 1084source = "registry+https://github.com/rust-lang/crates.io-index"
1085checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" 1085checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
1086dependencies = [ 1086dependencies = [
1087 "libc", 1087 "libc",
1088] 1088]
1089 1089
1090[[package]] 1090[[package]]
1091name = "simd-adler32" 1091name = "simd-adler32"
1092version = "0.3.5" 1092version = "0.3.7"
1093source = "registry+https://github.com/rust-lang/crates.io-index" 1093source = "registry+https://github.com/rust-lang/crates.io-index"
1094checksum = "238abfbb77c1915110ad968465608b68e869e0772622c9656714e73e5a1a522f" 1094checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
1095 1095
1096[[package]] 1096[[package]]
1097name = "sixel-rs" 1097name = "sixel-rs"
@@ -1113,9 +1113,9 @@ dependencies = [
1113 1113
1114[[package]] 1114[[package]]
1115name = "smallvec" 1115name = "smallvec"
1116version = "1.11.0" 1116version = "1.13.2"
1117source = "registry+https://github.com/rust-lang/crates.io-index" 1117source = "registry+https://github.com/rust-lang/crates.io-index"
1118checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" 1118checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
1119 1119
1120[[package]] 1120[[package]]
1121name = "spin" 1121name = "spin"
@@ -1126,11 +1126,39 @@ dependencies = [
1126 "lock_api", 1126 "lock_api",
1127] 1127]
1128 1128
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
1129[[package]] 1157[[package]]
1130name = "syn" 1158name = "syn"
1131version = "2.0.23" 1159version = "2.0.77"
1132source = "registry+https://github.com/rust-lang/crates.io-index" 1160source = "registry+https://github.com/rust-lang/crates.io-index"
1133checksum = "59fb7d6d8281a51045d62b8eb3a7d1ce347b76f312af50cd3dc0af39c87c1737" 1161checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
1134dependencies = [ 1162dependencies = [
1135 "proc-macro2", 1163 "proc-macro2",
1136 "quote", 1164 "quote",
@@ -1139,32 +1167,31 @@ dependencies = [
1139 1167
1140[[package]] 1168[[package]]
1141name = "tempfile" 1169name = "tempfile"
1142version = "3.6.0" 1170version = "3.12.0"
1143source = "registry+https://github.com/rust-lang/crates.io-index" 1171source = "registry+https://github.com/rust-lang/crates.io-index"
1144checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" 1172checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
1145dependencies = [ 1173dependencies = [
1146 "autocfg",
1147 "cfg-if", 1174 "cfg-if",
1148 "fastrand", 1175 "fastrand",
1149 "redox_syscall", 1176 "once_cell",
1150 "rustix", 1177 "rustix",
1151 "windows-sys 0.48.0", 1178 "windows-sys 0.59.0",
1152] 1179]
1153 1180
1154[[package]] 1181[[package]]
1155name = "termcolor" 1182name = "termcolor"
1156version = "1.2.0" 1183version = "1.4.1"
1157source = "registry+https://github.com/rust-lang/crates.io-index" 1184source = "registry+https://github.com/rust-lang/crates.io-index"
1158checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" 1185checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
1159dependencies = [ 1186dependencies = [
1160 "winapi-util", 1187 "winapi-util",
1161] 1188]
1162 1189
1163[[package]] 1190[[package]]
1164name = "tiff" 1191name = "tiff"
1165version = "0.8.1" 1192version = "0.9.1"
1166source = "registry+https://github.com/rust-lang/crates.io-index" 1193source = "registry+https://github.com/rust-lang/crates.io-index"
1167checksum = "7449334f9ff2baf290d55d73983a7d6fa15e01198faef72af07e2a8db851e471" 1194checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e"
1168dependencies = [ 1195dependencies = [
1169 "flate2", 1196 "flate2",
1170 "jpeg-decoder", 1197 "jpeg-decoder",
@@ -1179,11 +1206,11 @@ checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
1179 1206
1180[[package]] 1207[[package]]
1181name = "tui-additions" 1208name = "tui-additions"
1182version = "0.2.1" 1209version = "0.3.0"
1183source = "registry+https://github.com/rust-lang/crates.io-index" 1210source = "registry+https://github.com/rust-lang/crates.io-index"
1184checksum = "1de5841ec45de71c46252a832bb1e3e69abf2ee2492eb309ea077c8d78e798e7" 1211checksum = "f5f6f923d9c553375e63ac066920a17206917527d647ed9c0480495208b9038e"
1185dependencies = [ 1212dependencies = [
1186 "crossterm 0.26.1", 1213 "crossterm 0.28.1",
1187 "dyn-clone", 1214 "dyn-clone",
1188 "ratatui", 1215 "ratatui",
1189 "typemap", 1216 "typemap",
@@ -1201,30 +1228,41 @@ dependencies = [
1201 1228
1202[[package]] 1229[[package]]
1203name = "unicase" 1230name = "unicase"
1204version = "2.6.0" 1231version = "2.7.0"
1205source = "registry+https://github.com/rust-lang/crates.io-index" 1232source = "registry+https://github.com/rust-lang/crates.io-index"
1206checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" 1233checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
1207dependencies = [ 1234dependencies = [
1208 "version_check", 1235 "version_check",
1209] 1236]
1210 1237
1211[[package]] 1238[[package]]
1212name = "unicode-ident" 1239name = "unicode-ident"
1213version = "1.0.10" 1240version = "1.0.13"
1214source = "registry+https://github.com/rust-lang/crates.io-index" 1241source = "registry+https://github.com/rust-lang/crates.io-index"
1215checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" 1242checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
1216 1243
1217[[package]] 1244[[package]]
1218name = "unicode-segmentation" 1245name = "unicode-segmentation"
1219version = "1.10.1" 1246version = "1.12.0"
1220source = "registry+https://github.com/rust-lang/crates.io-index" 1247source = "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]
1222 1260
1223[[package]] 1261[[package]]
1224name = "unicode-width" 1262name = "unicode-width"
1225version = "0.1.10" 1263version = "0.1.13"
1226source = "registry+https://github.com/rust-lang/crates.io-index" 1264source = "registry+https://github.com/rust-lang/crates.io-index"
1227checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" 1265checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
1228 1266
1229[[package]] 1267[[package]]
1230name = "unsafe-any" 1268name = "unsafe-any"
@@ -1237,15 +1275,15 @@ dependencies = [
1237 1275
1238[[package]] 1276[[package]]
1239name = "unsafe-libyaml" 1277name = "unsafe-libyaml"
1240version = "0.2.8" 1278version = "0.2.11"
1241source = "registry+https://github.com/rust-lang/crates.io-index" 1279source = "registry+https://github.com/rust-lang/crates.io-index"
1242checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6" 1280checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
1243 1281
1244[[package]] 1282[[package]]
1245name = "urlencoding" 1283name = "urlencoding"
1246version = "2.1.2" 1284version = "2.1.3"
1247source = "registry+https://github.com/rust-lang/crates.io-index" 1285source = "registry+https://github.com/rust-lang/crates.io-index"
1248checksum = "e8db7427f936968176eaa7cdf81b7f98b980b18495ec28f1b5791ac3bfe3eea9" 1286checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
1249 1287
1250[[package]] 1288[[package]]
1251name = "vcpkg" 1289name = "vcpkg"
@@ -1255,20 +1293,20 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
1255 1293
1256[[package]] 1294[[package]]
1257name = "version_check" 1295name = "version_check"
1258version = "0.9.4" 1296version = "0.9.5"
1259source = "registry+https://github.com/rust-lang/crates.io-index" 1297source = "registry+https://github.com/rust-lang/crates.io-index"
1260checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 1298checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1261 1299
1262[[package]] 1300[[package]]
1263name = "viuer" 1301name = "viuer"
1264version = "0.6.2" 1302version = "0.7.1"
1265source = "registry+https://github.com/rust-lang/crates.io-index" 1303source = "registry+https://github.com/rust-lang/crates.io-index"
1266checksum = "b511f7e9ae27b5750f12ca50c353a1179bd4cc964a47294eb0d2cdad40cb41c0" 1304checksum = "ec2ede5c8814363f92f862892dfe71a266f6816b649ca435aed1ff5e2cf3454e"
1267dependencies = [ 1305dependencies = [
1268 "ansi_colours", 1306 "ansi_colours",
1269 "base64", 1307 "base64",
1270 "console", 1308 "console",
1271 "crossterm 0.25.0", 1309 "crossterm 0.27.0",
1272 "image", 1310 "image",
1273 "lazy_static", 1311 "lazy_static",
1274 "sixel-rs", 1312 "sixel-rs",
@@ -1284,19 +1322,20 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1284 1322
1285[[package]] 1323[[package]]
1286name = "wasm-bindgen" 1324name = "wasm-bindgen"
1287version = "0.2.87" 1325version = "0.2.93"
1288source = "registry+https://github.com/rust-lang/crates.io-index" 1326source = "registry+https://github.com/rust-lang/crates.io-index"
1289checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" 1327checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
1290dependencies = [ 1328dependencies = [
1291 "cfg-if", 1329 "cfg-if",
1330 "once_cell",
1292 "wasm-bindgen-macro", 1331 "wasm-bindgen-macro",
1293] 1332]
1294 1333
1295[[package]] 1334[[package]]
1296name = "wasm-bindgen-backend" 1335name = "wasm-bindgen-backend"
1297version = "0.2.87" 1336version = "0.2.93"
1298source = "registry+https://github.com/rust-lang/crates.io-index" 1337source = "registry+https://github.com/rust-lang/crates.io-index"
1299checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" 1338checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
1300dependencies = [ 1339dependencies = [
1301 "bumpalo", 1340 "bumpalo",
1302 "log", 1341 "log",
@@ -1309,9 +1348,9 @@ dependencies = [
1309 1348
1310[[package]] 1349[[package]]
1311name = "wasm-bindgen-macro" 1350name = "wasm-bindgen-macro"
1312version = "0.2.87" 1351version = "0.2.93"
1313source = "registry+https://github.com/rust-lang/crates.io-index" 1352source = "registry+https://github.com/rust-lang/crates.io-index"
1314checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" 1353checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
1315dependencies = [ 1354dependencies = [
1316 "quote", 1355 "quote",
1317 "wasm-bindgen-macro-support", 1356 "wasm-bindgen-macro-support",
@@ -1319,9 +1358,9 @@ dependencies = [
1319 1358
1320[[package]] 1359[[package]]
1321name = "wasm-bindgen-macro-support" 1360name = "wasm-bindgen-macro-support"
1322version = "0.2.87" 1361version = "0.2.93"
1323source = "registry+https://github.com/rust-lang/crates.io-index" 1362source = "registry+https://github.com/rust-lang/crates.io-index"
1324checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" 1363checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
1325dependencies = [ 1364dependencies = [
1326 "proc-macro2", 1365 "proc-macro2",
1327 "quote", 1366 "quote",
@@ -1332,15 +1371,15 @@ dependencies = [
1332 1371
1333[[package]] 1372[[package]]
1334name = "wasm-bindgen-shared" 1373name = "wasm-bindgen-shared"
1335version = "0.2.87" 1374version = "0.2.93"
1336source = "registry+https://github.com/rust-lang/crates.io-index" 1375source = "registry+https://github.com/rust-lang/crates.io-index"
1337checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" 1376checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
1338 1377
1339[[package]] 1378[[package]]
1340name = "weezl" 1379name = "weezl"
1341version = "0.1.7" 1380version = "0.1.8"
1342source = "registry+https://github.com/rust-lang/crates.io-index" 1381source = "registry+https://github.com/rust-lang/crates.io-index"
1343checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb" 1382checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082"
1344 1383
1345[[package]] 1384[[package]]
1346name = "winapi" 1385name = "winapi"
@@ -1360,11 +1399,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1360 1399
1361[[package]] 1400[[package]]
1362name = "winapi-util" 1401name = "winapi-util"
1363version = "0.1.5" 1402version = "0.1.9"
1364source = "registry+https://github.com/rust-lang/crates.io-index" 1403source = "registry+https://github.com/rust-lang/crates.io-index"
1365checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 1404checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
1366dependencies = [ 1405dependencies = [
1367 "winapi", 1406 "windows-sys 0.59.0",
1368] 1407]
1369 1408
1370[[package]] 1409[[package]]
@@ -1374,145 +1413,161 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1374checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1413checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1375 1414
1376[[package]] 1415[[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"
1378version = "0.48.0" 1426version = "0.48.0"
1379source = "registry+https://github.com/rust-lang/crates.io-index" 1427source = "registry+https://github.com/rust-lang/crates.io-index"
1380checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" 1428checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
1381dependencies = [ 1429dependencies = [
1382 "windows-targets 0.48.1", 1430 "windows-targets 0.48.5",
1383] 1431]
1384 1432
1385[[package]] 1433[[package]]
1386name = "windows-sys" 1434name = "windows-sys"
1387version = "0.45.0" 1435version = "0.52.0"
1388source = "registry+https://github.com/rust-lang/crates.io-index" 1436source = "registry+https://github.com/rust-lang/crates.io-index"
1389checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 1437checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
1390dependencies = [ 1438dependencies = [
1391 "windows-targets 0.42.2", 1439 "windows-targets 0.52.6",
1392] 1440]
1393 1441
1394[[package]] 1442[[package]]
1395name = "windows-sys" 1443name = "windows-sys"
1396version = "0.48.0" 1444version = "0.59.0"
1397source = "registry+https://github.com/rust-lang/crates.io-index" 1445source = "registry+https://github.com/rust-lang/crates.io-index"
1398checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 1446checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
1399dependencies = [ 1447dependencies = [
1400 "windows-targets 0.48.1", 1448 "windows-targets 0.52.6",
1401] 1449]
1402 1450
1403[[package]] 1451[[package]]
1404name = "windows-targets" 1452name = "windows-targets"
1405version = "0.42.2" 1453version = "0.48.5"
1406source = "registry+https://github.com/rust-lang/crates.io-index" 1454source = "registry+https://github.com/rust-lang/crates.io-index"
1407checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 1455checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
1408dependencies = [ 1456dependencies = [
1409 "windows_aarch64_gnullvm 0.42.2", 1457 "windows_aarch64_gnullvm 0.48.5",
1410 "windows_aarch64_msvc 0.42.2", 1458 "windows_aarch64_msvc 0.48.5",
1411 "windows_i686_gnu 0.42.2", 1459 "windows_i686_gnu 0.48.5",
1412 "windows_i686_msvc 0.42.2", 1460 "windows_i686_msvc 0.48.5",
1413 "windows_x86_64_gnu 0.42.2", 1461 "windows_x86_64_gnu 0.48.5",
1414 "windows_x86_64_gnullvm 0.42.2", 1462 "windows_x86_64_gnullvm 0.48.5",
1415 "windows_x86_64_msvc 0.42.2", 1463 "windows_x86_64_msvc 0.48.5",
1416] 1464]
1417 1465
1418[[package]] 1466[[package]]
1419name = "windows-targets" 1467name = "windows-targets"
1420version = "0.48.1" 1468version = "0.52.6"
1421source = "registry+https://github.com/rust-lang/crates.io-index" 1469source = "registry+https://github.com/rust-lang/crates.io-index"
1422checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" 1470checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
1423dependencies = [ 1471dependencies = [
1424 "windows_aarch64_gnullvm 0.48.0", 1472 "windows_aarch64_gnullvm 0.52.6",
1425 "windows_aarch64_msvc 0.48.0", 1473 "windows_aarch64_msvc 0.52.6",
1426 "windows_i686_gnu 0.48.0", 1474 "windows_i686_gnu 0.52.6",
1427 "windows_i686_msvc 0.48.0", 1475 "windows_i686_gnullvm",
1428 "windows_x86_64_gnu 0.48.0", 1476 "windows_i686_msvc 0.52.6",
1429 "windows_x86_64_gnullvm 0.48.0", 1477 "windows_x86_64_gnu 0.52.6",
1430 "windows_x86_64_msvc 0.48.0", 1478 "windows_x86_64_gnullvm 0.52.6",
1479 "windows_x86_64_msvc 0.52.6",
1431] 1480]
1432 1481
1433[[package]] 1482[[package]]
1434name = "windows_aarch64_gnullvm" 1483name = "windows_aarch64_gnullvm"
1435version = "0.42.2" 1484version = "0.48.5"
1436source = "registry+https://github.com/rust-lang/crates.io-index" 1485source = "registry+https://github.com/rust-lang/crates.io-index"
1437checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 1486checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
1438 1487
1439[[package]] 1488[[package]]
1440name = "windows_aarch64_gnullvm" 1489name = "windows_aarch64_gnullvm"
1441version = "0.48.0" 1490version = "0.52.6"
1442source = "registry+https://github.com/rust-lang/crates.io-index" 1491source = "registry+https://github.com/rust-lang/crates.io-index"
1443checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" 1492checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
1444 1493
1445[[package]] 1494[[package]]
1446name = "windows_aarch64_msvc" 1495name = "windows_aarch64_msvc"
1447version = "0.42.2" 1496version = "0.48.5"
1448source = "registry+https://github.com/rust-lang/crates.io-index" 1497source = "registry+https://github.com/rust-lang/crates.io-index"
1449checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 1498checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
1450 1499
1451[[package]] 1500[[package]]
1452name = "windows_aarch64_msvc" 1501name = "windows_aarch64_msvc"
1453version = "0.48.0" 1502version = "0.52.6"
1454source = "registry+https://github.com/rust-lang/crates.io-index" 1503source = "registry+https://github.com/rust-lang/crates.io-index"
1455checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" 1504checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
1456 1505
1457[[package]] 1506[[package]]
1458name = "windows_i686_gnu" 1507name = "windows_i686_gnu"
1459version = "0.42.2" 1508version = "0.48.5"
1460source = "registry+https://github.com/rust-lang/crates.io-index" 1509source = "registry+https://github.com/rust-lang/crates.io-index"
1461checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 1510checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
1462 1511
1463[[package]] 1512[[package]]
1464name = "windows_i686_gnu" 1513name = "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"
1466source = "registry+https://github.com/rust-lang/crates.io-index" 1521source = "registry+https://github.com/rust-lang/crates.io-index"
1467checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" 1522checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1468 1523
1469[[package]] 1524[[package]]
1470name = "windows_i686_msvc" 1525name = "windows_i686_msvc"
1471version = "0.42.2" 1526version = "0.48.5"
1472source = "registry+https://github.com/rust-lang/crates.io-index" 1527source = "registry+https://github.com/rust-lang/crates.io-index"
1473checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 1528checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
1474 1529
1475[[package]] 1530[[package]]
1476name = "windows_i686_msvc" 1531name = "windows_i686_msvc"
1477version = "0.48.0" 1532version = "0.52.6"
1478source = "registry+https://github.com/rust-lang/crates.io-index" 1533source = "registry+https://github.com/rust-lang/crates.io-index"
1479checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" 1534checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1480 1535
1481[[package]] 1536[[package]]
1482name = "windows_x86_64_gnu" 1537name = "windows_x86_64_gnu"
1483version = "0.42.2" 1538version = "0.48.5"
1484source = "registry+https://github.com/rust-lang/crates.io-index" 1539source = "registry+https://github.com/rust-lang/crates.io-index"
1485checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 1540checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
1486 1541
1487[[package]] 1542[[package]]
1488name = "windows_x86_64_gnu" 1543name = "windows_x86_64_gnu"
1489version = "0.48.0" 1544version = "0.52.6"
1490source = "registry+https://github.com/rust-lang/crates.io-index" 1545source = "registry+https://github.com/rust-lang/crates.io-index"
1491checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" 1546checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
1492 1547
1493[[package]] 1548[[package]]
1494name = "windows_x86_64_gnullvm" 1549name = "windows_x86_64_gnullvm"
1495version = "0.42.2" 1550version = "0.48.5"
1496source = "registry+https://github.com/rust-lang/crates.io-index" 1551source = "registry+https://github.com/rust-lang/crates.io-index"
1497checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 1552checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
1498 1553
1499[[package]] 1554[[package]]
1500name = "windows_x86_64_gnullvm" 1555name = "windows_x86_64_gnullvm"
1501version = "0.48.0" 1556version = "0.52.6"
1502source = "registry+https://github.com/rust-lang/crates.io-index" 1557source = "registry+https://github.com/rust-lang/crates.io-index"
1503checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" 1558checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
1504 1559
1505[[package]] 1560[[package]]
1506name = "windows_x86_64_msvc" 1561name = "windows_x86_64_msvc"
1507version = "0.42.2" 1562version = "0.48.5"
1508source = "registry+https://github.com/rust-lang/crates.io-index" 1563source = "registry+https://github.com/rust-lang/crates.io-index"
1509checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 1564checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
1510 1565
1511[[package]] 1566[[package]]
1512name = "windows_x86_64_msvc" 1567name = "windows_x86_64_msvc"
1513version = "0.48.0" 1568version = "0.52.6"
1514source = "registry+https://github.com/rust-lang/crates.io-index" 1569source = "registry+https://github.com/rust-lang/crates.io-index"
1515checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" 1570checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
1516 1571
1517[[package]] 1572[[package]]
1518name = "x11-clipboard" 1573name = "x11-clipboard"
@@ -1535,11 +1590,11 @@ dependencies = [
1535 1590
1536[[package]] 1591[[package]]
1537name = "youtube-tui" 1592name = "youtube-tui"
1538version = "0.8.0" 1593version = "0.8.1"
1539dependencies = [ 1594dependencies = [
1540 "chrono", 1595 "chrono",
1541 "clipboard", 1596 "clipboard",
1542 "crossterm 0.26.1", 1597 "crossterm 0.28.1",
1543 "dyn-clone", 1598 "dyn-clone",
1544 "home", 1599 "home",
1545 "invidious", 1600 "invidious",
@@ -1547,7 +1602,7 @@ dependencies = [
1547 "ratatui", 1602 "ratatui",
1548 "serde", 1603 "serde",
1549 "serde_json", 1604 "serde_json",
1550 "serde_yaml", 1605 "serde_yaml_ng",
1551 "tui-additions", 1606 "tui-additions",
1552 "typemap", 1607 "typemap",
1553 "unicode-segmentation", 1608 "unicode-segmentation",
@@ -1555,6 +1610,26 @@ dependencies = [
1555 "viuer", 1610 "viuer",
1556] 1611]
1557 1612
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
1558[[package]] 1633[[package]]
1559name = "zune-inflate" 1634name = "zune-inflate"
1560version = "0.2.54" 1635version = "0.2.54"
Cargo.toml +7 −8
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "youtube-tui" 2name = "youtube-tui"
3version = "0.8.0" 3version = "0.8.1"
4authors = ["Siriusmart <siriusmart@tuta.io>"] 4authors = ["Siriusmart <siriusmart@tuta.io>"]
5edition = "2021" 5edition = "2021"
6description = "An aesthetically pleasing YouTube TUI written in Rust" 6description = "An aesthetically pleasing YouTube TUI written in Rust"
@@ -21,23 +21,22 @@ sixel = ["viuer/sixel"]
21halfblock = ["viuer"] 21halfblock = ["viuer"]
22clipboard = ["dep:clipboard"] 22clipboard = ["dep:clipboard"]
23mpv = ["dep:libmpv-sirno"] 23mpv = ["dep:libmpv-sirno"]
24# mpv = []
25 24
26[dependencies] 25[dependencies]
27serde = {version = "1.0", default-features = false, features = ["derive"]} 26serde = {version = "1.0", default-features = false, features = ["derive"]}
28crossterm = {version = "0.26", default-features = false, features = ["serde"]} 27crossterm = {version = "0.28", default-features = false, features = ["serde"]}
29viuer = {version = "0.6", default-features = false, optional = true} 28viuer = {version = "0.7", default-features = false, optional = true}
30home = "0.5" 29home = "0.5"
31chrono = {version = "0.4", default-features = false, features = ["clock"]} 30chrono = {version = "0.4", default-features = false, features = ["clock"]}
32typemap = {version = "0.3", default-features = false} 31typemap = {version = "0.3", default-features = false}
33tui-additions = {version = "0.2.1", default-features = false, features = ["framework", "widgets"]} 32tui-additions = {version = "0.3", default-features = false, features = ["framework", "widgets"]}
34invidious = {version = "0.5"} 33invidious = {version = "0.7"}
35serde_yaml = {version = "0.9", default-features = false} 34serde_yaml_ng = {version = "0.9", default-features = false}
36dyn-clone = {version = "1.0", default-features = false} 35dyn-clone = {version = "1.0", default-features = false}
37serde_json = {version = "1.0", default-features = false} 36serde_json = {version = "1.0", default-features = false}
38clipboard = {version = "0.5", optional = true} 37clipboard = {version = "0.5", optional = true}
39urlencoding = "2.1" 38urlencoding = "2.1"
40ratatui = {version = "0.21", default-features = false, features = ["serde"]} 39ratatui = {version = "0.28", default-features = false, features = ["serde"]}
41unicode-segmentation = "1" 40unicode-segmentation = "1"
42libmpv-sirno = { version = "2.0.2-fork.1", optional = true } 41libmpv-sirno = { version = "2.0.2-fork.1", optional = true }
43 42
src/config/appearance.rs +1 −1
@@ -64,7 +64,7 @@ impl AppearanceConfig {
64 .truncate(true) 64 .truncate(true)
65 .open(&config_path)?; 65 .open(&config_path)?;
66 66
67 file.write_all(serde_yaml::to_string(&default)?.as_bytes())?; 67 file.write_all(serde_yaml_ng::to_string(&default)?.as_bytes())?;
68 68
69 match Self::from(default) { 69 match Self::from(default) {
70 Some(appearance) => Ok(appearance), 70 Some(appearance) => Ok(appearance),
src/config/keybindings.rs +1 −1
@@ -200,7 +200,7 @@ impl KeyBindingsConfig {
200 .truncate(true) 200 .truncate(true)
201 .open(&config_path)?; 201 .open(&config_path)?;
202 202
203 file.write_all(serde_yaml::to_string(&default)?.as_bytes())?; 203 file.write_all(serde_yaml_ng::to_string(&default)?.as_bytes())?;
204 204
205 match default.into() { 205 match default.into() {
206 Some(keybindings) => Ok(keybindings), 206 Some(keybindings) => Ok(keybindings),
src/config/remap.rs +1 −1
@@ -112,7 +112,7 @@ impl RemapConfig {
112 .truncate(true) 112 .truncate(true)
113 .open(&config_path)?; 113 .open(&config_path)?;
114 114
115 file.write_all(serde_yaml::to_string(&default)?.as_bytes())?; 115 file.write_all(serde_yaml_ng::to_string(&default)?.as_bytes())?;
116 116
117 match default.into() { 117 match default.into() {
118 Some(keybindings) => Ok(keybindings), 118 Some(keybindings) => Ok(keybindings),
src/config/search.rs +2 −2
@@ -34,12 +34,12 @@ impl ToString for Search {
34 fn to_string(&self) -> String { 34 fn to_string(&self) -> String {
35 format!( 35 format!(
36 "{}&page={}", 36 "{}&page={}",
37 vec![ 37 [
38 format!("q={}", encode(&self.query)), 38 format!("q={}", encode(&self.query)),
39 self.filters.sort.as_url_string(), 39 self.filters.sort.as_url_string(),
40 self.filters.date.as_url_string(), 40 self.filters.date.as_url_string(),
41 self.filters.duration.as_url_string(), 41 self.filters.duration.as_url_string(),
42 self.filters.r#type.as_url_string(), 42 self.filters.r#type.as_url_string()
43 ] 43 ]
44 .join("&"), 44 .join("&"),
45 self.page 45 self.page
src/global/functions/date_text.rs +3 −3
@@ -1,9 +1,9 @@
1use chrono::{Datelike, NaiveDateTime}; 1use chrono::{DateTime, Datelike};
2 2
3/// Convert timestamp into `DD/MM/YYYY` 3/// Convert timestamp into `DD/MM/YYYY`
4pub fn date_text(timestamp: u64) -> String { 4pub 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)
6 .unwrap() 6 .unwrap()
7 .date(); 7 .date_naive();
8 format!("{}/{}/{}", date.day(), date.month(), date.year()) 8 format!("{}/{}/{}", date.day(), date.month(), date.year())
9} 9}
src/global/functions/run_command.rs +1 −1
@@ -444,7 +444,7 @@ pub fn run_single_command(
444 ["key", keycode, modifier] => { 444 ["key", keycode, modifier] => {
445 let (keycodeserde, modifier) = 445 let (keycodeserde, modifier) =
446 match (|| -> Result<(KeyCodeSerde, u8), Box<dyn Error>> { 446 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()?))
448 })() { 448 })() {
449 Ok(stuff) => stuff, 449 Ok(stuff) => stuff,
450 Err(e) => { 450 Err(e) => {
src/global/functions/singleitem_load.rs +2 −2
@@ -1,5 +1,5 @@
1use crate::{config::MainConfig, global::functions::download_all_images, global::structs::Item}; 1use crate::{config::MainConfig, global::functions::download_all_images, global::structs::Item};
2use invidious::ClientSync; 2use invidious::{ClientSync, ClientSyncTrait};
3use std::error::Error; 3use std::error::Error;
4 4
5pub fn load_playlist( 5pub fn load_playlist(
@@ -13,7 +13,7 @@ pub fn load_playlist(
13 if mainconfig.images.display() { 13 if mainconfig.images.display() {
14 download_all_images({ 14 download_all_images({
15 let mut items = videos.iter().map(|item| item.into()).collect::<Vec<_>>(); 15 let mut items = videos.iter().map(|item| item.into()).collect::<Vec<_>>();
16 items.extend([(&playlist).into()].into_iter()); 16 items.extend([(&playlist).into()]);
17 items 17 items
18 }); 18 });
19 } 19 }
src/global/structs/item.rs +41 −118
@@ -1,5 +1,8 @@
1use crate::global::{functions::*, traits::CollectionItem}; 1use 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};
3use serde::{Deserialize, Serialize}; 6use serde::{Deserialize, Serialize};
4use std::fmt::Display; 7use std::fmt::Display;
5 8
@@ -18,7 +21,7 @@ pub enum Item {
18 FullPlaylist(FullPlaylistItem), 21 FullPlaylist(FullPlaylistItem),
19 FullChannel(FullChannelItem), 22 FullChannel(FullChannelItem),
20 Page(bool), // true: next false: prev 23 Page(bool), // true: next false: prev
21 Unknown(SearchItemTransition), 24 // Unknown(SearchItemTransition),
22} 25}
23 26
24impl CollectionItem for Item { 27impl CollectionItem for Item {
@@ -159,8 +162,7 @@ impl Display for Item {
159 } else { 162 } else {
160 "Previous page" 163 "Previous page"
161 } 164 }
162 } 165 } // Self::Unknown(_) => "Unknown item",
163 Self::Unknown(_) => "Unknown item",
164 }) 166 })
165 } 167 }
166} 168}
@@ -175,14 +177,9 @@ impl Item {
175 | Self::FullVideo(FullVideoItem { id, .. }) 177 | Self::FullVideo(FullVideoItem { id, .. })
176 | Self::FullChannel(FullChannelItem { id, .. }) 178 | Self::FullChannel(FullChannelItem { id, .. })
177 | Self::FullPlaylist(FullPlaylistItem { id, .. }) => Some(id), 179 | Self::FullPlaylist(FullPlaylistItem { id, .. }) => Some(id),
178 Self::Unknown(_) | Self::Page(_) => None, 180 Self::Page(_) => None,
179 } 181 }
180 } 182 }
181
182 /// check if self is Self::Unknown
183 pub fn is_unknown(&self) -> bool {
184 matches!(self, Self::Unknown(_))
185 }
186} 183}
187 184
188impl Item { 185impl Item {
@@ -294,16 +291,16 @@ impl Item {
294 Self::FullVideo(video) => &video.id, 291 Self::FullVideo(video) => &video.id,
295 Self::FullPlaylist(playlist) => &playlist.id, 292 Self::FullPlaylist(playlist) => &playlist.id,
296 Self::FullChannel(channel) => &channel.id, 293 Self::FullChannel(channel) => &channel.id,
297 Self::Unknown(_) | Self::Page(_) => "invalid", 294 Self::Page(_) => "invalid",
298 } 295 }
299 } 296 }
300 297
301 /// parse `TrendingVideo` into `Self` 298 /// parse `CommonVideo` into `Self`
302 pub fn from_trending_video(original: TrendingVideo, image_index: usize) -> Self { 299 pub fn from_common_video(original: CommonVideo, image_index: usize) -> Self {
303 Self::MiniVideo(MiniVideoItem { 300 Self::MiniVideo(MiniVideoItem {
304 title: original.title, 301 title: original.title,
305 id: original.id, 302 id: original.id,
306 thumbnail_url: original.thumbmails[image_index].url.clone(), 303 thumbnail_url: original.thumbnails[image_index].url.clone(),
307 length: secs_display_string(original.length), 304 length: secs_display_string(original.length),
308 views: Some(viewcount_text(original.views)), 305 views: Some(viewcount_text(original.views)),
309 channel: original.author, 306 channel: original.author,
@@ -318,6 +315,31 @@ impl Item {
318 }) 315 })
319 } 316 }
320 317
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
321 /// parse `PopularItem` into `Self` 343 /// parse `PopularItem` into `Self`
322 pub fn from_popular_item(original: PopularItem, image_index: usize) -> Self { 344 pub fn from_popular_item(original: PopularItem, image_index: usize) -> Self {
323 Self::MiniVideo(MiniVideoItem { 345 Self::MiniVideo(MiniVideoItem {
@@ -338,79 +360,12 @@ impl Item {
338 }) 360 })
339 } 361 }
340 362
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
353 /// parse `SearchItem` into `Self` 363 /// parse `SearchItem` into `Self`
354 pub fn from_search_item(original: SearchItem, image_index: usize) -> Self { 364 pub fn from_search_item(original: SearchItem, image_index: usize) -> Self {
355 match original { 365 match original {
356 SearchItem::Video { 366 SearchItem::Video(vid) => Self::from_common_video(vid, image_index),
357 title, 367 SearchItem::Channel(chan) => Self::from_common_channel(chan, image_index),
358 id, 368 SearchItem::Playlist(list) => Self::from_common_playlist(list),
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),
414 } 369 }
415 } 370 }
416 371
@@ -477,44 +432,12 @@ impl Item {
477 name: original.name, 432 name: original.name,
478 id: original.id, 433 id: original.id,
479 thumbnail_url: original.thumbnails[image_index].url.clone(), 434 thumbnail_url: original.thumbnails[image_index].url.clone(),
480 sub_count: original.sub_count, 435 sub_count: original.subscribers,
481 sub_count_text: viewcount_text(original.sub_count as u64), 436 sub_count_text: viewcount_text(original.subscribers as u64),
482 total_views: viewcount_text(original.total_views), 437 total_views: viewcount_text(original.total_views),
483 created: date_text(original.joined), 438 created: date_text(original.joined),
484 autogenerated: original.auto_generated, 439 autogenerated: original.auto_generated,
485 description: original.description, 440 description: original.description,
486 }) 441 })
487 } 442 }
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 }
520} 443}
src/global/structs/subscriptions.rs +2 −1
@@ -8,6 +8,7 @@ use crate::{
8}; 8};
9use chrono::Utc; 9use chrono::Utc;
10use home::home_dir; 10use home::home_dir;
11use invidious::ClientSyncTrait;
11use serde::*; 12use serde::*;
12use std::{ 13use std::{
13 error::Error, 14 error::Error,
@@ -210,7 +211,7 @@ fn sync_one(
210 .videos 211 .videos
211 .into_iter() 212 .into_iter()
212 .map(|video| { 213 .map(|video| {
213 Item::from_channel_video(video, image_index) 214 Item::from_common_video(video, image_index)
214 .into_minivideo() 215 .into_minivideo()
215 .unwrap() 216 .unwrap()
216 }) 217 })
src/global/structs/tasks.rs +5 −11
@@ -231,18 +231,15 @@ impl TaskQueue {
231 231
232 pub fn render_onlys_with_frame( 232 pub fn render_onlys_with_frame(
233 framework: &mut Framework, 233 framework: &mut Framework,
234 frame: &mut Frame<CrosstermBackend<Stdout>>, 234 frame: &mut Frame,
235 locations: Vec<(usize, usize)>, 235 locations: Vec<(usize, usize)>,
236 ) { 236 ) {
237 framework.render_only_multiple(frame, &locations); 237 framework.render_only_multiple(frame, &locations);
238 } 238 }
239 239
240 /// this function renders onto the given frame 240 /// this function renders onto the given frame
241 pub fn render_with_frame( 241 pub fn render_with_frame(framework: &mut Framework, frame: &mut Frame) {
242 framework: &mut Framework, 242 let area = frame.area();
243 frame: &mut Frame<CrosstermBackend<Stdout>>,
244 ) {
245 let area = frame.size();
246 243
247 framework 244 framework
248 .data 245 .data
@@ -290,12 +287,9 @@ impl TaskQueue {
290 // } 287 // }
291 288
292 /// this function renders onto the given frame 289 /// this function renders onto the given frame
293 pub fn protective_screen( 290 pub fn protective_screen(framework: &mut Framework, frame: &mut Frame) -> bool {
294 framework: &mut Framework,
295 frame: &mut Frame<CrosstermBackend<Stdout>>,
296 ) -> bool {
297 let min_dimentions = framework.data.state.get::<MinDimentions>().unwrap(); 291 let min_dimentions = framework.data.state.get::<MinDimentions>().unwrap();
298 let area = frame.size(); 292 let area = frame.area();
299 293
300 // if the minimum width and height is not meet, then displays a "protective screen" to prevent panicking 294 // if the minimum width and height is not meet, then displays a "protective screen" to prevent panicking
301 if area.width < min_dimentions.width || area.height < min_dimentions.height { 295 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 {
31 Err(_) => return Ok(Self::default()), 31 Err(_) => return Ok(Self::default()),
32 }; 32 };
33 33
34 match serde_yaml::from_str::<Self>(&content) { 34 match serde_yaml_ng::from_str::<Self>(&content) {
35 Ok(config) => Ok(config), 35 Ok(config) => Ok(config),
36 // If there is error parsing the json file, create a backup with current time and returns 36 // If there is error parsing the json file, create a backup with current time and returns
37 // Self::default() 37 // Self::default()
@@ -61,7 +61,7 @@ pub trait ConfigTrait {
61 .create(true) 61 .create(true)
62 .truncate(true) 62 .truncate(true)
63 .open(&config_path)?; 63 .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())?
65 } 65 }
66 WriteConfig::Try => { 66 WriteConfig::Try => {
67 if let Ok(mut file) = OpenOptions::new() 67 if let Ok(mut file) = OpenOptions::new()
@@ -70,7 +70,7 @@ pub trait ConfigTrait {
70 .truncate(true) 70 .truncate(true)
71 .open(&config_path) 71 .open(&config_path)
72 { 72 {
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());
74 } 74 }
75 } 75 }
76 WriteConfig::Dont => {} 76 WriteConfig::Dont => {}
src/items/channeldisplay.rs +4 −3
@@ -3,6 +3,7 @@ use crate::{
3 config::*, 3 config::*,
4 global::{functions::*, structs::*}, 4 global::{functions::*, structs::*},
5}; 5};
6use invidious::ClientSyncTrait;
6use ratatui::{ 7use ratatui::{
7 layout::{Constraint, Rect}, 8 layout::{Constraint, Rect},
8 style::Style, 9 style::Style,
@@ -225,7 +226,7 @@ impl ChannelDisplay {
225impl FrameworkItem for ChannelDisplay { 226impl FrameworkItem for ChannelDisplay {
226 fn render( 227 fn render(
227 &mut self, 228 &mut self,
228 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 229 frame: &mut ratatui::Frame,
229 framework: &mut tui_additions::framework::FrameworkClean, 230 framework: &mut tui_additions::framework::FrameworkClean,
230 area: ratatui::layout::Rect, 231 area: ratatui::layout::Rect,
231 popup_render: bool, 232 popup_render: bool,
@@ -435,7 +436,7 @@ impl FrameworkItem for ChannelDisplay {
435 .channel_videos(&page.id, None)? 436 .channel_videos(&page.id, None)?
436 .videos 437 .videos
437 .into_iter() 438 .into_iter()
438 .map(|video| Item::from_channel_video(video, mainconfig.image_index)) 439 .map(|video| Item::from_common_video(video, mainconfig.image_index))
439 .collect::<Vec<_>>(); 440 .collect::<Vec<_>>();
440 if mainconfig.images.display() { 441 if mainconfig.images.display() {
441 download_all_images(videos.iter().map(|item| item.into()).collect()); 442 download_all_images(videos.iter().map(|item| item.into()).collect());
@@ -465,7 +466,7 @@ impl FrameworkItem for ChannelDisplay {
465 .channel_playlists(&page.id, None)? 466 .channel_playlists(&page.id, None)?
466 .playlists 467 .playlists
467 .into_iter() 468 .into_iter()
468 .map(Item::from_channel_playlist) 469 .map(Item::from_common_playlist)
469 .collect::<Vec<_>>(); 470 .collect::<Vec<_>>();
470 if mainconfig.images.display() { 471 if mainconfig.images.display() {
471 download_all_images(playlists.iter().map(|item| item.into()).collect()); 472 download_all_images(playlists.iter().map(|item| item.into()).collect());
src/items/channellist.rs +1 −1
@@ -146,7 +146,7 @@ impl FrameworkItem for ChannelList {
146 146
147 fn render( 147 fn render(
148 &mut self, 148 &mut self,
149 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 149 frame: &mut ratatui::Frame,
150 framework: &mut tui_additions::framework::FrameworkClean, 150 framework: &mut tui_additions::framework::FrameworkClean,
151 area: ratatui::layout::Rect, 151 area: ratatui::layout::Rect,
152 popup_render: bool, 152 popup_render: bool,
src/items/iteminfo.rs +12 −12
@@ -19,9 +19,9 @@ pub struct ItemInfo {
19impl FrameworkItem for ItemInfo { 19impl FrameworkItem for ItemInfo {
20 fn render( 20 fn render(
21 &mut self, 21 &mut self,
22 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 22 frame: &mut ratatui::Frame,
23 framework: &mut tui_additions::framework::FrameworkClean, 23 framework: &mut tui_additions::framework::FrameworkClean,
24 area: ratatui::layout::Rect, 24 area: Rect,
25 popup_render: bool, 25 popup_render: bool,
26 _info: tui_additions::framework::ItemInfo, 26 _info: tui_additions::framework::ItemInfo,
27 ) { 27 ) {
@@ -318,16 +318,16 @@ impl FrameworkItem for ItemInfo {
318 Style::default().fg(appearance.colors.item_info.description), 318 Style::default().fg(appearance.colors.item_info.description),
319 )), 319 )),
320 ), 320 ),
321 Item::Unknown(searchitem_transitional) => ( 321 // Item::Unknown(searchitem_transitional) => (
322 vec![( 322 // vec![(
323 format!("Unknown type `{}`", searchitem_transitional.r#type), 323 // format!("Unknown type `{}`", searchitem_transitional.r#type),
324 Style::default().fg(appearance.colors.text_error), 324 // Style::default().fg(appearance.colors.text_error),
325 )], 325 // )],
326 Some(( 326 // Some((
327 serde_json::to_string(&searchitem_transitional).unwrap(), 327 // serde_json::to_string(&searchitem_transitional).unwrap(),
328 Style::default().fg(appearance.colors.item_info.description), 328 // Style::default().fg(appearance.colors.item_info.description),
329 )), 329 // )),
330 ), 330 // ),
331 Item::Page(b) => ( 331 Item::Page(b) => (
332 vec![( 332 vec![(
333 if *b { "Next page" } else { "Previous page" }.to_string(), 333 if *b { "Next page" } else { "Previous page" }.to_string(),
src/items/itemlist.rs +29 −28
@@ -6,6 +6,7 @@ use crate::{
6 items::ItemInfo, 6 items::ItemInfo,
7}; 7};
8use home::home_dir; 8use home::home_dir;
9use invidious::ClientSyncTrait;
9use ratatui::{ 10use ratatui::{
10 layout::{Constraint, Rect}, 11 layout::{Constraint, Rect},
11 style::Style, 12 style::Style,
@@ -75,7 +76,7 @@ impl ItemList {
75 ), 76 ),
76 )] 77 )]
77 } 78 }
78 Item::Page(_) | Item::Unknown(_) => { 79 Item::Page(_) => {
79 vec![(String::from("hover-url"), String::from("not avaliable"))] 80 vec![(String::from("hover-url"), String::from("not avaliable"))]
80 } 81 }
81 } 82 }
@@ -136,18 +137,18 @@ impl ItemList {
136 } 137 }
137 Item::MiniChannel(MiniChannelItem { id: _id, .. }) 138 Item::MiniChannel(MiniChannelItem { id: _id, .. })
138 | Item::FullChannel(FullChannelItem { id: _id, .. }) => todo!(), 139 | Item::FullChannel(FullChannelItem { id: _id, .. }) => todo!(),
139 Item::Unknown(_) => { 140 // Item::Unknown(_) => {
140 *framework.data.global.get_mut::<Message>().unwrap() = 141 // *framework.data.global.get_mut::<Message>().unwrap() =
141 Message::Message(String::from("Unknown item")); 142 // Message::Message(String::from("Unknown item"));
142 framework 143 // framework
143 .data 144 // .data
144 .state 145 // .state
145 .get_mut::<Tasks>() 146 // .get_mut::<Tasks>()
146 .unwrap() 147 // .unwrap()
147 .priority 148 // .priority
148 .push(Task::RenderAll); 149 // .push(Task::RenderAll);
149 None 150 // None
150 } 151 // }
151 Item::Page(b) => match framework.data.state.get::<Page>().unwrap() { 152 Item::Page(b) => match framework.data.state.get::<Page>().unwrap() {
152 Page::Search(search) => Some(Page::Search(Search { 153 Page::Search(search) => Some(Page::Search(Search {
153 page: if *b { search.page + 1 } else { search.page - 1 }, 154 page: if *b { search.page + 1 } else { search.page - 1 },
@@ -173,18 +174,18 @@ impl ItemList {
173 r#type: ChannelDisplayPageType::Main, 174 r#type: ChannelDisplayPageType::Main,
174 })) 175 }))
175 } 176 }
176 Item::Unknown(_) => { 177 // Item::Unknown(_) => {
177 *framework.data.global.get_mut::<Message>().unwrap() = 178 // *framework.data.global.get_mut::<Message>().unwrap() =
178 Message::Message(String::from("Unknown item")); 179 // Message::Message(String::from("Unknown item"));
179 framework 180 // framework
180 .data 181 // .data
181 .state 182 // .state
182 .get_mut::<Tasks>() 183 // .get_mut::<Tasks>()
183 .unwrap() 184 // .unwrap()
184 .priority 185 // .priority
185 .push(Task::RenderAll); 186 // .push(Task::RenderAll);
186 None 187 // None
187 } 188 // }
188 Item::Page(b) => match framework.data.state.get::<Page>().unwrap() { 189 Item::Page(b) => match framework.data.state.get::<Page>().unwrap() {
189 Page::Search(search) => Some(Page::Search(Search { 190 Page::Search(search) => Some(Page::Search(Search {
190 page: if *b { search.page + 1 } else { search.page - 1 }, 191 page: if *b { search.page + 1 } else { search.page - 1 },
@@ -225,7 +226,7 @@ impl Default for ItemList {
225impl FrameworkItem for ItemList { 226impl FrameworkItem for ItemList {
226 fn render( 227 fn render(
227 &mut self, 228 &mut self,
228 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 229 frame: &mut ratatui::Frame,
229 framework: &mut tui_additions::framework::FrameworkClean, 230 framework: &mut tui_additions::framework::FrameworkClean,
230 area: ratatui::layout::Rect, 231 area: ratatui::layout::Rect,
231 popup_render: bool, 232 popup_render: bool,
@@ -298,7 +299,7 @@ impl FrameworkItem for ItemList {
298 .trending(None)? 299 .trending(None)?
299 .videos 300 .videos
300 .into_iter() 301 .into_iter()
301 .map(|item| Item::from_trending_video(item, image_index)) 302 .map(|item| Item::from_common_video(item, image_index))
302 .collect(); 303 .collect();
303 } 304 }
304 Page::MainMenu(MainMenuPage::Popular) => { 305 Page::MainMenu(MainMenuPage::Popular) => {
@@ -503,7 +504,7 @@ impl ItemList {
503 return; 504 return;
504 } 505 }
505 506
506 if matches!(selected, Some(Item::Page(_)) | Some(Item::Unknown(_))) { 507 if matches!(selected, Some(Item::Page(_))) {
507 framework 508 framework
508 .data 509 .data
509 .global 510 .global
src/items/messagebar.rs +1 −1
@@ -15,7 +15,7 @@ pub struct MessageBar;
15impl FrameworkItem for MessageBar { 15impl FrameworkItem for MessageBar {
16 fn render( 16 fn render(
17 &mut self, 17 &mut self,
18 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 18 frame: &mut ratatui::Frame,
19 framework: &mut tui_additions::framework::FrameworkClean, 19 framework: &mut tui_additions::framework::FrameworkClean,
20 area: ratatui::layout::Rect, 20 area: ratatui::layout::Rect,
21 popup_render: bool, 21 popup_render: bool,
src/items/pagebutton.rs +1 −1
@@ -81,7 +81,7 @@ impl FrameworkItem for PageButton {
81 // it is basically a paragraph (text) with borders 81 // it is basically a paragraph (text) with borders
82 fn render( 82 fn render(
83 &mut self, 83 &mut self,
84 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 84 frame: &mut ratatui::Frame,
85 framework: &mut tui_additions::framework::FrameworkClean, 85 framework: &mut tui_additions::framework::FrameworkClean,
86 area: ratatui::layout::Rect, 86 area: ratatui::layout::Rect,
87 popup_render: bool, 87 popup_render: bool,
src/items/searchbar.rs +1 −1
@@ -29,7 +29,7 @@ impl FrameworkItem for SearchBar {
29 // basically is a TextField with borders 29 // basically is a TextField with borders
30 fn render( 30 fn render(
31 &mut self, 31 &mut self,
32 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 32 frame: &mut ratatui::Frame,
33 framework: &mut tui_additions::framework::FrameworkClean, 33 framework: &mut tui_additions::framework::FrameworkClean,
34 area: ratatui::layout::Rect, 34 area: ratatui::layout::Rect,
35 popup_render: bool, 35 popup_render: bool,
src/items/searchfilters.rs +2 −2
@@ -82,14 +82,14 @@ impl SearchFilter {
82impl FrameworkItem for SearchFilter { 82impl FrameworkItem for SearchFilter {
83 fn render( 83 fn render(
84 &mut self, 84 &mut self,
85 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 85 frame: &mut ratatui::Frame,
86 framework: &mut tui_additions::framework::FrameworkClean, 86 framework: &mut tui_additions::framework::FrameworkClean,
87 area: ratatui::layout::Rect, 87 area: ratatui::layout::Rect,
88 popup_render: bool, 88 popup_render: bool,
89 info: tui_additions::framework::ItemInfo, 89 info: tui_additions::framework::ItemInfo,
90 ) { 90 ) {
91 if popup_render && info.selected { 91 if popup_render && info.selected {
92 let frame_area = frame.size(); 92 let frame_area = frame.area();
93 let (area, success) = match popup_area( 93 let (area, success) = match popup_area(
94 (POPUP_WIDTH_PERCENTAGE, POPOUP_HEIGHT_PERCENTAGE), 94 (POPUP_WIDTH_PERCENTAGE, POPOUP_HEIGHT_PERCENTAGE),
95 (POPUP_MIN_WIDTH, POPUP_MIN_HEIGHT), 95 (POPUP_MIN_WIDTH, POPUP_MIN_HEIGHT),
src/items/singleitem.rs +10 −34
@@ -67,23 +67,9 @@ impl SingleVideoItem {
67 pub fn new(commands: &CommandsConfig, mainconfig: &MainConfig, id: &str) -> Self { 67 pub fn new(commands: &CommandsConfig, mainconfig: &MainConfig, id: &str) -> Self {
68 let saved = find_library_item(id, mainconfig).is_some(); 68 let saved = find_library_item(id, mainconfig).is_some();
69 if saved { 69 if saved {
70 Self::new_with_map( 70 Self::new_with_map(commands.saved_video.clone().into_iter().collect())
71 commands
72 .saved_video
73 .clone()
74 .into_iter()
75 .map(|(display, command)| (display, command))
76 .collect(),
77 )
78 } else { 71 } else {
79 Self::new_with_map( 72 Self::new_with_map(commands.video.clone().into_iter().collect())
80 commands
81 .video
82 .clone()
83 .into_iter()
84 .map(|(display, command)| (display, command))
85 .collect(),
86 )
87 } 73 }
88 } 74 }
89 75
@@ -199,22 +185,12 @@ impl SinglePlaylistItem {
199 let saved = find_library_item(id, mainconfig).is_some(); 185 let saved = find_library_item(id, mainconfig).is_some();
200 if saved { 186 if saved {
201 Self::new_with_map( 187 Self::new_with_map(
202 commands 188 commands.saved_playlist.clone().into_iter().collect(),
203 .saved_playlist
204 .clone()
205 .into_iter()
206 .map(|(display, command)| (display, command))
207 .collect(),
208 playlist_items, 189 playlist_items,
209 ) 190 )
210 } else { 191 } else {
211 Self::new_with_map( 192 Self::new_with_map(
212 commands 193 commands.playlist.clone().into_iter().collect(),
213 .playlist
214 .clone()
215 .into_iter()
216 .map(|(display, command)| (display, command))
217 .collect(),
218 playlist_items, 194 playlist_items,
219 ) 195 )
220 } 196 }
@@ -557,9 +533,9 @@ impl SingleItem {
557impl FrameworkItem for SingleItem { 533impl FrameworkItem for SingleItem {
558 fn render( 534 fn render(
559 &mut self, 535 &mut self,
560 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 536 frame: &mut ratatui::Frame,
561 framework: &mut tui_additions::framework::FrameworkClean, 537 framework: &mut FrameworkClean,
562 area: ratatui::layout::Rect, 538 area: Rect,
563 popup_render: bool, 539 popup_render: bool,
564 info: tui_additions::framework::ItemInfo, 540 info: tui_additions::framework::ItemInfo,
565 ) { 541 ) {
@@ -738,9 +714,9 @@ impl FrameworkItem for SingleItem {
738 self.iteminfo.item = self.item.clone(); 714 self.iteminfo.item = self.item.clone();
739 715
740 if let Some(item) = &self.item { 716 if let Some(item) = &self.item {
741 if item.is_unknown() { 717 // if item.is_unknown() {
742 return Ok(()); 718 // return Ok(());
743 } 719 // }
744 720
745 let item = item.clone(); 721 let item = item.clone();
746 // push to watch history 722 // push to watch history
src/items/videolist.rs +1 −1
@@ -244,7 +244,7 @@ impl FrameworkItem for VideoList {
244 244
245 fn render( 245 fn render(
246 &mut self, 246 &mut self,
247 frame: &mut ratatui::Frame<ratatui::backend::CrosstermBackend<std::io::Stdout>>, 247 frame: &mut ratatui::Frame,
248 framework: &mut tui_additions::framework::FrameworkClean, 248 framework: &mut tui_additions::framework::FrameworkClean,
249 area: ratatui::layout::Rect, 249 area: ratatui::layout::Rect,
250 popup_render: bool, 250 popup_render: bool,