[READ-ONLY] Mirror of https://github.com/probablykasper/remind-me-again. Toggleable cron reminders app for Mac, Linux and Windows
linux macos notifications reminder tauri windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Add notifications permission request

Kasper (May 7, 2023, 2:40 AM +0200) 9eda426a a26a6943

+108 -442
+2
.github/workflows/release.yml
··· 36 36 uses: tauri-apps/tauri-action@v0 37 37 env: 38 38 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 39 + APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} 40 + APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} 39 41 with: 40 42 tagName: v__VERSION__ 41 43 releaseName: v__VERSION__
+83 -442
src-tauri/Cargo.lock
··· 57 57 checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" 58 58 59 59 [[package]] 60 - name = "async-broadcast" 61 - version = "0.5.1" 62 - source = "registry+https://github.com/rust-lang/crates.io-index" 63 - checksum = "7c48ccdbf6ca6b121e0f586cbc0e73ae440e56c67c30fa0873b4e110d9c26d2b" 64 - dependencies = [ 65 - "event-listener", 66 - "futures-core", 67 - ] 68 - 69 - [[package]] 70 - name = "async-channel" 71 - version = "1.8.0" 72 - source = "registry+https://github.com/rust-lang/crates.io-index" 73 - checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" 74 - dependencies = [ 75 - "concurrent-queue", 76 - "event-listener", 77 - "futures-core", 78 - ] 79 - 80 - [[package]] 81 60 name = "async-cron-scheduler" 82 61 version = "1.0.0" 83 62 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 91 70 ] 92 71 93 72 [[package]] 94 - name = "async-executor" 95 - version = "1.5.1" 96 - source = "registry+https://github.com/rust-lang/crates.io-index" 97 - checksum = "6fa3dc5f2a8564f07759c008b9109dc0d39de92a88d5588b8a5036d286383afb" 98 - dependencies = [ 99 - "async-lock", 100 - "async-task", 101 - "concurrent-queue", 102 - "fastrand", 103 - "futures-lite", 104 - "slab", 105 - ] 106 - 107 - [[package]] 108 - name = "async-fs" 109 - version = "1.6.0" 110 - source = "registry+https://github.com/rust-lang/crates.io-index" 111 - checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" 112 - dependencies = [ 113 - "async-lock", 114 - "autocfg", 115 - "blocking", 116 - "futures-lite", 117 - ] 118 - 119 - [[package]] 120 - name = "async-io" 121 - version = "1.13.0" 122 - source = "registry+https://github.com/rust-lang/crates.io-index" 123 - checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" 124 - dependencies = [ 125 - "async-lock", 126 - "autocfg", 127 - "cfg-if", 128 - "concurrent-queue", 129 - "futures-lite", 130 - "log", 131 - "parking", 132 - "polling", 133 - "rustix", 134 - "slab", 135 - "socket2", 136 - "waker-fn", 137 - ] 138 - 139 - [[package]] 140 - name = "async-lock" 141 - version = "2.7.0" 142 - source = "registry+https://github.com/rust-lang/crates.io-index" 143 - checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" 144 - dependencies = [ 145 - "event-listener", 146 - ] 147 - 148 - [[package]] 149 - name = "async-recursion" 150 - version = "1.0.4" 151 - source = "registry+https://github.com/rust-lang/crates.io-index" 152 - checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba" 153 - dependencies = [ 154 - "proc-macro2", 155 - "quote", 156 - "syn 2.0.15", 157 - ] 158 - 159 - [[package]] 160 - name = "async-task" 161 - version = "4.4.0" 162 - source = "registry+https://github.com/rust-lang/crates.io-index" 163 - checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae" 164 - 165 - [[package]] 166 - name = "async-trait" 167 - version = "0.1.68" 168 - source = "registry+https://github.com/rust-lang/crates.io-index" 169 - checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" 170 - dependencies = [ 171 - "proc-macro2", 172 - "quote", 173 - "syn 2.0.15", 174 - ] 175 - 176 - [[package]] 177 73 name = "atk" 178 74 version = "0.15.1" 179 75 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 196 92 "libc", 197 93 "system-deps 6.0.5", 198 94 ] 199 - 200 - [[package]] 201 - name = "atomic-waker" 202 - version = "1.1.1" 203 - source = "registry+https://github.com/rust-lang/crates.io-index" 204 - checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" 205 95 206 96 [[package]] 207 97 name = "atomicwrites" ··· 260 150 checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 261 151 dependencies = [ 262 152 "generic-array", 263 - ] 264 - 265 - [[package]] 266 - name = "blocking" 267 - version = "1.3.1" 268 - source = "registry+https://github.com/rust-lang/crates.io-index" 269 - checksum = "77231a1c8f801696fc0123ec6150ce92cffb8e164a02afb9c8ddee0e9b65ad65" 270 - dependencies = [ 271 - "async-channel", 272 - "async-lock", 273 - "async-task", 274 - "atomic-waker", 275 - "fastrand", 276 - "futures-lite", 277 - "log", 278 153 ] 279 154 280 155 [[package]] ··· 488 363 ] 489 364 490 365 [[package]] 491 - name = "concurrent-queue" 492 - version = "2.2.0" 493 - source = "registry+https://github.com/rust-lang/crates.io-index" 494 - checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" 495 - dependencies = [ 496 - "crossbeam-utils", 497 - ] 498 - 499 - [[package]] 500 366 name = "convert_case" 501 367 version = "0.4.0" 502 368 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 639 505 ] 640 506 641 507 [[package]] 642 - name = "cty" 643 - version = "0.2.2" 644 - source = "registry+https://github.com/rust-lang/crates.io-index" 645 - checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35" 646 - 647 - [[package]] 648 508 name = "cxx" 649 509 version = "1.0.94" 650 510 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 724 584 ] 725 585 726 586 [[package]] 727 - name = "derivative" 728 - version = "2.2.0" 587 + name = "dbus" 588 + version = "0.9.7" 729 589 source = "registry+https://github.com/rust-lang/crates.io-index" 730 - checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" 590 + checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" 731 591 dependencies = [ 732 - "proc-macro2", 733 - "quote", 734 - "syn 1.0.109", 592 + "libc", 593 + "libdbus-sys", 594 + "winapi", 735 595 ] 736 596 737 597 [[package]] ··· 834 694 ] 835 695 836 696 [[package]] 837 - name = "enumflags2" 838 - version = "0.7.7" 839 - source = "registry+https://github.com/rust-lang/crates.io-index" 840 - checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" 841 - dependencies = [ 842 - "enumflags2_derive", 843 - "serde", 844 - ] 845 - 846 - [[package]] 847 - name = "enumflags2_derive" 848 - version = "0.7.7" 849 - source = "registry+https://github.com/rust-lang/crates.io-index" 850 - checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" 851 - dependencies = [ 852 - "proc-macro2", 853 - "quote", 854 - "syn 2.0.15", 855 - ] 856 - 857 - [[package]] 858 697 name = "errno" 859 698 version = "0.3.1" 860 699 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 876 715 ] 877 716 878 717 [[package]] 879 - name = "event-listener" 880 - version = "2.5.3" 881 - source = "registry+https://github.com/rust-lang/crates.io-index" 882 - checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" 883 - 884 - [[package]] 885 718 name = "fastrand" 886 719 version = "1.9.0" 887 720 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 905 738 source = "registry+https://github.com/rust-lang/crates.io-index" 906 739 checksum = "a3cf3a800ff6e860c863ca6d4b16fd999db8b752819c1606884047b73e468535" 907 740 dependencies = [ 908 - "memoffset 0.8.0", 741 + "memoffset", 909 742 "rustc_version", 910 743 ] 911 744 ··· 1033 866 checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 1034 867 1035 868 [[package]] 1036 - name = "futures-lite" 1037 - version = "1.13.0" 1038 - source = "registry+https://github.com/rust-lang/crates.io-index" 1039 - checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" 1040 - dependencies = [ 1041 - "fastrand", 1042 - "futures-core", 1043 - "futures-io", 1044 - "memchr", 1045 - "parking", 1046 - "pin-project-lite", 1047 - "waker-fn", 1048 - ] 1049 - 1050 - [[package]] 1051 869 name = "futures-macro" 1052 870 version = "0.3.28" 1053 871 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1157 975 ] 1158 976 1159 977 [[package]] 1160 - name = "gdkwayland-sys" 1161 - version = "0.15.3" 1162 - source = "registry+https://github.com/rust-lang/crates.io-index" 1163 - checksum = "cca49a59ad8cfdf36ef7330fe7bdfbe1d34323220cc16a0de2679ee773aee2c2" 1164 - dependencies = [ 1165 - "gdk-sys", 1166 - "glib-sys", 1167 - "gobject-sys", 1168 - "libc", 1169 - "pkg-config", 1170 - "system-deps 6.0.5", 1171 - ] 1172 - 1173 - [[package]] 1174 978 name = "gdkx11-sys" 1175 979 version = "0.15.1" 1176 980 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1709 1513 checksum = "edc207893e85c5d6be840e969b496b53d94cec8be2d501b214f50daa97fa8024" 1710 1514 1711 1515 [[package]] 1516 + name = "libdbus-sys" 1517 + version = "0.2.5" 1518 + source = "registry+https://github.com/rust-lang/crates.io-index" 1519 + checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72" 1520 + dependencies = [ 1521 + "pkg-config", 1522 + ] 1523 + 1524 + [[package]] 1712 1525 name = "libloading" 1713 1526 version = "0.7.4" 1714 1527 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1864 1677 1865 1678 [[package]] 1866 1679 name = "memoffset" 1867 - version = "0.7.1" 1868 - source = "registry+https://github.com/rust-lang/crates.io-index" 1869 - checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" 1870 - dependencies = [ 1871 - "autocfg", 1872 - ] 1873 - 1874 - [[package]] 1875 - name = "memoffset" 1876 1680 version = "0.8.0" 1877 1681 source = "registry+https://github.com/rust-lang/crates.io-index" 1878 1682 checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" ··· 1949 1753 checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" 1950 1754 1951 1755 [[package]] 1952 - name = "nix" 1953 - version = "0.26.2" 1954 - source = "registry+https://github.com/rust-lang/crates.io-index" 1955 - checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" 1956 - dependencies = [ 1957 - "bitflags", 1958 - "cfg-if", 1959 - "libc", 1960 - "memoffset 0.7.1", 1961 - "static_assertions", 1962 - ] 1963 - 1964 - [[package]] 1965 1756 name = "nodrop" 1966 1757 version = "0.1.14" 1967 1758 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1983 1774 source = "registry+https://github.com/rust-lang/crates.io-index" 1984 1775 checksum = "2bfa211d18e360f08e36c364308f394b5eb23a6629150690e109a916dc6f610e" 1985 1776 dependencies = [ 1777 + "dbus", 1986 1778 "log", 1987 1779 "mac-notification-sys 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", 1988 - "serde", 1989 1780 "tauri-winrt-notification", 1990 - "zbus", 1991 1781 ] 1992 1782 1993 1783 [[package]] ··· 2126 1916 ] 2127 1917 2128 1918 [[package]] 2129 - name = "ordered-stream" 2130 - version = "0.2.0" 2131 - source = "registry+https://github.com/rust-lang/crates.io-index" 2132 - checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" 2133 - dependencies = [ 2134 - "futures-core", 2135 - "pin-project-lite", 2136 - ] 2137 - 2138 - [[package]] 2139 1919 name = "overload" 2140 1920 version = "0.1.1" 2141 1921 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2167 1947 ] 2168 1948 2169 1949 [[package]] 2170 - name = "parking" 2171 - version = "2.1.0" 2172 - source = "registry+https://github.com/rust-lang/crates.io-index" 2173 - checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" 2174 - 2175 - [[package]] 2176 1950 name = "parking_lot" 2177 1951 version = "0.12.1" 2178 1952 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2196 1970 ] 2197 1971 2198 1972 [[package]] 1973 + name = "paste" 1974 + version = "1.0.12" 1975 + source = "registry+https://github.com/rust-lang/crates.io-index" 1976 + checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79" 1977 + 1978 + [[package]] 2199 1979 name = "pathdiff" 2200 1980 version = "0.2.1" 2201 1981 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2371 2151 ] 2372 2152 2373 2153 [[package]] 2374 - name = "polling" 2375 - version = "2.8.0" 2376 - source = "registry+https://github.com/rust-lang/crates.io-index" 2377 - checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" 2378 - dependencies = [ 2379 - "autocfg", 2380 - "bitflags", 2381 - "cfg-if", 2382 - "concurrent-queue", 2383 - "libc", 2384 - "log", 2385 - "pin-project-lite", 2386 - "windows-sys 0.48.0", 2387 - ] 2388 - 2389 - [[package]] 2390 2154 name = "ppv-lite86" 2391 2155 version = "0.2.17" 2392 2156 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2557 2321 2558 2322 [[package]] 2559 2323 name = "raw-window-handle" 2560 - version = "0.5.0" 2324 + version = "0.5.2" 2561 2325 source = "registry+https://github.com/rust-lang/crates.io-index" 2562 - checksum = "ed7e3d950b66e19e0c372f3fa3fbbcf85b1746b571f74e0c2af6042a5c93420a" 2563 - dependencies = [ 2564 - "cty", 2565 - ] 2326 + checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9" 2566 2327 2567 2328 [[package]] 2568 2329 name = "redox_syscall" ··· 2637 2398 "macos-app-nap", 2638 2399 "nanoid", 2639 2400 "objc", 2401 + "rust-macios", 2640 2402 "serde", 2641 2403 "serde_json", 2642 2404 "tauri", ··· 2667 2429 "wasm-bindgen-futures", 2668 2430 "web-sys", 2669 2431 "windows 0.37.0", 2432 + ] 2433 + 2434 + [[package]] 2435 + name = "rust-macios" 2436 + version = "0.4.2" 2437 + source = "registry+https://github.com/rust-lang/crates.io-index" 2438 + checksum = "dc5eac559440c4a269b521443ff3c89eac90f53af08b9a7323f4b6df38b99bda" 2439 + dependencies = [ 2440 + "bitflags", 2441 + "block", 2442 + "lazy_static", 2443 + "libc", 2444 + "objc", 2445 + "objc_id", 2446 + "rust-macios-app-kit-proc-macros", 2447 + "rust-macios-objective-c-runtime-proc-macros", 2448 + "va_list", 2449 + ] 2450 + 2451 + [[package]] 2452 + name = "rust-macios-app-kit-proc-macros" 2453 + version = "0.2.3" 2454 + source = "registry+https://github.com/rust-lang/crates.io-index" 2455 + checksum = "77b11757ec3ab6605d19ff914c9ddad027c5c82e5ee3a5cc856ec3860235537a" 2456 + dependencies = [ 2457 + "proc-macro2", 2458 + "quote", 2459 + "syn 1.0.109", 2460 + ] 2461 + 2462 + [[package]] 2463 + name = "rust-macios-objective-c-runtime-proc-macros" 2464 + version = "0.2.4" 2465 + source = "registry+https://github.com/rust-lang/crates.io-index" 2466 + checksum = "c09633edb3c35650510e22b0a54c25bae58ef1552650b23ee1935ef5abc004b7" 2467 + dependencies = [ 2468 + "proc-macro2", 2469 + "quote", 2470 + "syn 1.0.109", 2670 2471 ] 2671 2472 2672 2473 [[package]] ··· 2878 2679 ] 2879 2680 2880 2681 [[package]] 2881 - name = "sha1" 2882 - version = "0.10.5" 2883 - source = "registry+https://github.com/rust-lang/crates.io-index" 2884 - checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" 2885 - dependencies = [ 2886 - "cfg-if", 2887 - "cpufeatures", 2888 - "digest", 2889 - ] 2890 - 2891 - [[package]] 2892 2682 name = "sha2" 2893 2683 version = "0.10.6" 2894 2684 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2945 2735 checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" 2946 2736 2947 2737 [[package]] 2948 - name = "socket2" 2949 - version = "0.4.9" 2950 - source = "registry+https://github.com/rust-lang/crates.io-index" 2951 - checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" 2952 - dependencies = [ 2953 - "libc", 2954 - "winapi", 2955 - ] 2956 - 2957 - [[package]] 2958 2738 name = "soup2" 2959 2739 version = "0.2.1" 2960 2740 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3005 2785 dependencies = [ 3006 2786 "loom", 3007 2787 ] 3008 - 3009 - [[package]] 3010 - name = "static_assertions" 3011 - version = "1.1.0" 3012 - source = "registry+https://github.com/rust-lang/crates.io-index" 3013 - checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 3014 2788 3015 2789 [[package]] 3016 2790 name = "string_cache" ··· 3115 2889 3116 2890 [[package]] 3117 2891 name = "tao" 3118 - version = "0.16.1" 2892 + version = "0.15.8" 3119 2893 source = "registry+https://github.com/rust-lang/crates.io-index" 3120 - checksum = "dd3cde9c0cd2b872616bba26b818e0d6469330196869d7e5000dba96ce9431df" 2894 + checksum = "ac8e6399427c8494f9849b58694754d7cc741293348a6836b6c8d2c5aa82d8e6" 3121 2895 dependencies = [ 3122 2896 "bitflags", 3123 2897 "cairo-rs", ··· 3131 2905 "gdk", 3132 2906 "gdk-pixbuf", 3133 2907 "gdk-sys", 3134 - "gdkwayland-sys", 3135 2908 "gdkx11-sys", 3136 2909 "gio", 3137 2910 "glib", ··· 3150 2923 "objc", 3151 2924 "once_cell", 3152 2925 "parking_lot", 2926 + "paste", 3153 2927 "png", 3154 2928 "raw-window-handle", 3155 2929 "scopeguard", 3156 2930 "serde", 3157 - "tao-macros", 3158 2931 "unicode-segmentation", 3159 2932 "uuid", 3160 2933 "windows 0.39.0", 3161 2934 "windows-implement", 3162 2935 "x11-dl", 3163 - ] 3164 - 3165 - [[package]] 3166 - name = "tao-macros" 3167 - version = "0.1.1" 3168 - source = "registry+https://github.com/rust-lang/crates.io-index" 3169 - checksum = "3b27a4bcc5eb524658234589bdffc7e7bfb996dbae6ce9393bfd39cb4159b445" 3170 - dependencies = [ 3171 - "proc-macro2", 3172 - "quote", 3173 - "syn 1.0.109", 3174 2936 ] 3175 2937 3176 2938 [[package]] ··· 3192 2954 3193 2955 [[package]] 3194 2956 name = "tauri" 3195 - version = "1.3.0" 2957 + version = "1.2.5" 3196 2958 source = "registry+https://github.com/rust-lang/crates.io-index" 3197 - checksum = "d42ba3a2e8556722f31336a0750c10dbb6a81396a1c452977f515da83f69f842" 2959 + checksum = "e3a1fe72365a6d860fddf3403934649a5157b2bbb6f0b50dd3a8858cd1a22412" 3198 2960 dependencies = [ 3199 2961 "anyhow", 3200 2962 "cocoa", ··· 3311 3073 3312 3074 [[package]] 3313 3075 name = "tauri-runtime" 3314 - version = "0.13.0" 3076 + version = "0.12.2" 3315 3077 source = "registry+https://github.com/rust-lang/crates.io-index" 3316 - checksum = "b3b80ea3fcd5fefb60739a3b577b277e8fc30434538a2f5bba82ad7d4368c422" 3078 + checksum = "dc36898ad4acb6c381878acf903c320a36cf29b68b74f6e791d6045b6557128c" 3317 3079 dependencies = [ 3318 3080 "gtk", 3319 3081 "http", ··· 3332 3094 3333 3095 [[package]] 3334 3096 name = "tauri-runtime-wry" 3335 - version = "0.13.0" 3097 + version = "0.12.3" 3336 3098 source = "registry+https://github.com/rust-lang/crates.io-index" 3337 - checksum = "d1c396950b1ba06aee1b4ffe6c7cd305ff433ca0e30acbc5fa1a2f92a4ce70f1" 3099 + checksum = "e2ebc22bc5566ba33310744fadd86709fa591ed163491b165855474523ac1aab" 3338 3100 dependencies = [ 3339 3101 "cocoa", 3340 3102 "gtk", ··· 3343 3105 "raw-window-handle", 3344 3106 "tauri-runtime", 3345 3107 "tauri-utils", 3108 + "url", 3346 3109 "uuid", 3347 3110 "webkit2gtk", 3348 3111 "webview2-com", ··· 3652 3415 checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" 3653 3416 3654 3417 [[package]] 3655 - name = "uds_windows" 3656 - version = "1.0.2" 3657 - source = "registry+https://github.com/rust-lang/crates.io-index" 3658 - checksum = "ce65604324d3cce9b966701489fbd0cf318cb1f7bd9dd07ac9a4ee6fb791930d" 3659 - dependencies = [ 3660 - "tempfile", 3661 - "winapi", 3662 - ] 3663 - 3664 - [[package]] 3665 3418 name = "unicode-bidi" 3666 3419 version = "0.3.13" 3667 3420 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3722 3475 ] 3723 3476 3724 3477 [[package]] 3478 + name = "va_list" 3479 + version = "0.1.4" 3480 + source = "registry+https://github.com/rust-lang/crates.io-index" 3481 + checksum = "350bd5ef744f978a387cd08ce514be4e3766746496f355d59d68af36f52d36da" 3482 + 3483 + [[package]] 3725 3484 name = "valuable" 3726 3485 version = "0.1.0" 3727 3486 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3764 3523 "cc", 3765 3524 "libc", 3766 3525 ] 3767 - 3768 - [[package]] 3769 - name = "waker-fn" 3770 - version = "1.1.0" 3771 - source = "registry+https://github.com/rust-lang/crates.io-index" 3772 - checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" 3773 3526 3774 3527 [[package]] 3775 3528 name = "walkdir" ··· 4287 4040 4288 4041 [[package]] 4289 4042 name = "wry" 4290 - version = "0.24.3" 4043 + version = "0.23.4" 4291 4044 source = "registry+https://github.com/rust-lang/crates.io-index" 4292 - checksum = "33748f35413c8a98d45f7a08832d848c0c5915501803d1faade5a4ebcd258cea" 4045 + checksum = "4c1ad8e2424f554cc5bdebe8aa374ef5b433feff817aebabca0389961fc7ef98" 4293 4046 dependencies = [ 4294 4047 "base64 0.13.1", 4295 4048 "block", ··· 4352 4105 dependencies = [ 4353 4106 "libc", 4354 4107 ] 4355 - 4356 - [[package]] 4357 - name = "xdg-home" 4358 - version = "1.0.0" 4359 - source = "registry+https://github.com/rust-lang/crates.io-index" 4360 - checksum = "2769203cd13a0c6015d515be729c526d041e9cf2c0cc478d57faee85f40c6dcd" 4361 - dependencies = [ 4362 - "nix", 4363 - "winapi", 4364 - ] 4365 - 4366 - [[package]] 4367 - name = "zbus" 4368 - version = "3.12.0" 4369 - source = "registry+https://github.com/rust-lang/crates.io-index" 4370 - checksum = "29242fa5ec5693629ae74d6eb1f69622a9511f600986d6d9779bccf36ac316e3" 4371 - dependencies = [ 4372 - "async-broadcast", 4373 - "async-executor", 4374 - "async-fs", 4375 - "async-io", 4376 - "async-lock", 4377 - "async-recursion", 4378 - "async-task", 4379 - "async-trait", 4380 - "byteorder", 4381 - "derivative", 4382 - "enumflags2", 4383 - "event-listener", 4384 - "futures-core", 4385 - "futures-sink", 4386 - "futures-util", 4387 - "hex", 4388 - "nix", 4389 - "once_cell", 4390 - "ordered-stream", 4391 - "rand 0.8.5", 4392 - "serde", 4393 - "serde_repr", 4394 - "sha1", 4395 - "static_assertions", 4396 - "tracing", 4397 - "uds_windows", 4398 - "winapi", 4399 - "xdg-home", 4400 - "zbus_macros", 4401 - "zbus_names", 4402 - "zvariant", 4403 - ] 4404 - 4405 - [[package]] 4406 - name = "zbus_macros" 4407 - version = "3.12.0" 4408 - source = "registry+https://github.com/rust-lang/crates.io-index" 4409 - checksum = "537793e26e9af85f774801dc52c6f6292352b2b517c5cf0449ffd3735732a53a" 4410 - dependencies = [ 4411 - "proc-macro-crate", 4412 - "proc-macro2", 4413 - "quote", 4414 - "regex", 4415 - "syn 1.0.109", 4416 - "zvariant_utils", 4417 - ] 4418 - 4419 - [[package]] 4420 - name = "zbus_names" 4421 - version = "2.5.0" 4422 - source = "registry+https://github.com/rust-lang/crates.io-index" 4423 - checksum = "f34f314916bd89bdb9934154627fab152f4f28acdda03e7c4c68181b214fe7e3" 4424 - dependencies = [ 4425 - "serde", 4426 - "static_assertions", 4427 - "zvariant", 4428 - ] 4429 - 4430 - [[package]] 4431 - name = "zvariant" 4432 - version = "3.12.0" 4433 - source = "registry+https://github.com/rust-lang/crates.io-index" 4434 - checksum = "46fe4914a985446d6fd287019b5fceccce38303d71407d9e6e711d44954a05d8" 4435 - dependencies = [ 4436 - "byteorder", 4437 - "enumflags2", 4438 - "libc", 4439 - "serde", 4440 - "static_assertions", 4441 - "zvariant_derive", 4442 - ] 4443 - 4444 - [[package]] 4445 - name = "zvariant_derive" 4446 - version = "3.12.0" 4447 - source = "registry+https://github.com/rust-lang/crates.io-index" 4448 - checksum = "34c20260af4b28b3275d6676c7e2a6be0d4332e8e0aba4616d34007fd84e462a" 4449 - dependencies = [ 4450 - "proc-macro-crate", 4451 - "proc-macro2", 4452 - "quote", 4453 - "syn 1.0.109", 4454 - "zvariant_utils", 4455 - ] 4456 - 4457 - [[package]] 4458 - name = "zvariant_utils" 4459 - version = "1.0.0" 4460 - source = "registry+https://github.com/rust-lang/crates.io-index" 4461 - checksum = "53b22993dbc4d128a17a3b6c92f1c63872dd67198537ee728d8b5d7c40640a8b" 4462 - dependencies = [ 4463 - "proc-macro2", 4464 - "quote", 4465 - "syn 1.0.109", 4466 - ]
+1
src-tauri/Cargo.toml
··· 28 28 objc = "0.2" 29 29 # mac-notification-sys = "0.5" 30 30 mac-notification-sys = { git = "https://github.com/probablykasper/mac-notification-sys", rev = "43a2fbf9c4ef8717f7736a99c456e21725ab274d" } 31 + rust-macios = "0.4" 31 32 32 33 [features] 33 34 default = [ "custom-protocol" ]
+22
src-tauri/src/main.rs
··· 50 50 } 51 51 }; 52 52 53 + if !cfg!(debug_assertions) { 54 + rust_macios::user_notifications::UNUserNotificationCenter::current_notification_center() 55 + .request_authorization_with_options_completion_handler( 56 + &[ 57 + rust_macios::user_notifications::UNAuthorizationOptions::Alert, 58 + rust_macios::user_notifications::UNAuthorizationOptions::Sound, 59 + ], 60 + |granted: bool, error: Option<rust_macios::foundation::NSError>| { 61 + if !granted { 62 + println!("Notifications permission not granted"); 63 + } 64 + if let Some(e) = error { 65 + println!( 66 + "Notification authorization error: {} {}", 67 + e.code(), 68 + e.localized_description() 69 + ); 70 + } 71 + }, 72 + ); 73 + } 74 + 53 75 let instance = Instance::init( 54 76 reminders_file, 55 77 app_paths,