Remove url dependency
Browse files at this commit7c0898570ca5bd3f10fbf4cf2f8a00edc48d787bParent: d1fc1ab3 changed files +3 -299
- Cargo.lock +0 -296
- Cargo.toml +1 -2
- src/utils/mod.rs +2 -1
Cargo.lockmodified+0 -296
| @@ -960,17 +960,6 @@ version = "0.2.0" | |||
| 960 | source = "registry+https://github.com/rust-lang/crates.io-index" | 960 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 961 | checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" | 961 | checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" |
| 962 | 962 | ||
| 963 | -[[package]] | ||
| 964 | -name = "displaydoc" | ||
| 965 | -version = "0.2.5" | ||
| 966 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 967 | -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" | ||
| 968 | -dependencies = [ | ||
| 969 | - "proc-macro2", | ||
| 970 | - "quote", | ||
| 971 | - "syn 2.0.106", | ||
| 972 | -] | ||
| 973 | - | ||
| 974 | [[package]] | 963 | [[package]] |
| 975 | name = "dlib" | 964 | name = "dlib" |
| 976 | version = "0.5.2" | 965 | version = "0.5.2" |
| @@ -1194,15 +1183,6 @@ version = "0.3.1" | |||
| 1194 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1183 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1195 | checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" | 1184 | checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" |
| 1196 | 1185 | ||
| 1197 | -[[package]] | ||
| 1198 | -name = "form_urlencoded" | ||
| 1199 | -version = "1.2.2" | ||
| 1200 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1201 | -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" | ||
| 1202 | -dependencies = [ | ||
| 1203 | - "percent-encoding", | ||
| 1204 | -] | ||
| 1205 | - | ||
| 1206 | [[package]] | 1186 | [[package]] |
| 1207 | name = "futures-channel" | 1187 | name = "futures-channel" |
| 1208 | version = "0.3.31" | 1188 | version = "0.3.31" |
| @@ -1705,145 +1685,6 @@ version = "0.4.3" | |||
| 1705 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1685 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1706 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" | 1686 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" |
| 1707 | 1687 | ||
| 1708 | -[[package]] | ||
| 1709 | -name = "icu_collections" | ||
| 1710 | -version = "1.5.0" | ||
| 1711 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1712 | -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" | ||
| 1713 | -dependencies = [ | ||
| 1714 | - "displaydoc", | ||
| 1715 | - "yoke", | ||
| 1716 | - "zerofrom", | ||
| 1717 | - "zerovec", | ||
| 1718 | -] | ||
| 1719 | - | ||
| 1720 | -[[package]] | ||
| 1721 | -name = "icu_locid" | ||
| 1722 | -version = "1.5.0" | ||
| 1723 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1724 | -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" | ||
| 1725 | -dependencies = [ | ||
| 1726 | - "displaydoc", | ||
| 1727 | - "litemap", | ||
| 1728 | - "tinystr", | ||
| 1729 | - "writeable", | ||
| 1730 | - "zerovec", | ||
| 1731 | -] | ||
| 1732 | - | ||
| 1733 | -[[package]] | ||
| 1734 | -name = "icu_locid_transform" | ||
| 1735 | -version = "1.5.0" | ||
| 1736 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1737 | -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" | ||
| 1738 | -dependencies = [ | ||
| 1739 | - "displaydoc", | ||
| 1740 | - "icu_locid", | ||
| 1741 | - "icu_locid_transform_data", | ||
| 1742 | - "icu_provider", | ||
| 1743 | - "tinystr", | ||
| 1744 | - "zerovec", | ||
| 1745 | -] | ||
| 1746 | - | ||
| 1747 | -[[package]] | ||
| 1748 | -name = "icu_locid_transform_data" | ||
| 1749 | -version = "1.5.1" | ||
| 1750 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1751 | -checksum = "7515e6d781098bf9f7205ab3fc7e9709d34554ae0b21ddbcb5febfa4bc7df11d" | ||
| 1752 | - | ||
| 1753 | -[[package]] | ||
| 1754 | -name = "icu_normalizer" | ||
| 1755 | -version = "1.5.0" | ||
| 1756 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1757 | -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" | ||
| 1758 | -dependencies = [ | ||
| 1759 | - "displaydoc", | ||
| 1760 | - "icu_collections", | ||
| 1761 | - "icu_normalizer_data", | ||
| 1762 | - "icu_properties", | ||
| 1763 | - "icu_provider", | ||
| 1764 | - "smallvec", | ||
| 1765 | - "utf16_iter", | ||
| 1766 | - "utf8_iter", | ||
| 1767 | - "write16", | ||
| 1768 | - "zerovec", | ||
| 1769 | -] | ||
| 1770 | - | ||
| 1771 | -[[package]] | ||
| 1772 | -name = "icu_normalizer_data" | ||
| 1773 | -version = "1.5.1" | ||
| 1774 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1775 | -checksum = "c5e8338228bdc8ab83303f16b797e177953730f601a96c25d10cb3ab0daa0cb7" | ||
| 1776 | - | ||
| 1777 | -[[package]] | ||
| 1778 | -name = "icu_properties" | ||
| 1779 | -version = "1.5.1" | ||
| 1780 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1781 | -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" | ||
| 1782 | -dependencies = [ | ||
| 1783 | - "displaydoc", | ||
| 1784 | - "icu_collections", | ||
| 1785 | - "icu_locid_transform", | ||
| 1786 | - "icu_properties_data", | ||
| 1787 | - "icu_provider", | ||
| 1788 | - "tinystr", | ||
| 1789 | - "zerovec", | ||
| 1790 | -] | ||
| 1791 | - | ||
| 1792 | -[[package]] | ||
| 1793 | -name = "icu_properties_data" | ||
| 1794 | -version = "1.5.1" | ||
| 1795 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1796 | -checksum = "85fb8799753b75aee8d2a21d7c14d9f38921b54b3dbda10f5a3c7a7b82dba5e2" | ||
| 1797 | - | ||
| 1798 | -[[package]] | ||
| 1799 | -name = "icu_provider" | ||
| 1800 | -version = "1.5.0" | ||
| 1801 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1802 | -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" | ||
| 1803 | -dependencies = [ | ||
| 1804 | - "displaydoc", | ||
| 1805 | - "icu_locid", | ||
| 1806 | - "icu_provider_macros", | ||
| 1807 | - "stable_deref_trait", | ||
| 1808 | - "tinystr", | ||
| 1809 | - "writeable", | ||
| 1810 | - "yoke", | ||
| 1811 | - "zerofrom", | ||
| 1812 | - "zerovec", | ||
| 1813 | -] | ||
| 1814 | - | ||
| 1815 | -[[package]] | ||
| 1816 | -name = "icu_provider_macros" | ||
| 1817 | -version = "1.5.0" | ||
| 1818 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1819 | -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" | ||
| 1820 | -dependencies = [ | ||
| 1821 | - "proc-macro2", | ||
| 1822 | - "quote", | ||
| 1823 | - "syn 2.0.106", | ||
| 1824 | -] | ||
| 1825 | - | ||
| 1826 | -[[package]] | ||
| 1827 | -name = "idna" | ||
| 1828 | -version = "1.1.0" | ||
| 1829 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1830 | -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" | ||
| 1831 | -dependencies = [ | ||
| 1832 | - "idna_adapter", | ||
| 1833 | - "smallvec", | ||
| 1834 | - "utf8_iter", | ||
| 1835 | -] | ||
| 1836 | - | ||
| 1837 | -[[package]] | ||
| 1838 | -name = "idna_adapter" | ||
| 1839 | -version = "1.2.0" | ||
| 1840 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 1841 | -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" | ||
| 1842 | -dependencies = [ | ||
| 1843 | - "icu_normalizer", | ||
| 1844 | - "icu_properties", | ||
| 1845 | -] | ||
| 1846 | - | ||
| 1847 | [[package]] | 1688 | [[package]] |
| 1848 | name = "indexmap" | 1689 | name = "indexmap" |
| 1849 | version = "2.11.4" | 1690 | version = "2.11.4" |
| @@ -2197,12 +2038,6 @@ version = "0.11.0" | |||
| 2197 | source = "registry+https://github.com/rust-lang/crates.io-index" | 2038 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2198 | checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" | 2039 | checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" |
| 2199 | 2040 | ||
| 2200 | -[[package]] | ||
| 2201 | -name = "litemap" | ||
| 2202 | -version = "0.7.4" | ||
| 2203 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 2204 | -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" | ||
| 2205 | - | ||
| 2206 | [[package]] | 2041 | [[package]] |
| 2207 | name = "log" | 2042 | name = "log" |
| 2208 | version = "0.4.28" | 2043 | version = "0.4.28" |
| @@ -2382,7 +2217,6 @@ dependencies = [ | |||
| 2382 | "tracing", | 2217 | "tracing", |
| 2383 | "tracing-subscriber", | 2218 | "tracing-subscriber", |
| 2384 | "tracy-client", | 2219 | "tracy-client", |
| 2385 | - "url", | ||
| 2386 | "wayland-backend", | 2220 | "wayland-backend", |
| 2387 | "wayland-client", | 2221 | "wayland-client", |
| 2388 | "wayland-scanner", | 2222 | "wayland-scanner", |
| @@ -3687,12 +3521,6 @@ dependencies = [ | |||
| 3687 | "serde", | 3521 | "serde", |
| 3688 | ] | 3522 | ] |
| 3689 | 3523 | ||
| 3690 | -[[package]] | ||
| 3691 | -name = "stable_deref_trait" | ||
| 3692 | -version = "1.2.0" | ||
| 3693 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 3694 | -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" | ||
| 3695 | - | ||
| 3696 | [[package]] | 3524 | [[package]] |
| 3697 | name = "static_assertions" | 3525 | name = "static_assertions" |
| 3698 | version = "1.1.0" | 3526 | version = "1.1.0" |
| @@ -3755,17 +3583,6 @@ dependencies = [ | |||
| 3755 | "unicode-ident", | 3583 | "unicode-ident", |
| 3756 | ] | 3584 | ] |
| 3757 | 3585 | ||
| 3758 | -[[package]] | ||
| 3759 | -name = "synstructure" | ||
| 3760 | -version = "0.13.2" | ||
| 3761 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 3762 | -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" | ||
| 3763 | -dependencies = [ | ||
| 3764 | - "proc-macro2", | ||
| 3765 | - "quote", | ||
| 3766 | - "syn 2.0.106", | ||
| 3767 | -] | ||
| 3768 | - | ||
| 3769 | [[package]] | 3586 | [[package]] |
| 3770 | name = "system-deps" | 3587 | name = "system-deps" |
| 3771 | version = "7.0.5" | 3588 | version = "7.0.5" |
| @@ -3868,16 +3685,6 @@ dependencies = [ | |||
| 3868 | "cfg-if", | 3685 | "cfg-if", |
| 3869 | ] | 3686 | ] |
| 3870 | 3687 | ||
| 3871 | -[[package]] | ||
| 3872 | -name = "tinystr" | ||
| 3873 | -version = "0.7.6" | ||
| 3874 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 3875 | -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" | ||
| 3876 | -dependencies = [ | ||
| 3877 | - "displaydoc", | ||
| 3878 | - "zerovec", | ||
| 3879 | -] | ||
| 3880 | - | ||
| 3881 | [[package]] | 3688 | [[package]] |
| 3882 | name = "toml" | 3689 | name = "toml" |
| 3883 | version = "0.8.23" | 3690 | version = "0.8.23" |
| @@ -4090,30 +3897,6 @@ version = "0.2.1" | |||
| 4090 | source = "registry+https://github.com/rust-lang/crates.io-index" | 3897 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 4091 | checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" | 3898 | checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" |
| 4092 | 3899 | ||
| 4093 | -[[package]] | ||
| 4094 | -name = "url" | ||
| 4095 | -version = "2.5.7" | ||
| 4096 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 4097 | -checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" | ||
| 4098 | -dependencies = [ | ||
| 4099 | - "form_urlencoded", | ||
| 4100 | - "idna", | ||
| 4101 | - "percent-encoding", | ||
| 4102 | - "serde", | ||
| 4103 | -] | ||
| 4104 | - | ||
| 4105 | -[[package]] | ||
| 4106 | -name = "utf16_iter" | ||
| 4107 | -version = "1.0.5" | ||
| 4108 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 4109 | -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" | ||
| 4110 | - | ||
| 4111 | -[[package]] | ||
| 4112 | -name = "utf8_iter" | ||
| 4113 | -version = "1.0.4" | ||
| 4114 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 4115 | -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" | ||
| 4116 | - | ||
| 4117 | [[package]] | 3900 | [[package]] |
| 4118 | name = "utf8parse" | 3901 | name = "utf8parse" |
| 4119 | version = "0.2.2" | 3902 | version = "0.2.2" |
| @@ -4924,18 +4707,6 @@ version = "0.45.1" | |||
| 4924 | source = "registry+https://github.com/rust-lang/crates.io-index" | 4707 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 4925 | checksum = "5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36" | 4708 | checksum = "5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36" |
| 4926 | 4709 | ||
| 4927 | -[[package]] | ||
| 4928 | -name = "write16" | ||
| 4929 | -version = "1.0.0" | ||
| 4930 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 4931 | -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" | ||
| 4932 | - | ||
| 4933 | -[[package]] | ||
| 4934 | -name = "writeable" | ||
| 4935 | -version = "0.5.5" | ||
| 4936 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 4937 | -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" | ||
| 4938 | - | ||
| 4939 | [[package]] | 4710 | [[package]] |
| 4940 | name = "x11-dl" | 4711 | name = "x11-dl" |
| 4941 | version = "2.21.0" | 4712 | version = "2.21.0" |
| @@ -5031,30 +4802,6 @@ version = "1.0.1" | |||
| 5031 | source = "registry+https://github.com/rust-lang/crates.io-index" | 4802 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 5032 | checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" | 4803 | checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" |
| 5033 | 4804 | ||
| 5034 | -[[package]] | ||
| 5035 | -name = "yoke" | ||
| 5036 | -version = "0.7.5" | ||
| 5037 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 5038 | -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" | ||
| 5039 | -dependencies = [ | ||
| 5040 | - "serde", | ||
| 5041 | - "stable_deref_trait", | ||
| 5042 | - "yoke-derive", | ||
| 5043 | - "zerofrom", | ||
| 5044 | -] | ||
| 5045 | - | ||
| 5046 | -[[package]] | ||
| 5047 | -name = "yoke-derive" | ||
| 5048 | -version = "0.7.5" | ||
| 5049 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 5050 | -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" | ||
| 5051 | -dependencies = [ | ||
| 5052 | - "proc-macro2", | ||
| 5053 | - "quote", | ||
| 5054 | - "syn 2.0.106", | ||
| 5055 | - "synstructure", | ||
| 5056 | -] | ||
| 5057 | - | ||
| 5058 | [[package]] | 4805 | [[package]] |
| 5059 | name = "zbus" | 4806 | name = "zbus" |
| 5060 | version = "5.11.0" | 4807 | version = "5.11.0" |
| @@ -5172,49 +4919,6 @@ dependencies = [ | |||
| 5172 | "syn 2.0.106", | 4919 | "syn 2.0.106", |
| 5173 | ] | 4920 | ] |
| 5174 | 4921 | ||
| 5175 | -[[package]] | ||
| 5176 | -name = "zerofrom" | ||
| 5177 | -version = "0.1.5" | ||
| 5178 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 5179 | -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" | ||
| 5180 | -dependencies = [ | ||
| 5181 | - "zerofrom-derive", | ||
| 5182 | -] | ||
| 5183 | - | ||
| 5184 | -[[package]] | ||
| 5185 | -name = "zerofrom-derive" | ||
| 5186 | -version = "0.1.6" | ||
| 5187 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 5188 | -checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" | ||
| 5189 | -dependencies = [ | ||
| 5190 | - "proc-macro2", | ||
| 5191 | - "quote", | ||
| 5192 | - "syn 2.0.106", | ||
| 5193 | - "synstructure", | ||
| 5194 | -] | ||
| 5195 | - | ||
| 5196 | -[[package]] | ||
| 5197 | -name = "zerovec" | ||
| 5198 | -version = "0.10.4" | ||
| 5199 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 5200 | -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" | ||
| 5201 | -dependencies = [ | ||
| 5202 | - "yoke", | ||
| 5203 | - "zerofrom", | ||
| 5204 | - "zerovec-derive", | ||
| 5205 | -] | ||
| 5206 | - | ||
| 5207 | -[[package]] | ||
| 5208 | -name = "zerovec-derive" | ||
| 5209 | -version = "0.10.3" | ||
| 5210 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 5211 | -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" | ||
| 5212 | -dependencies = [ | ||
| 5213 | - "proc-macro2", | ||
| 5214 | - "quote", | ||
| 5215 | - "syn 2.0.106", | ||
| 5216 | -] | ||
| 5217 | - | ||
| 5218 | [[package]] | 4922 | [[package]] |
| 5219 | name = "zvariant" | 4923 | name = "zvariant" |
| 5220 | version = "5.7.0" | 4924 | version = "5.7.0" |
Cargo.tomlmodified+1 -2
| @@ -93,7 +93,6 @@ smithay-drm-extras.workspace = true | |||
| 93 | tracing-subscriber.workspace = true | 93 | tracing-subscriber.workspace = true |
| 94 | tracing.workspace = true | 94 | tracing.workspace = true |
| 95 | tracy-client.workspace = true | 95 | tracy-client.workspace = true |
| 96 | -url = { version = "2.5.7", optional = true } | ||
| 97 | wayland-backend = "0.3.11" | 96 | wayland-backend = "0.3.11" |
| 98 | wayland-scanner = "0.31.7" | 97 | wayland-scanner = "0.31.7" |
| 99 | xcursor = "0.3.10" | 98 | xcursor = "0.3.10" |
| @@ -130,7 +129,7 @@ xshell = "0.2.7" | |||
| 130 | [features] | 129 | [features] |
| 131 | default = ["dbus", "systemd", "xdp-gnome-screencast"] | 130 | default = ["dbus", "systemd", "xdp-gnome-screencast"] |
| 132 | # Enables D-Bus support (serve various freedesktop and GNOME interfaces, accessibility tree, power button handling). | 131 | # Enables D-Bus support (serve various freedesktop and GNOME interfaces, accessibility tree, power button handling). |
| 133 | -dbus = ["dep:zbus", "dep:async-io", "dep:url", "dep:accesskit", "dep:accesskit_unix"] | 132 | +dbus = ["dep:zbus", "dep:async-io", "dep:accesskit", "dep:accesskit_unix"] |
| 134 | # Enables systemd integration (global environment, apps in transient scopes). | 133 | # Enables systemd integration (global environment, apps in transient scopes). |
| 135 | systemd = ["dbus"] | 134 | systemd = ["dbus"] |
| 136 | # Enables screencasting support through xdg-desktop-portal-gnome. | 135 | # Enables screencasting support through xdg-desktop-portal-gnome. |
src/utils/mod.rsmodified+2 -1
| @@ -474,6 +474,7 @@ pub fn baba_is_float_offset(now: Duration, view_height: f64) -> f64 { | |||
| 474 | pub fn show_screenshot_notification(image_path: Option<&Path>) -> anyhow::Result<()> { | 474 | pub fn show_screenshot_notification(image_path: Option<&Path>) -> anyhow::Result<()> { |
| 475 | use std::collections::HashMap; | 475 | use std::collections::HashMap; |
| 476 | 476 | ||
| 477 | + use pango::glib; | ||
| 477 | use zbus::zvariant; | 478 | use zbus::zvariant; |
| 478 | 479 | ||
| 479 | let conn = zbus::blocking::Connection::session()?; | 480 | let conn = zbus::blocking::Connection::session()?; |
| @@ -482,7 +483,7 @@ pub fn show_screenshot_notification(image_path: Option<&Path>) -> anyhow::Result | |||
| 482 | let mut image_url = None; | 483 | let mut image_url = None; |
| 483 | if let Some(path) = image_path { | 484 | if let Some(path) = image_path { |
| 484 | match path.canonicalize() { | 485 | match path.canonicalize() { |
| 485 | - Ok(path) => match url::Url::from_file_path(path) { | 486 | + Ok(path) => match glib::filename_to_uri(path, None) { |
| 486 | Ok(url) => { | 487 | Ok(url) => { |
| 487 | image_url = Some(url); | 488 | image_url = Some(url); |
| 488 | } | 489 | } |