Commit bb22983de1

bb22983de16cf0c0bb9a5cad615d39112c687297

parent: a7e790037a

Unsigned

Siriusmart <71584876+Siriusmart@users.noreply.github.com> · 2023-04-29 17:06 UTC

better config loading (issue 29)

Layout: unified · split

Cargo.lock +317 −203
@@ -64,15 +64,15 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
6464
6565[[package]]
6666name = "bumpalo"
67version = "3.12.0"
67version = "3.12.1"
6868source = "registry+https://github.com/rust-lang/crates.io-index"
69checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
69checksum = "9b1ce199063694f33ffb7dd4e0ee620741495c32833cde5aa08f02a0bf96f0c8"
7070
7171[[package]]
7272name = "bytemuck"
73version = "1.13.0"
73version = "1.13.1"
7474source = "registry+https://github.com/rust-lang/crates.io-index"
75checksum = "c041d3eab048880cb0b86b256447da3f18859a163c3b8d8893f4e6368abe6393"
75checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
7676
7777[[package]]
7878name = "byteorder"
@@ -106,9 +106,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
106106
107107[[package]]
108108name = "chrono"
109version = "0.4.23"
109version = "0.4.24"
110110source = "registry+https://github.com/rust-lang/crates.io-index"
111checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f"
111checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b"
112112dependencies = [
113113 "iana-time-zone",
114114 "num-integer",
@@ -178,9 +178,9 @@ dependencies = [
178178
179179[[package]]
180180name = "core-foundation-sys"
181version = "0.8.3"
181version = "0.8.4"
182182source = "registry+https://github.com/rust-lang/crates.io-index"
183checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
183checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
184184
185185[[package]]
186186name = "crc32fast"
@@ -193,9 +193,9 @@ dependencies = [
193193
194194[[package]]
195195name = "crossbeam-channel"
196version = "0.5.6"
196version = "0.5.8"
197197source = "registry+https://github.com/rust-lang/crates.io-index"
198checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
198checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
199199dependencies = [
200200 "cfg-if",
201201 "crossbeam-utils",
@@ -203,9 +203,9 @@ dependencies = [
203203
204204[[package]]
205205name = "crossbeam-deque"
206version = "0.8.2"
206version = "0.8.3"
207207source = "registry+https://github.com/rust-lang/crates.io-index"
208checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
208checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
209209dependencies = [
210210 "cfg-if",
211211 "crossbeam-epoch",
@@ -214,9 +214,9 @@ dependencies = [
214214
215215[[package]]
216216name = "crossbeam-epoch"
217version = "0.9.13"
217version = "0.9.14"
218218source = "registry+https://github.com/rust-lang/crates.io-index"
219checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a"
219checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695"
220220dependencies = [
221221 "autocfg",
222222 "cfg-if",
@@ -227,9 +227,9 @@ dependencies = [
227227
228228[[package]]
229229name = "crossbeam-utils"
230version = "0.8.14"
230version = "0.8.15"
231231source = "registry+https://github.com/rust-lang/crates.io-index"
232checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
232checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b"
233233dependencies = [
234234 "cfg-if",
235235]
@@ -252,9 +252,9 @@ dependencies = [
252252
253253[[package]]
254254name = "crossterm"
255version = "0.26.0"
255version = "0.26.1"
256256source = "registry+https://github.com/rust-lang/crates.io-index"
257checksum = "77f67c7faacd4db07a939f55d66a983a5355358a1f17d32cc9a8d01d1266b9ce"
257checksum = "a84cda67535339806297f1b331d6dd6320470d2a0fe65381e79ee9e156dd3d13"
258258dependencies = [
259259 "bitflags",
260260 "crossterm_winapi",
@@ -284,9 +284,9 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
284284
285285[[package]]
286286name = "cxx"
287version = "1.0.91"
287version = "1.0.94"
288288source = "registry+https://github.com/rust-lang/crates.io-index"
289checksum = "86d3488e7665a7a483b57e25bdd90d0aeb2bc7608c8d0346acf2ad3f1caf1d62"
289checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93"
290290dependencies = [
291291 "cc",
292292 "cxxbridge-flags",
@@ -296,9 +296,9 @@ dependencies = [
296296
297297[[package]]
298298name = "cxx-build"
299version = "1.0.91"
299version = "1.0.94"
300300source = "registry+https://github.com/rust-lang/crates.io-index"
301checksum = "48fcaf066a053a41a81dfb14d57d99738b767febb8b735c3016e469fac5da690"
301checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b"
302302dependencies = [
303303 "cc",
304304 "codespan-reporting",
@@ -306,31 +306,31 @@ dependencies = [
306306 "proc-macro2",
307307 "quote",
308308 "scratch",
309 "syn",
309 "syn 2.0.15",
310310]
311311
312312[[package]]
313313name = "cxxbridge-flags"
314version = "1.0.91"
314version = "1.0.94"
315315source = "registry+https://github.com/rust-lang/crates.io-index"
316checksum = "a2ef98b8b717a829ca5603af80e1f9e2e48013ab227b68ef37872ef84ee479bf"
316checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb"
317317
318318[[package]]
319319name = "cxxbridge-macro"
320version = "1.0.91"
320version = "1.0.94"
321321source = "registry+https://github.com/rust-lang/crates.io-index"
322checksum = "086c685979a698443656e5cf7856c95c642295a38599f12fb1ff76fb28d19892"
322checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5"
323323dependencies = [
324324 "proc-macro2",
325325 "quote",
326 "syn",
326 "syn 2.0.15",
327327]
328328
329329[[package]]
330330name = "dyn-clone"
331version = "1.0.10"
331version = "1.0.11"
332332source = "registry+https://github.com/rust-lang/crates.io-index"
333checksum = "c9b0705efd4599c15a38151f4721f7bc388306f61084d3bfd50bd07fbca5cb60"
333checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30"
334334
335335[[package]]
336336name = "either"
@@ -355,13 +355,13 @@ dependencies = [
355355
356356[[package]]
357357name = "errno"
358version = "0.2.8"
358version = "0.3.1"
359359source = "registry+https://github.com/rust-lang/crates.io-index"
360checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
360checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
361361dependencies = [
362362 "errno-dragonfly",
363363 "libc",
364 "winapi",
364 "windows-sys 0.48.0",
365365]
366366
367367[[package]]
@@ -376,17 +376,17 @@ dependencies = [
376376
377377[[package]]
378378name = "exr"
379version = "1.5.3"
379version = "1.6.3"
380380source = "registry+https://github.com/rust-lang/crates.io-index"
381checksum = "e8af5ef47e2ed89d23d0ecbc1b681b30390069de70260937877514377fc24feb"
381checksum = "bdd2162b720141a91a054640662d3edce3d50a944a50ffca5313cd951abb35b4"
382382dependencies = [
383383 "bit_field",
384384 "flume",
385385 "half",
386386 "lebe",
387 "miniz_oxide",
387 "miniz_oxide 0.6.2",
388 "rayon-core",
388389 "smallvec",
389 "threadpool",
390390 "zune-inflate",
391391]
392392
@@ -399,14 +399,23 @@ dependencies = [
399399 "instant",
400400]
401401
402[[package]]
403name = "fdeflate"
404version = "0.3.0"
405source = "registry+https://github.com/rust-lang/crates.io-index"
406checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10"
407dependencies = [
408 "simd-adler32",
409]
410
402411[[package]]
403412name = "flate2"
404version = "1.0.25"
413version = "1.0.26"
405414source = "registry+https://github.com/rust-lang/crates.io-index"
406checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841"
415checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743"
407416dependencies = [
408417 "crc32fast",
409 "miniz_oxide",
418 "miniz_oxide 0.7.1",
410419]
411420
412421[[package]]
@@ -454,9 +463,9 @@ dependencies = [
454463
455464[[package]]
456465name = "futures"
457version = "0.3.26"
466version = "0.3.28"
458467source = "registry+https://github.com/rust-lang/crates.io-index"
459checksum = "13e2792b0ff0340399d58445b88fd9770e3489eff258a4cbc1523418f12abf84"
468checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40"
460469dependencies = [
461470 "futures-channel",
462471 "futures-core",
@@ -468,9 +477,9 @@ dependencies = [
468477
469478[[package]]
470479name = "futures-channel"
471version = "0.3.26"
480version = "0.3.28"
472481source = "registry+https://github.com/rust-lang/crates.io-index"
473checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5"
482checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
474483dependencies = [
475484 "futures-core",
476485 "futures-sink",
@@ -478,33 +487,33 @@ dependencies = [
478487
479488[[package]]
480489name = "futures-core"
481version = "0.3.26"
490version = "0.3.28"
482491source = "registry+https://github.com/rust-lang/crates.io-index"
483checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608"
492checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
484493
485494[[package]]
486495name = "futures-io"
487version = "0.3.26"
496version = "0.3.28"
488497source = "registry+https://github.com/rust-lang/crates.io-index"
489checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531"
498checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
490499
491500[[package]]
492501name = "futures-sink"
493version = "0.3.26"
502version = "0.3.28"
494503source = "registry+https://github.com/rust-lang/crates.io-index"
495checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364"
504checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
496505
497506[[package]]
498507name = "futures-task"
499version = "0.3.26"
508version = "0.3.28"
500509source = "registry+https://github.com/rust-lang/crates.io-index"
501checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366"
510checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
502511
503512[[package]]
504513name = "futures-util"
505version = "0.3.26"
514version = "0.3.28"
506515source = "registry+https://github.com/rust-lang/crates.io-index"
507checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1"
516checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
508517dependencies = [
509518 "futures-core",
510519 "futures-io",
@@ -518,9 +527,9 @@ dependencies = [
518527
519528[[package]]
520529name = "getrandom"
521version = "0.2.8"
530version = "0.2.9"
522531source = "registry+https://github.com/rust-lang/crates.io-index"
523checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
532checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
524533dependencies = [
525534 "cfg-if",
526535 "js-sys",
@@ -531,9 +540,9 @@ dependencies = [
531540
532541[[package]]
533542name = "gif"
534version = "0.11.4"
543version = "0.12.0"
535544source = "registry+https://github.com/rust-lang/crates.io-index"
536checksum = "3edd93c6756b4dfaf2709eafcc345ba2636565295c198a9cfbf75fa5e3e00b06"
545checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"
537546dependencies = [
538547 "color_quant",
539548 "weezl",
@@ -541,9 +550,9 @@ dependencies = [
541550
542551[[package]]
543552name = "h2"
544version = "0.3.15"
553version = "0.3.18"
545554source = "registry+https://github.com/rust-lang/crates.io-index"
546checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4"
555checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21"
547556dependencies = [
548557 "bytes",
549558 "fnv",
@@ -582,13 +591,19 @@ dependencies = [
582591 "libc",
583592]
584593
594[[package]]
595name = "hermit-abi"
596version = "0.3.1"
597source = "registry+https://github.com/rust-lang/crates.io-index"
598checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"
599
585600[[package]]
586601name = "home"
587version = "0.5.4"
602version = "0.5.5"
588603source = "registry+https://github.com/rust-lang/crates.io-index"
589checksum = "747309b4b440c06d57b0b25f2aee03ee9b5e5397d288c60e21fc709bb98a7408"
604checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb"
590605dependencies = [
591 "winapi",
606 "windows-sys 0.48.0",
592607]
593608
594609[[package]]
@@ -627,9 +642,9 @@ checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
627642
628643[[package]]
629644name = "hyper"
630version = "0.14.24"
645version = "0.14.26"
631646source = "registry+https://github.com/rust-lang/crates.io-index"
632checksum = "5e011372fa0b68db8350aa7a248930ecc7839bf46d8485577d69f117a75f164c"
647checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4"
633648dependencies = [
634649 "bytes",
635650 "futures-channel",
@@ -664,16 +679,16 @@ dependencies = [
664679
665680[[package]]
666681name = "iana-time-zone"
667version = "0.1.53"
682version = "0.1.56"
668683source = "registry+https://github.com/rust-lang/crates.io-index"
669checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765"
684checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c"
670685dependencies = [
671686 "android_system_properties",
672687 "core-foundation-sys",
673688 "iana-time-zone-haiku",
674689 "js-sys",
675690 "wasm-bindgen",
676 "winapi",
691 "windows",
677692]
678693
679694[[package]]
@@ -698,9 +713,9 @@ dependencies = [
698713
699714[[package]]
700715name = "image"
701version = "0.24.5"
716version = "0.24.6"
702717source = "registry+https://github.com/rust-lang/crates.io-index"
703checksum = "69b7ea949b537b0fd0af141fff8c77690f2ce96f4f41f042ccb6c69c6c965945"
718checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a"
704719dependencies = [
705720 "bytemuck",
706721 "byteorder",
@@ -711,15 +726,15 @@ dependencies = [
711726 "num-rational",
712727 "num-traits",
713728 "png",
714 "scoped_threadpool",
729 "qoi",
715730 "tiff",
716731]
717732
718733[[package]]
719734name = "indexmap"
720version = "1.9.2"
735version = "1.9.3"
721736source = "registry+https://github.com/rust-lang/crates.io-index"
722checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399"
737checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
723738dependencies = [
724739 "autocfg",
725740 "hashbrown",
@@ -747,25 +762,26 @@ dependencies = [
747762
748763[[package]]
749764name = "io-lifetimes"
750version = "1.0.5"
765version = "1.0.10"
751766source = "registry+https://github.com/rust-lang/crates.io-index"
752checksum = "1abeb7a0dd0f8181267ff8adc397075586500b81b28a73e8a0208b00fc170fb3"
767checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220"
753768dependencies = [
769 "hermit-abi 0.3.1",
754770 "libc",
755 "windows-sys 0.45.0",
771 "windows-sys 0.48.0",
756772]
757773
758774[[package]]
759775name = "ipnet"
760version = "2.7.1"
776version = "2.7.2"
761777source = "registry+https://github.com/rust-lang/crates.io-index"
762checksum = "30e22bd8629359895450b59ea7a776c850561b96a3b1d31321c1949d9e6c9146"
778checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f"
763779
764780[[package]]
765781name = "itoa"
766version = "1.0.5"
782version = "1.0.6"
767783source = "registry+https://github.com/rust-lang/crates.io-index"
768checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
784checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
769785
770786[[package]]
771787name = "jpeg-decoder"
@@ -799,9 +815,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
799815
800816[[package]]
801817name = "libc"
802version = "0.2.139"
818version = "0.2.142"
803819source = "registry+https://github.com/rust-lang/crates.io-index"
804checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
820checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317"
805821
806822[[package]]
807823name = "link-cplusplus"
@@ -814,9 +830,9 @@ dependencies = [
814830
815831[[package]]
816832name = "linux-raw-sys"
817version = "0.1.4"
833version = "0.3.6"
818834source = "registry+https://github.com/rust-lang/crates.io-index"
819checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
835checksum = "b64f40e5e03e0d54f03845c8197d0291253cdbedfb1cb46b13c2c117554a9f4c"
820836
821837[[package]]
822838name = "lock_api"
@@ -860,18 +876,18 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
860876
861877[[package]]
862878name = "memoffset"
863version = "0.7.1"
879version = "0.8.0"
864880source = "registry+https://github.com/rust-lang/crates.io-index"
865checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
881checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
866882dependencies = [
867883 "autocfg",
868884]
869885
870886[[package]]
871887name = "mime"
872version = "0.3.16"
888version = "0.3.17"
873889source = "registry+https://github.com/rust-lang/crates.io-index"
874checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
890checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
875891
876892[[package]]
877893name = "miniz_oxide"
@@ -882,6 +898,16 @@ dependencies = [
882898 "adler",
883899]
884900
901[[package]]
902name = "miniz_oxide"
903version = "0.7.1"
904source = "registry+https://github.com/rust-lang/crates.io-index"
905checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
906dependencies = [
907 "adler",
908 "simd-adler32",
909]
910
885911[[package]]
886912name = "mio"
887913version = "0.8.6"
@@ -957,7 +983,7 @@ version = "1.15.0"
957983source = "registry+https://github.com/rust-lang/crates.io-index"
958984checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
959985dependencies = [
960 "hermit-abi",
986 "hermit-abi 0.2.6",
961987 "libc",
962988]
963989
@@ -998,9 +1024,9 @@ checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
9981024
9991025[[package]]
10001026name = "openssl"
1001version = "0.10.45"
1027version = "0.10.52"
10021028source = "registry+https://github.com/rust-lang/crates.io-index"
1003checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1"
1029checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56"
10041030dependencies = [
10051031 "bitflags",
10061032 "cfg-if",
@@ -1013,13 +1039,13 @@ dependencies = [
10131039
10141040[[package]]
10151041name = "openssl-macros"
1016version = "0.1.0"
1042version = "0.1.1"
10171043source = "registry+https://github.com/rust-lang/crates.io-index"
1018checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
1044checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
10191045dependencies = [
10201046 "proc-macro2",
10211047 "quote",
1022 "syn",
1048 "syn 2.0.15",
10231049]
10241050
10251051[[package]]
@@ -1030,11 +1056,10 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
10301056
10311057[[package]]
10321058name = "openssl-sys"
1033version = "0.9.80"
1059version = "0.9.87"
10341060source = "registry+https://github.com/rust-lang/crates.io-index"
1035checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7"
1061checksum = "8e17f59264b2809d77ae94f0e1ebabc434773f370d6ca667bd223ea10e06cc7e"
10361062dependencies = [
1037 "autocfg",
10381063 "cc",
10391064 "libc",
10401065 "pkg-config",
@@ -1059,7 +1084,7 @@ checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521"
10591084dependencies = [
10601085 "cfg-if",
10611086 "libc",
1062 "redox_syscall",
1087 "redox_syscall 0.2.16",
10631088 "smallvec",
10641089 "windows-sys 0.45.0",
10651090]
@@ -1087,7 +1112,7 @@ checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55"
10871112dependencies = [
10881113 "proc-macro2",
10891114 "quote",
1090 "syn",
1115 "syn 1.0.109",
10911116]
10921117
10931118[[package]]
@@ -1110,39 +1135,49 @@ checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
11101135
11111136[[package]]
11121137name = "png"
1113version = "0.17.7"
1138version = "0.17.8"
11141139source = "registry+https://github.com/rust-lang/crates.io-index"
1115checksum = "5d708eaf860a19b19ce538740d2b4bdeeb8337fa53f7738455e706623ad5c638"
1140checksum = "aaeebc51f9e7d2c150d3f3bfeb667f2aa985db5ef1e3d212847bdedb488beeaa"
11161141dependencies = [
11171142 "bitflags",
11181143 "crc32fast",
1144 "fdeflate",
11191145 "flate2",
1120 "miniz_oxide",
1146 "miniz_oxide 0.7.1",
11211147]
11221148
11231149[[package]]
11241150name = "proc-macro2"
1125version = "1.0.51"
1151version = "1.0.56"
11261152source = "registry+https://github.com/rust-lang/crates.io-index"
1127checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6"
1153checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
11281154dependencies = [
11291155 "unicode-ident",
11301156]
11311157
1158[[package]]
1159name = "qoi"
1160version = "0.4.1"
1161source = "registry+https://github.com/rust-lang/crates.io-index"
1162checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"
1163dependencies = [
1164 "bytemuck",
1165]
1166
11321167[[package]]
11331168name = "quote"
1134version = "1.0.23"
1169version = "1.0.26"
11351170source = "registry+https://github.com/rust-lang/crates.io-index"
1136checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b"
1171checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
11371172dependencies = [
11381173 "proc-macro2",
11391174]
11401175
11411176[[package]]
11421177name = "rayon"
1143version = "1.6.1"
1178version = "1.7.0"
11441179source = "registry+https://github.com/rust-lang/crates.io-index"
1145checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7"
1180checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
11461181dependencies = [
11471182 "either",
11481183 "rayon-core",
@@ -1150,9 +1185,9 @@ dependencies = [
11501185
11511186[[package]]
11521187name = "rayon-core"
1153version = "1.10.2"
1188version = "1.11.0"
11541189source = "registry+https://github.com/rust-lang/crates.io-index"
1155checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b"
1190checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
11561191dependencies = [
11571192 "crossbeam-channel",
11581193 "crossbeam-deque",
@@ -1169,11 +1204,20 @@ dependencies = [
11691204 "bitflags",
11701205]
11711206
1207[[package]]
1208name = "redox_syscall"
1209version = "0.3.5"
1210source = "registry+https://github.com/rust-lang/crates.io-index"
1211checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
1212dependencies = [
1213 "bitflags",
1214]
1215
11721216[[package]]
11731217name = "reqwest"
1174version = "0.11.14"
1218version = "0.11.17"
11751219source = "registry+https://github.com/rust-lang/crates.io-index"
1176checksum = "21eed90ec8570952d53b772ecf8f206aa1ec9a3d76b2521c56c42973f2d91ee9"
1220checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91"
11771221dependencies = [
11781222 "base64 0.21.0",
11791223 "bytes",
@@ -1217,23 +1261,23 @@ dependencies = [
12171261
12181262[[package]]
12191263name = "rustix"
1220version = "0.36.8"
1264version = "0.37.17"
12211265source = "registry+https://github.com/rust-lang/crates.io-index"
1222checksum = "f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644"
1266checksum = "bc809f704c03a812ac71f22456c857be34185cac691a4316f27ab0f633bb9009"
12231267dependencies = [
12241268 "bitflags",
12251269 "errno",
12261270 "io-lifetimes",
12271271 "libc",
12281272 "linux-raw-sys",
1229 "windows-sys 0.45.0",
1273 "windows-sys 0.48.0",
12301274]
12311275
12321276[[package]]
12331277name = "ryu"
1234version = "1.0.12"
1278version = "1.0.13"
12351279source = "registry+https://github.com/rust-lang/crates.io-index"
1236checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde"
1280checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
12371281
12381282[[package]]
12391283name = "schannel"
@@ -1244,12 +1288,6 @@ dependencies = [
12441288 "windows-sys 0.42.0",
12451289]
12461290
1247[[package]]
1248name = "scoped_threadpool"
1249version = "0.1.9"
1250source = "registry+https://github.com/rust-lang/crates.io-index"
1251checksum = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8"
1252
12531291[[package]]
12541292name = "scopeguard"
12551293version = "1.1.0"
@@ -1258,9 +1296,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
12581296
12591297[[package]]
12601298name = "scratch"
1261version = "1.0.3"
1299version = "1.0.5"
12621300source = "registry+https://github.com/rust-lang/crates.io-index"
1263checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2"
1301checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1"
12641302
12651303[[package]]
12661304name = "security-framework"
@@ -1287,29 +1325,29 @@ dependencies = [
12871325
12881326[[package]]
12891327name = "serde"
1290version = "1.0.152"
1328version = "1.0.160"
12911329source = "registry+https://github.com/rust-lang/crates.io-index"
1292checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb"
1330checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c"
12931331dependencies = [
12941332 "serde_derive",
12951333]
12961334
12971335[[package]]
12981336name = "serde_derive"
1299version = "1.0.152"
1337version = "1.0.160"
13001338source = "registry+https://github.com/rust-lang/crates.io-index"
1301checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e"
1339checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df"
13021340dependencies = [
13031341 "proc-macro2",
13041342 "quote",
1305 "syn",
1343 "syn 2.0.15",
13061344]
13071345
13081346[[package]]
13091347name = "serde_json"
1310version = "1.0.93"
1348version = "1.0.96"
13111349source = "registry+https://github.com/rust-lang/crates.io-index"
1312checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76"
1350checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
13131351dependencies = [
13141352 "itoa",
13151353 "ryu",
@@ -1330,9 +1368,9 @@ dependencies = [
13301368
13311369[[package]]
13321370name = "serde_yaml"
1333version = "0.9.17"
1371version = "0.9.21"
13341372source = "registry+https://github.com/rust-lang/crates.io-index"
1335checksum = "8fb06d4b6cdaef0e0c51fa881acb721bed3c924cfaa71d9c94a3b771dfdf6567"
1373checksum = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c"
13361374dependencies = [
13371375 "indexmap",
13381376 "itoa",
@@ -1373,9 +1411,9 @@ dependencies = [
13731411
13741412[[package]]
13751413name = "simd-adler32"
1376version = "0.3.4"
1414version = "0.3.5"
13771415source = "registry+https://github.com/rust-lang/crates.io-index"
1378checksum = "14a5df39617d7c8558154693a1bb8157a4aab8179209540cc0b10e5dc24e0b18"
1416checksum = "238abfbb77c1915110ad968465608b68e869e0772622c9656714e73e5a1a522f"
13791417
13801418[[package]]
13811419name = "sixel-rs"
@@ -1412,9 +1450,9 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
14121450
14131451[[package]]
14141452name = "socket2"
1415version = "0.4.7"
1453version = "0.4.9"
14161454source = "registry+https://github.com/rust-lang/crates.io-index"
1417checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd"
1455checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662"
14181456dependencies = [
14191457 "libc",
14201458 "winapi",
@@ -1422,9 +1460,9 @@ dependencies = [
14221460
14231461[[package]]
14241462name = "spin"
1425version = "0.9.5"
1463version = "0.9.8"
14261464source = "registry+https://github.com/rust-lang/crates.io-index"
1427checksum = "7dccf47db1b41fa1573ed27ccf5e08e3ca771cb994f776668c5ebda893b248fc"
1465checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
14281466dependencies = [
14291467 "lock_api",
14301468]
@@ -1440,17 +1478,28 @@ dependencies = [
14401478 "unicode-ident",
14411479]
14421480
1481[[package]]
1482name = "syn"
1483version = "2.0.15"
1484source = "registry+https://github.com/rust-lang/crates.io-index"
1485checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822"
1486dependencies = [
1487 "proc-macro2",
1488 "quote",
1489 "unicode-ident",
1490]
1491
14431492[[package]]
14441493name = "tempfile"
1445version = "3.4.0"
1494version = "3.5.0"
14461495source = "registry+https://github.com/rust-lang/crates.io-index"
1447checksum = "af18f7ae1acd354b992402e9ec5864359d693cd8a79dcbef59f76891701c1e95"
1496checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998"
14481497dependencies = [
14491498 "cfg-if",
14501499 "fastrand",
1451 "redox_syscall",
1500 "redox_syscall 0.3.5",
14521501 "rustix",
1453 "windows-sys 0.42.0",
1502 "windows-sys 0.45.0",
14541503]
14551504
14561505[[package]]
@@ -1462,15 +1511,6 @@ dependencies = [
14621511 "winapi-util",
14631512]
14641513
1465[[package]]
1466name = "threadpool"
1467version = "1.8.1"
1468source = "registry+https://github.com/rust-lang/crates.io-index"
1469checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
1470dependencies = [
1471 "num_cpus",
1472]
1473
14741514[[package]]
14751515name = "tiff"
14761516version = "0.8.1"
@@ -1499,19 +1539,18 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
14991539
15001540[[package]]
15011541name = "tokio"
1502version = "1.25.0"
1542version = "1.28.0"
15031543source = "registry+https://github.com/rust-lang/crates.io-index"
1504checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af"
1544checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f"
15051545dependencies = [
15061546 "autocfg",
15071547 "bytes",
15081548 "libc",
1509 "memchr",
15101549 "mio",
15111550 "num_cpus",
15121551 "pin-project-lite",
15131552 "socket2",
1514 "windows-sys 0.42.0",
1553 "windows-sys 0.48.0",
15151554]
15161555
15171556[[package]]
@@ -1526,9 +1565,9 @@ dependencies = [
15261565
15271566[[package]]
15281567name = "tokio-util"
1529version = "0.7.7"
1568version = "0.7.8"
15301569source = "registry+https://github.com/rust-lang/crates.io-index"
1531checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2"
1570checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"
15321571dependencies = [
15331572 "bytes",
15341573 "futures-core",
@@ -1596,7 +1635,7 @@ version = "0.1.13"
15961635source = "registry+https://github.com/rust-lang/crates.io-index"
15971636checksum = "37ad46291f8753853eb83c3e47c34c67a59f61129a13a93ba11907ca458bd72b"
15981637dependencies = [
1599 "crossterm 0.26.0",
1638 "crossterm 0.26.1",
16001639 "dyn-clone",
16011640 "tui",
16021641 "typemap",
@@ -1614,15 +1653,15 @@ dependencies = [
16141653
16151654[[package]]
16161655name = "unicode-bidi"
1617version = "0.3.10"
1656version = "0.3.13"
16181657source = "registry+https://github.com/rust-lang/crates.io-index"
1619checksum = "d54675592c1dbefd78cbd98db9bacd89886e1ca50692a0692baefffdeb92dd58"
1658checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"
16201659
16211660[[package]]
16221661name = "unicode-ident"
1623version = "1.0.6"
1662version = "1.0.8"
16241663source = "registry+https://github.com/rust-lang/crates.io-index"
1625checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
1664checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
16261665
16271666[[package]]
16281667name = "unicode-normalization"
@@ -1656,9 +1695,9 @@ dependencies = [
16561695
16571696[[package]]
16581697name = "unsafe-libyaml"
1659version = "0.2.5"
1698version = "0.2.8"
16601699source = "registry+https://github.com/rust-lang/crates.io-index"
1661checksum = "bc7ed8ba44ca06be78ea1ad2c3682a43349126c8818054231ee6f4748012aed2"
1700checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6"
16621701
16631702[[package]]
16641703name = "url"
@@ -1731,7 +1770,7 @@ dependencies = [
17311770 "once_cell",
17321771 "proc-macro2",
17331772 "quote",
1734 "syn",
1773 "syn 1.0.109",
17351774 "wasm-bindgen-shared",
17361775]
17371776
@@ -1765,7 +1804,7 @@ checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6"
17651804dependencies = [
17661805 "proc-macro2",
17671806 "quote",
1768 "syn",
1807 "syn 1.0.109",
17691808 "wasm-bindgen-backend",
17701809 "wasm-bindgen-shared",
17711810]
@@ -1823,19 +1862,28 @@ version = "0.4.0"
18231862source = "registry+https://github.com/rust-lang/crates.io-index"
18241863checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
18251864
1865[[package]]
1866name = "windows"
1867version = "0.48.0"
1868source = "registry+https://github.com/rust-lang/crates.io-index"
1869checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
1870dependencies = [
1871 "windows-targets 0.48.0",
1872]
1873
18261874[[package]]
18271875name = "windows-sys"
18281876version = "0.42.0"
18291877source = "registry+https://github.com/rust-lang/crates.io-index"
18301878checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
18311879dependencies = [
1832 "windows_aarch64_gnullvm",
1833 "windows_aarch64_msvc",
1834 "windows_i686_gnu",
1835 "windows_i686_msvc",
1836 "windows_x86_64_gnu",
1837 "windows_x86_64_gnullvm",
1838 "windows_x86_64_msvc",
1880 "windows_aarch64_gnullvm 0.42.2",
1881 "windows_aarch64_msvc 0.42.2",
1882 "windows_i686_gnu 0.42.2",
1883 "windows_i686_msvc 0.42.2",
1884 "windows_x86_64_gnu 0.42.2",
1885 "windows_x86_64_gnullvm 0.42.2",
1886 "windows_x86_64_msvc 0.42.2",
18391887]
18401888
18411889[[package]]
@@ -1844,65 +1892,131 @@ version = "0.45.0"
18441892source = "registry+https://github.com/rust-lang/crates.io-index"
18451893checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
18461894dependencies = [
1847 "windows-targets",
1895 "windows-targets 0.42.2",
1896]
1897
1898[[package]]
1899name = "windows-sys"
1900version = "0.48.0"
1901source = "registry+https://github.com/rust-lang/crates.io-index"
1902checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
1903dependencies = [
1904 "windows-targets 0.48.0",
18481905]
18491906
18501907[[package]]
18511908name = "windows-targets"
1852version = "0.42.1"
1909version = "0.42.2"
18531910source = "registry+https://github.com/rust-lang/crates.io-index"
1854checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7"
1911checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
18551912dependencies = [
1856 "windows_aarch64_gnullvm",
1857 "windows_aarch64_msvc",
1858 "windows_i686_gnu",
1859 "windows_i686_msvc",
1860 "windows_x86_64_gnu",
1861 "windows_x86_64_gnullvm",
1862 "windows_x86_64_msvc",
1913 "windows_aarch64_gnullvm 0.42.2",
1914 "windows_aarch64_msvc 0.42.2",
1915 "windows_i686_gnu 0.42.2",
1916 "windows_i686_msvc 0.42.2",
1917 "windows_x86_64_gnu 0.42.2",
1918 "windows_x86_64_gnullvm 0.42.2",
1919 "windows_x86_64_msvc 0.42.2",
18631920]
18641921
1922[[package]]
1923name = "windows-targets"
1924version = "0.48.0"
1925source = "registry+https://github.com/rust-lang/crates.io-index"
1926checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
1927dependencies = [
1928 "windows_aarch64_gnullvm 0.48.0",
1929 "windows_aarch64_msvc 0.48.0",
1930 "windows_i686_gnu 0.48.0",
1931 "windows_i686_msvc 0.48.0",
1932 "windows_x86_64_gnu 0.48.0",
1933 "windows_x86_64_gnullvm 0.48.0",
1934 "windows_x86_64_msvc 0.48.0",
1935]
1936
1937[[package]]
1938name = "windows_aarch64_gnullvm"
1939version = "0.42.2"
1940source = "registry+https://github.com/rust-lang/crates.io-index"
1941checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
1942
18651943[[package]]
18661944name = "windows_aarch64_gnullvm"
1867version = "0.42.1"
1945version = "0.48.0"
18681946source = "registry+https://github.com/rust-lang/crates.io-index"
1869checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608"
1947checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
18701948
18711949[[package]]
18721950name = "windows_aarch64_msvc"
1873version = "0.42.1"
1951version = "0.42.2"
18741952source = "registry+https://github.com/rust-lang/crates.io-index"
1875checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7"
1953checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
1954
1955[[package]]
1956name = "windows_aarch64_msvc"
1957version = "0.48.0"
1958source = "registry+https://github.com/rust-lang/crates.io-index"
1959checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
18761960
18771961[[package]]
18781962name = "windows_i686_gnu"
1879version = "0.42.1"
1963version = "0.42.2"
18801964source = "registry+https://github.com/rust-lang/crates.io-index"
1881checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640"
1965checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
1966
1967[[package]]
1968name = "windows_i686_gnu"
1969version = "0.48.0"
1970source = "registry+https://github.com/rust-lang/crates.io-index"
1971checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
18821972
18831973[[package]]
18841974name = "windows_i686_msvc"
1885version = "0.42.1"
1975version = "0.42.2"
18861976source = "registry+https://github.com/rust-lang/crates.io-index"
1887checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605"
1977checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
1978
1979[[package]]
1980name = "windows_i686_msvc"
1981version = "0.48.0"
1982source = "registry+https://github.com/rust-lang/crates.io-index"
1983checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
18881984
18891985[[package]]
18901986name = "windows_x86_64_gnu"
1891version = "0.42.1"
1987version = "0.42.2"
18921988source = "registry+https://github.com/rust-lang/crates.io-index"
1893checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45"
1989checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
1990
1991[[package]]
1992name = "windows_x86_64_gnu"
1993version = "0.48.0"
1994source = "registry+https://github.com/rust-lang/crates.io-index"
1995checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
18941996
18951997[[package]]
18961998name = "windows_x86_64_gnullvm"
1897version = "0.42.1"
1999version = "0.42.2"
18982000source = "registry+https://github.com/rust-lang/crates.io-index"
1899checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463"
2001checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
2002
2003[[package]]
2004name = "windows_x86_64_gnullvm"
2005version = "0.48.0"
2006source = "registry+https://github.com/rust-lang/crates.io-index"
2007checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
2008
2009[[package]]
2010name = "windows_x86_64_msvc"
2011version = "0.42.2"
2012source = "registry+https://github.com/rust-lang/crates.io-index"
2013checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
19002014
19012015[[package]]
19022016name = "windows_x86_64_msvc"
1903version = "0.42.1"
2017version = "0.48.0"
19042018source = "registry+https://github.com/rust-lang/crates.io-index"
1905checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
2019checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
19062020
19072021[[package]]
19082022name = "winreg"
@@ -1934,11 +2048,11 @@ dependencies = [
19342048
19352049[[package]]
19362050name = "youtube-tui"
1937version = "0.7.0"
2051version = "0.7.1"
19382052dependencies = [
19392053 "chrono",
19402054 "clipboard",
1941 "crossterm 0.26.0",
2055 "crossterm 0.26.1",
19422056 "dyn-clone",
19432057 "futures",
19442058 "home",
@@ -1956,9 +2070,9 @@ dependencies = [
19562070
19572071[[package]]
19582072name = "zune-inflate"
1959version = "0.2.50"
2073version = "0.2.53"
19602074source = "registry+https://github.com/rust-lang/crates.io-index"
1961checksum = "589245df6230839c305984dcc0a8385cc72af1fd223f360ffd5d65efa4216d40"
2075checksum = "440a08fd59c6442e4b846ea9b10386c38307eae728b216e1ab2c305d1c9daaf8"
19622076dependencies = [
19632077 "simd-adler32",
19642078]
Cargo.toml +1 −1
@@ -1,6 +1,6 @@
11[package]
22name = "youtube-tui"
3version = "0.7.0"
3version = "0.7.1"
44authors = ["Siriusmart <siriusmart@tuta.io>"]
55edition = "2021"
66description = "An aesthetically pleasing YouTube TUI written in Rust"
docs/src/README.md +5 −3
@@ -31,13 +31,13 @@ env:
3131
3232Anything from layouts to colours and keybindings can be customised, more on that later.
3333
34## ~~Dependency-free~~
34## Dependency-free*
3535
36> Clipboard need to be put as an optional feature before before calling dependency-free, for now `libxcb` is a required dependency.
36<sub>See [installation#features](./installation.md#features) for more info on dependencies.</sub>
3737
3838The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
3939
40However, the programs to launch can be changed, and therefore ~~the YouTube TUI <u>does not rely on any specific dependencies</u> to run~~.
40However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
4141
4242![](./images/custom-dependencies-showcase.png)
4343
@@ -60,6 +60,8 @@ It also includes features like:
6060### What it doesn't have
6161
6262- Subscriptions (first priority)
63- Clipboard feature that does not depend on the `clipboard` feature
64- Up arrow command history + Ctrl arrow keys move between words
6365
6466## How to contribute
6567
docs/src/changelogs.md +12 −2
@@ -1,14 +1,24 @@
11# Changelogs
22
3## v0.7.0
3## v0.7.1
44
55### Added
66
7- Options for config loading. (`write_config` in `main.yml`)
8
9### Fixed
10
11- Fixed crashing when launching without permissions to write to config files (<a href="https://github.com/Siriusmart/youtube-tui/issues/29" target=_blank>issue 29</a>)
12
13### v0.7.0
14
15#### Added
16
717- File system based caching
818- Bookmark library
919- Save video/playlists for offline viewing
1020
11### Fixed
21#### Fixed
1222
1323- Empty ItemList crash (<a href="https://github.com/Siriusmart/youtube-tui/issues/26" target=_blank>issue 26</a>)
1424
docs/src/commands.md +3
@@ -41,12 +41,15 @@ reload configs (alt `reload/r config/configs`)
4141flush
4242quit (alt `q`, `exit`, `x`)
4343run [command]
44parrun [command]
4445```
4546
4647> The `flush` command is used to run all tasks in queue immediately, this is usually done automatically.
4748>
4849> But for when tasks are stacked up in the *same* event loop and the order of which they are executed matters, this command can be used to force the already stacked up commands to be ran first.
4950
51> `run` is used for running *blocking commands*, while `parrun` is non-blocking.
52
5053## Library
5154
5255```vim
docs/src/config/main.md +17 −2
@@ -6,7 +6,8 @@ The main config file is located in `~/.config/youtube-tui/main.yml`.
66
77```yaml
88mouse_support: true
9invidious_instance: https://vid.puffyan.us
9invidious_instance: https://y.com.sb
10write_config: Try
1011max_watch_history: 50
1112allow_unicode: false
1213message_bar_default: All good :)
@@ -36,7 +37,21 @@ Whether mouse click events are supports, if `false` then mouse will not do anyth
3637The Invidious instance you want to use, a full list of Invidious instances can be found here <a href="https://api.invidious.io" target=_blank>*here*</a>.
3738
3839*Accept: string of a valid url to an Invidious instance*
39
40
41### write_config
42
43Whether to write to config after every read, this allows for auto-formatting the config files, as well as removing any error/deprecated options and adding new options.
44
45|write_config|Description|
46|---|---|
47|`Must`|Always write to config, panics if failed.|
48|`Try`|Tries to write to config, continues if failed.|
49|`Dont`|Don't write to config at all|
50
51> `main.yml` is a loaded with `Try` no matter what.
52
53*Accept: `Must`/`Try`/`Dont`*
54
4055### max_watch_history
4156
4257The maximum length that the watch history can hold, a value higher will record more items, but will also result in a larger file size in storage.
docs/src/installation.md +7 −1
@@ -57,7 +57,7 @@ The TUI has features that can be enabled/disabled when compiling.
5757cargo install youtube-tui # install with all default features
5858cargo install youtube-tui --no-default-features # install without any features enabled
5959cargo install youtube-tui --no-default-features -F 'halfblock' # install with only HalfBlocks support (but not Sixels)
60cargo install youtube-tui --no-default-features -F 'halfblock' -F 'sixel' # can install with multiple features by doing this
60cargo install youtube-tui --no-default-features -F 'clipboard' -F 'sixel' # can install with multiple features by doing this
6161cargo install youtube-tui --all-features # install with all features (even if not included in default)
6262```
6363
@@ -72,3 +72,9 @@ Display images with Sixels, allows the display of images at full definition. Not
7272Enabling this will also enable `halfblock`.
7373
7474Requires <a href="https://github.com/saitoha/libsixel" target=_blank>`libsixel`</a>.
75
76### `clipboard` (default)
77
78Allows clipboard pasting in commands and search bar.
79
80Requires <a href="https://xcb.freedesktop.org/" target=_blank>`libxcb`</a>.
src/config/appearance.rs +4 −2
@@ -9,6 +9,8 @@ use std::{
99use tui::{style::Color, widgets::BorderType};
1010use typemap::Key;
1111
12use super::WriteConfig;
13
1214/// `appearance.yml`, impl serde version of AppearanceConfig
1315#[derive(Default, Serialize, Deserialize, Clone)]
1416pub struct AppearanceConfigSerde {
@@ -27,8 +29,8 @@ pub struct AppearanceConfig {
2729
2830impl AppearanceConfig {
2931 /// generates a new file if the original one is invalid
30 pub fn load() -> Result<Self, Box<dyn Error>> {
31 let serde = *AppearanceConfigSerde::load()?;
32 pub fn load(write: WriteConfig) -> Result<Self, Box<dyn Error>> {
33 let serde = *AppearanceConfigSerde::load(write)?;
3234 let try_into = Self::from(serde);
3335
3436 // check if it be converted from `AppearanceConfigSerde` to `AppearanceConfig`
src/config/keybindings.rs +6 −3
@@ -1,4 +1,7 @@
1use super::serde::{KeyCodeSerde, KeyVariantsSerde};
1use super::{
2 serde::{KeyCodeSerde, KeyVariantsSerde},
3 WriteConfig,
4};
25use crate::global::{
36 structs::KeyAction,
47 traits::{ConfigTrait, EXTENSION},
@@ -133,8 +136,8 @@ impl KeyBindingsConfigSerde {
133136
134137impl KeyBindingsConfig {
135138 /// generates a new file if the original one is invalid
136 pub fn load() -> Result<Self, Box<dyn Error>> {
137 let serde = *KeyBindingsConfigSerde::load()?;
139 pub fn load(write: WriteConfig) -> Result<Self, Box<dyn Error>> {
140 let serde = *KeyBindingsConfigSerde::load(write)?;
138141 // check if it be converted from `KeyBindingsConfigSerde` to `KeyBindingsConfig`
139142 let try_into = serde.into();
140143
src/config/main.rs +15 −1
@@ -10,6 +10,8 @@ pub struct MainConfig {
1010 pub mouse_support: bool,
1111 #[serde(default = "invidious_instance_default")]
1212 pub invidious_instance: String,
13 #[serde(default = "write_to_config_default")]
14 pub write_config: WriteConfig,
1315 #[serde(default = "max_watch_history_default")]
1416 pub max_watch_history: usize,
1517 #[serde(default = "allow_unicode_default")]
@@ -40,6 +42,7 @@ impl Key for MainConfig {
4042impl Default for MainConfig {
4143 fn default() -> Self {
4244 Self {
45 write_config: write_to_config_default(),
4346 mouse_support: mouse_support_default(),
4447 invidious_instance: invidious_instance_default(),
4548 max_watch_history: max_watch_history_default(),
@@ -85,6 +88,13 @@ pub enum Provider {
8588 Invidious,
8689}
8790
91#[derive(Clone, Copy, Serialize, Deserialize, PartialEq, Eq)]
92pub enum WriteConfig {
93 Must,
94 Try,
95 Dont,
96}
97
8898impl Provider {
8999 pub fn as_str(&self) -> &str {
90100 match self {
@@ -104,7 +114,7 @@ impl Provider {
104114// default functions
105115
106116fn invidious_instance_default() -> String {
107 String::from("https://vid.puffyan.us")
117 String::from("https://y.com.sb")
108118}
109119
110120fn message_bar_default_default() -> String {
@@ -139,6 +149,10 @@ const fn mouse_support_default() -> bool {
139149 true
140150}
141151
152const fn write_to_config_default() -> WriteConfig {
153 WriteConfig::Try
154}
155
142156fn default_env() -> HashMap<String, String> {
143157 HashMap::from([
144158 (String::from("video-player"), String::from("mpv")),
src/exit.rs +3 −6
@@ -9,12 +9,9 @@ use crate::global::{structs::WatchHistory, traits::Collection};
99// - move thumbnails of videos in watch history to `~/.local/share/youtube-tui/watch_history/thumbnails`
1010// - remove `~/.cache`
1111pub fn exit(framework: &Framework) -> Result<(), Box<dyn Error>> {
12 framework
13 .data
14 .global
15 .get::<WatchHistory>()
16 .unwrap()
17 .exit_move();
12 if let Some(history) = framework.data.global.get::<WatchHistory>() {
13 history.exit_move()
14 }
1815
1916 let home_dir = home_dir().unwrap();
2017 let cache_path = home_dir.join(".cache/youtube-tui/");
src/global/traits/configtrait.rs +24 −7
@@ -6,13 +6,15 @@ use std::{
66 io::Write,
77};
88
9use crate::config::WriteConfig;
10
911pub const EXTENSION: &str = "yml";
1012
1113/// Trait for loading, saving config files
1214pub trait ConfigTrait {
1315 const LABEL: &'static str;
1416
15 fn load() -> Result<Box<Self>, Box<dyn Error>>
17 fn load(write: WriteConfig) -> Result<Box<Self>, Box<dyn Error>>
1618 where
1719 Self: Serialize + DeserializeOwned + Default + Clone,
1820 {
@@ -51,13 +53,28 @@ pub trait ConfigTrait {
5153
5254 // Overwrites the old config file with added options (if any),
5355 // but it also removes things like comments in the old config file
54 let mut file = OpenOptions::new()
55 .write(true)
56 .create(true)
57 .truncate(true)
58 .open(&config_path)?;
5956
60 file.write_all(serde_yaml::to_string(&config)?.as_bytes())?;
57 match write {
58 WriteConfig::Must => {
59 let mut file = OpenOptions::new()
60 .write(true)
61 .create(true)
62 .truncate(true)
63 .open(&config_path)?;
64 file.write_all(serde_yaml::to_string(&config)?.as_bytes())?
65 }
66 WriteConfig::Try => {
67 if let Ok(mut file) = OpenOptions::new()
68 .write(true)
69 .create(true)
70 .truncate(true)
71 .open(&config_path)
72 {
73 let _ = file.write_all(serde_yaml::to_string(&config)?.as_bytes());
74 }
75 }
76 WriteConfig::Dont => {}
77 }
6178
6279 Ok(Box::new(config))
6380 }
src/init.rs +16 −10
@@ -37,7 +37,7 @@ pub fn init(
3737
3838 init_move();
3939
40 load_configs(&mut framework.split_clean().0).ok();
40 load_configs(&mut framework.split_clean().0)?;
4141
4242 framework
4343 .data
@@ -90,7 +90,7 @@ pub fn load_configs(framework: &mut FrameworkClean) -> Result<(), Box<dyn Error>
9090 }
9191
9292 // inserting data
93 let main_config = *MainConfig::load()?;
93 let main_config = *MainConfig::load(WriteConfig::Try)?;
9494
9595 framework
9696 .data
@@ -99,25 +99,31 @@ pub fn load_configs(framework: &mut FrameworkClean) -> Result<(), Box<dyn Error>
9999 framework
100100 .data
101101 .global
102 .insert::<CommandsConfig>(CommandsConfig::from(*CommandsConfigSerde::load()?));
102 .insert::<CommandsConfig>(CommandsConfig::from(*CommandsConfigSerde::load(
103 main_config.write_config,
104 )?));
103105 framework
104106 .data
105107 .global
106 .insert::<AppearanceConfig>(AppearanceConfig::load()?);
107 framework.data.global.insert::<MainConfig>(main_config);
108 .insert::<AppearanceConfig>(AppearanceConfig::load(main_config.write_config)?);
108109 framework
109110 .data
110111 .global
111 .insert::<PagesConfig>(*PagesConfig::load()?);
112 .insert::<PagesConfig>(*PagesConfig::load(main_config.write_config)?);
112113 framework
113114 .data
114115 .global
115 .insert::<KeyBindingsConfig>(KeyBindingsConfig::load()?);
116 .insert::<KeyBindingsConfig>(KeyBindingsConfig::load(main_config.write_config)?);
117 framework.data.global.insert::<CommandBindings>(
118 (*CommandBindingsSerde::load(main_config.write_config)?)
119 .into()
120 .unwrap(),
121 );
116122 framework
117123 .data
118 .global
119 .insert::<CommandBindings>((*CommandBindingsSerde::load()?).into().unwrap());
120 framework.data.state.insert::<Search>(*Search::load()?);
124 .state
125 .insert::<Search>(*Search::load(main_config.write_config)?);
126 framework.data.global.insert::<MainConfig>(main_config);
121127
122128 Ok(())
123129}