Drop wealthy, which nothing uses, and with it lru 0.8 and instant

f1cc904 · Gabriel Morell · 2026-10-23 14:59

2 files +7 -175
Message
{commit_body(@commit)}

Files changed

modified Cargo.lock
+6 −173
@@ -169,12 +169,6 @@ dependencies = [
169 169 "syn 2.0.90",
170 170 ]
171 171
172 −[[package]]
173 −name = "async_once"
174 −version = "0.2.6"
175 −source = "registry+https://github.com/rust-lang/crates.io-index"
176 −checksum = "2ce4f10ea3abcd6617873bae9f91d1c5332b4a778bd9ce34d0cd517474c1de82"
177 −
178 172 [[package]]
179 173 name = "atoi"
180 174 version = "2.0.0"
@@ -342,43 +336,6 @@ version = "1.11.1"
342 336 source = "registry+https://github.com/rust-lang/crates.io-index"
343 337 checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
344 338
345 −[[package]]
346 −name = "cached"
347 −version = "0.39.0"
348 −source = "registry+https://github.com/rust-lang/crates.io-index"
349 −checksum = "f3e27085975166ffaacbd04527132e1cf5906fa612991f9b4fea08e787da2961"
350 −dependencies = [
351 − "async-trait",
352 − "async_once",
353 − "cached_proc_macro",
354 − "cached_proc_macro_types",
355 − "futures",
356 − "hashbrown 0.12.3",
357 − "instant",
358 − "lazy_static",
359 − "once_cell",
360 − "thiserror 1.0.56",
361 − "tokio",
362 −]
363 −
364 −[[package]]
365 −name = "cached_proc_macro"
366 −version = "0.15.0"
367 −source = "registry+https://github.com/rust-lang/crates.io-index"
368 −checksum = "751f7f4e7a091545e7f6c65bacc404eaee7e87bfb1f9ece234a1caa173dc16f2"
369 −dependencies = [
370 − "cached_proc_macro_types",
371 − "darling 0.13.4",
372 − "quote",
373 − "syn 1.0.109",
374 −]
375 −
376 −[[package]]
377 −name = "cached_proc_macro_types"
378 −version = "0.1.1"
379 −source = "registry+https://github.com/rust-lang/crates.io-index"
380 −checksum = "ade8366b8bd5ba243f0a58f036cc0ca8a2f069cff1a2351ef1cac6b083e16fc0"
381 −
382 339 [[package]]
383 340 name = "calendrical_calculations"
384 341 version = "0.2.4"
@@ -652,38 +609,14 @@ dependencies = [
652 609 "typenum",
653 610 ]
654 611
655 −[[package]]
656 −name = "darling"
657 −version = "0.13.4"
658 −source = "registry+https://github.com/rust-lang/crates.io-index"
659 −checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
660 −dependencies = [
661 − "darling_core 0.13.4",
662 − "darling_macro 0.13.4",
663 −]
664 −
665 612 [[package]]
666 613 name = "darling"
667 614 version = "0.20.10"
668 615 source = "registry+https://github.com/rust-lang/crates.io-index"
669 616 checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
670 617 dependencies = [
671 − "darling_core 0.20.10",
672 − "darling_macro 0.20.10",
673 −]
674 −
675 −[[package]]
676 −name = "darling_core"
677 −version = "0.13.4"
678 −source = "registry+https://github.com/rust-lang/crates.io-index"
679 −checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
680 −dependencies = [
681 − "fnv",
682 − "ident_case",
683 − "proc-macro2",
684 − "quote",
685 − "strsim 0.10.0",
686 − "syn 1.0.109",
618 + "darling_core",
619 + "darling_macro",
687 620 ]
688 621
689 622 [[package]]
@@ -700,24 +633,13 @@ dependencies = [
700 633 "syn 2.0.90",
701 634 ]
702 635
703 −[[package]]
704 −name = "darling_macro"
705 −version = "0.13.4"
706 −source = "registry+https://github.com/rust-lang/crates.io-index"
707 −checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
708 −dependencies = [
709 − "darling_core 0.13.4",
710 − "quote",
711 − "syn 1.0.109",
712 −]
713 −
714 636 [[package]]
715 637 name = "darling_macro"
716 638 version = "0.20.10"
717 639 source = "registry+https://github.com/rust-lang/crates.io-index"
718 640 checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
719 641 dependencies = [
720 − "darling_core 0.20.10",
642 + "darling_core",
721 643 "quote",
722 644 "syn 2.0.90",
723 645 ]
@@ -982,15 +904,6 @@ dependencies = [
982 904 "percent-encoding",
983 905 ]
984 906
985 −[[package]]
986 −name = "fraction"
987 −version = "0.11.2"
988 −source = "registry+https://github.com/rust-lang/crates.io-index"
989 −checksum = "ad18174c73e668720cf9961281ea94a10a8c4003c2b2ad7117252109e5423a3f"
990 −dependencies = [
991 − "num",
992 −]
993 −
994 907 [[package]]
995 908 name = "funty"
996 909 version = "2.0.0"
@@ -1517,7 +1430,7 @@ version = "0.3.5"
1517 1430 source = "registry+https://github.com/rust-lang/crates.io-index"
1518 1431 checksum = "898e106451f7335950c9cc64f8ec67b5f65698679ac67ed00619aeef14e1cf75"
1519 1432 dependencies = [
1520 − "darling 0.20.10",
1433 + "darling",
1521 1434 "indoc",
1522 1435 "pretty_assertions",
1523 1436 "proc-macro2",
@@ -1525,15 +1438,6 @@ dependencies = [
1525 1438 "syn 2.0.90",
1526 1439 ]
1527 1440
1528 −[[package]]
1529 −name = "instant"
1530 −version = "0.1.12"
1531 −source = "registry+https://github.com/rust-lang/crates.io-index"
1532 −checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
1533 −dependencies = [
1534 − "cfg-if",
1535 −]
1536 −
1537 1441 [[package]]
1538 1442 name = "interim"
1539 1443 version = "0.1.2"
@@ -1704,15 +1608,6 @@ dependencies = [
1704 1608 "logos-codegen",
1705 1609 ]
1706 1610
1707 −[[package]]
1708 −name = "lru"
1709 −version = "0.8.1"
1710 −source = "registry+https://github.com/rust-lang/crates.io-index"
1711 −checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909"
1712 −dependencies = [
1713 − "hashbrown 0.12.3",
1714 −]
1715 −
1716 1611 [[package]]
1717 1612 name = "lru"
1718 1613 version = "0.12.1"
@@ -1733,12 +1628,6 @@ dependencies = [
1733 1628 "windows-sys 0.61.2",
1734 1629 ]
1735 1630
1736 −[[package]]
1737 −name = "maplit"
1738 −version = "1.0.2"
1739 −source = "registry+https://github.com/rust-lang/crates.io-index"
1740 −checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
1741 −
1742 1631 [[package]]
1743 1632 name = "matchers"
1744 1633 version = "0.2.0"
@@ -1826,19 +1715,6 @@ dependencies = [
1826 1715 "windows-sys 0.59.0",
1827 1716 ]
1828 1717
1829 −[[package]]
1830 −name = "num"
1831 −version = "0.4.1"
1832 −source = "registry+https://github.com/rust-lang/crates.io-index"
1833 −checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af"
1834 −dependencies = [
1835 − "num-complex",
1836 − "num-integer",
1837 − "num-iter",
1838 − "num-rational",
1839 − "num-traits",
1840 −]
1841 −
1842 1718 [[package]]
1843 1719 name = "num-bigint"
1844 1720 version = "0.4.6"
@@ -1865,15 +1741,6 @@ dependencies = [
1865 1741 "zeroize",
1866 1742 ]
1867 1743
1868 −[[package]]
1869 −name = "num-complex"
1870 −version = "0.4.4"
1871 −source = "registry+https://github.com/rust-lang/crates.io-index"
1872 −checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214"
1873 −dependencies = [
1874 − "num-traits",
1875 −]
1876 −
1877 1744 [[package]]
1878 1745 name = "num-conv"
1879 1746 version = "0.2.2"
@@ -1900,17 +1767,6 @@ dependencies = [
1900 1767 "num-traits",
1901 1768 ]
1902 1769
1903 −[[package]]
1904 −name = "num-rational"
1905 −version = "0.4.1"
1906 −source = "registry+https://github.com/rust-lang/crates.io-index"
1907 −checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
1908 −dependencies = [
1909 − "autocfg",
1910 − "num-integer",
1911 − "num-traits",
1912 −]
1913 −
1914 1770 [[package]]
1915 1771 name = "num-traits"
1916 1772 version = "0.2.19"
@@ -2157,7 +2013,6 @@ dependencies = [
2157 2013 "tracing-subscriber",
2158 2014 "tui-input",
2159 2015 "ureq",
2160 − "wealthy",
2161 2016 "xdg",
2162 2017 ]
2163 2018
@@ -2289,7 +2144,7 @@ dependencies = [
2289 2144 "indoc",
2290 2145 "instability",
2291 2146 "itertools 0.13.0",
2292 − "lru 0.12.1",
2147 + "lru",
2293 2148 "paste",
2294 2149 "strum",
2295 2150 "time",
@@ -2666,7 +2521,7 @@ version = "0.4.2"
2666 2521 source = "registry+https://github.com/rust-lang/crates.io-index"
2667 2522 checksum = "9834af2c4bd8c5162f00c89f1701fb6886119a88062cf76fe842ea9e232b9839"
2668 2523 dependencies = [
2669 − "darling 0.20.10",
2524 + "darling",
2670 2525 "heck 0.4.1",
2671 2526 "proc-macro2",
2672 2527 "quote",
@@ -2709,12 +2564,6 @@ version = "1.0.28"
2709 2564 source = "registry+https://github.com/rust-lang/crates.io-index"
2710 2565 checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
2711 2566
2712 −[[package]]
2713 −name = "separator"
2714 −version = "0.4.1"
2715 −source = "registry+https://github.com/rust-lang/crates.io-index"
2716 −checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5"
2717 −
2718 2567 [[package]]
2719 2568 name = "serde"
2720 2569 version = "1.0.228"
@@ -3732,22 +3581,6 @@ version = "0.2.99"
3732 3581 source = "registry+https://github.com/rust-lang/crates.io-index"
3733 3582 checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6"
3734 3583
3735 −[[package]]
3736 −name = "wealthy"
3737 −version = "0.2.0"
3738 −source = "registry+https://github.com/rust-lang/crates.io-index"
3739 −checksum = "4c86f5701d8cd1030f8c465fbeb3d77d66e9e80b5d744c778f8390c6b364664d"
3740 −dependencies = [
3741 − "cached",
3742 − "fraction",
3743 − "lazy_static",
3744 − "lru 0.8.1",
3745 − "maplit",
3746 − "regex",
3747 − "separator",
3748 − "unicode-segmentation",
3749 −]
3750 −
3751 3584 [[package]]
3752 3585 name = "webpki-roots"
3753 3586 version = "1.0.10"
modified Cargo.toml
+1 −2
@@ -37,9 +37,8 @@ color-eyre = "0.6"
37 37 crossterm = "0.28.1"
38 38 ratatui = { version = "0.29.0", features = ["widget-calendar"] }
39 39 sea-orm = { version = "1.1.2" , features = ["sqlx-sqlite", "runtime-tokio", "macros"]}
40 −wealthy = "0.2.0"
41 40 futures = "0.3.30"
42 −tokio = "1.42.0"
41 +tokio = { version = "1.42.0", features = ["macros", "rt-multi-thread"] }
43 42 sea-orm-migration = "1.1.2"
44 43 async-trait = "0.1.77"
45 44 log = "0.4.20"

Parents: 1fdd75c