forge
Explore
Log in

Don't you dare go Hollow

3fd421f13fb823a5dd2b75d0d8649d190f932b2dIvan MolodetskikhParent: d254731
Cargo.lockmodified+115 -93
@@ -10,13 +10,14 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
10 10
11 [[package]]11 [[package]]
12 name = "ahash"12 name = "ahash"
13-version = "0.7.6"13+version = "0.8.5"
14 source = "registry+https://github.com/rust-lang/crates.io-index"14 source = "registry+https://github.com/rust-lang/crates.io-index"
15-checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"15+checksum = "cd7d5a2cecb58716e47d67d5703a249964b14c7be1ec3cad3affc295b2d1c35d"
16 dependencies = [16 dependencies = [
17- "getrandom",17+ "cfg-if",
18 "once_cell",18 "once_cell",
19 "version_check",19 "version_check",
20+ "zerocopy",
20 ]21 ]
21 22
22 [[package]]23 [[package]]
@@ -28,6 +29,12 @@ dependencies = [
28 "memchr",29 "memchr",
29 ]30 ]
30 31
32+[[package]]
33+name = "allocator-api2"
34+version = "0.2.16"
35+source = "registry+https://github.com/rust-lang/crates.io-index"
36+checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
37+
31 [[package]]38 [[package]]
32 name = "android-activity"39 name = "android-activity"
33 version = "0.4.3"40 version = "0.4.3"
@@ -150,9 +157,9 @@ dependencies = [
150 157
151 [[package]]158 [[package]]
152 name = "async-executor"159 name = "async-executor"
153-version = "1.5.4"160+version = "1.6.0"
154 source = "registry+https://github.com/rust-lang/crates.io-index"161 source = "registry+https://github.com/rust-lang/crates.io-index"
155-checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499"162+checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0"
156 dependencies = [163 dependencies = [
157 "async-lock",164 "async-lock",
158 "async-task",165 "async-task",
@@ -188,7 +195,7 @@ dependencies = [
188 "log",195 "log",
189 "parking",196 "parking",
190 "polling 2.8.0",197 "polling 2.8.0",
191- "rustix 0.37.25",198+ "rustix 0.37.26",
192 "slab",199 "slab",
193 "socket2",200 "socket2",
194 "waker-fn",201 "waker-fn",
@@ -216,7 +223,7 @@ dependencies = [
216 "cfg-if",223 "cfg-if",
217 "event-listener 3.0.0",224 "event-listener 3.0.0",
218 "futures-lite",225 "futures-lite",
219- "rustix 0.38.19",226+ "rustix 0.38.20",
220 "windows-sys 0.48.0",227 "windows-sys 0.48.0",
221 ]228 ]
222 229
@@ -243,7 +250,7 @@ dependencies = [
243 "cfg-if",250 "cfg-if",
244 "futures-core",251 "futures-core",
245 "futures-io",252 "futures-io",
246- "rustix 0.38.19",253+ "rustix 0.38.20",
247 "signal-hook-registry",254 "signal-hook-registry",
248 "slab",255 "slab",
249 "windows-sys 0.48.0",256 "windows-sys 0.48.0",
@@ -251,15 +258,15 @@ dependencies = [
251 258
252 [[package]]259 [[package]]
253 name = "async-task"260 name = "async-task"
254-version = "4.4.1"261+version = "4.5.0"
255 source = "registry+https://github.com/rust-lang/crates.io-index"262 source = "registry+https://github.com/rust-lang/crates.io-index"
256-checksum = "b9441c6b2fe128a7c2bf680a44c34d0df31ce09e5b7e401fcca3faa483dbc921"263+checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1"
257 264
258 [[package]]265 [[package]]
259 name = "async-trait"266 name = "async-trait"
260-version = "0.1.73"267+version = "0.1.74"
261 source = "registry+https://github.com/rust-lang/crates.io-index"268 source = "registry+https://github.com/rust-lang/crates.io-index"
262-checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0"269+checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9"
263 dependencies = [270 dependencies = [
264 "proc-macro2",271 "proc-macro2",
265 "quote",272 "quote",
@@ -280,9 +287,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
280 287
281 [[package]]288 [[package]]
282 name = "base64"289 name = "base64"
283-version = "0.21.4"290+version = "0.21.5"
284 source = "registry+https://github.com/rust-lang/crates.io-index"291 source = "registry+https://github.com/rust-lang/crates.io-index"
285-checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2"292+checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9"
286 293
287 [[package]]294 [[package]]
288 name = "bindgen"295 name = "bindgen"
@@ -290,7 +297,7 @@ version = "0.66.1"
290 source = "registry+https://github.com/rust-lang/crates.io-index"297 source = "registry+https://github.com/rust-lang/crates.io-index"
291 checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7"298 checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7"
292 dependencies = [299 dependencies = [
293- "bitflags 2.4.0",300+ "bitflags 2.4.1",
294 "cexpr",301 "cexpr",
295 "clang-sys",302 "clang-sys",
296 "lazy_static",303 "lazy_static",
@@ -327,9 +334,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
327 334
328 [[package]]335 [[package]]
329 name = "bitflags"336 name = "bitflags"
330-version = "2.4.0"337+version = "2.4.1"
331 source = "registry+https://github.com/rust-lang/crates.io-index"338 source = "registry+https://github.com/rust-lang/crates.io-index"
332-checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"339+checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
333 340
334 [[package]]341 [[package]]
335 name = "block-buffer"342 name = "block-buffer"
@@ -427,10 +434,10 @@ version = "0.12.3"
427 source = "registry+https://github.com/rust-lang/crates.io-index"434 source = "registry+https://github.com/rust-lang/crates.io-index"
428 checksum = "7b50b5a44d59a98c55a9eeb518f39bf7499ba19fd98ee7d22618687f3f10adbf"435 checksum = "7b50b5a44d59a98c55a9eeb518f39bf7499ba19fd98ee7d22618687f3f10adbf"
429 dependencies = [436 dependencies = [
430- "bitflags 2.4.0",437+ "bitflags 2.4.1",
431 "log",438 "log",
432 "polling 3.2.0",439 "polling 3.2.0",
433- "rustix 0.38.19",440+ "rustix 0.38.20",
434 "slab",441 "slab",
435 "thiserror",442 "thiserror",
436 ]443 ]
@@ -488,11 +495,11 @@ dependencies = [
488 495
489 [[package]]496 [[package]]
490 name = "chumsky"497 name = "chumsky"
491-version = "0.9.2"498+version = "0.9.3"
492 source = "registry+https://github.com/rust-lang/crates.io-index"499 source = "registry+https://github.com/rust-lang/crates.io-index"
493-checksum = "23170228b96236b5a7299057ac284a321457700bc8c41a4476052f0f4ba5349d"500+checksum = "8eebd66744a15ded14960ab4ccdbfb51ad3b81f51f3f04a80adac98c985396c9"
494 dependencies = [501 dependencies = [
495- "hashbrown 0.12.3",502+ "hashbrown",
496 ]503 ]
497 504
498 [[package]]505 [[package]]
@@ -624,9 +631,9 @@ dependencies = [
624 631
625 [[package]]632 [[package]]
626 name = "cpufeatures"633 name = "cpufeatures"
627-version = "0.2.9"634+version = "0.2.10"
628 source = "registry+https://github.com/rust-lang/crates.io-index"635 source = "registry+https://github.com/rust-lang/crates.io-index"
629-checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1"636+checksum = "3fbc60abd742b35f2492f808e1abbb83d45f72db402e14c55057edc9c7b1e9e4"
630 dependencies = [637 dependencies = [
631 "libc",638 "libc",
632 ]639 ]
@@ -743,7 +750,7 @@ version = "0.10.0"
743 source = "registry+https://github.com/rust-lang/crates.io-index"750 source = "registry+https://github.com/rust-lang/crates.io-index"
744 checksum = "97fb1b703ffbc7ebd216eba7900008049a56ace55580ecb2ee7fa801e8d8be87"751 checksum = "97fb1b703ffbc7ebd216eba7900008049a56ace55580ecb2ee7fa801e8d8be87"
745 dependencies = [752 dependencies = [
746- "bitflags 2.4.0",753+ "bitflags 2.4.1",
747 "bytemuck",754 "bytemuck",
748 "drm-ffi",755 "drm-ffi",
749 "drm-fourcc",756 "drm-fourcc",
@@ -1019,19 +1026,14 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
1019 1026
1020 [[package]]1027 [[package]]
1021 name = "hashbrown"1028 name = "hashbrown"
1022-version = "0.12.3"1029+version = "0.14.2"
1023 source = "registry+https://github.com/rust-lang/crates.io-index"1030 source = "registry+https://github.com/rust-lang/crates.io-index"
1024-checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"1031+checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156"
1025 dependencies = [1032 dependencies = [
1026 "ahash",1033 "ahash",
1034+ "allocator-api2",
1027 ]1035 ]
1028 1036
1029-[[package]]
1030-name = "hashbrown"
1031-version = "0.14.1"
1032-source = "registry+https://github.com/rust-lang/crates.io-index"
1033-checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12"
1034-
1035 [[package]]1037 [[package]]
1036 name = "heck"1038 name = "heck"
1037 version = "0.4.1"1039 version = "0.4.1"
@@ -1074,7 +1076,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1074 checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897"1076 checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897"
1075 dependencies = [1077 dependencies = [
1076 "equivalent",1078 "equivalent",
1077- "hashbrown 0.14.1",1079+ "hashbrown",
1078 ]1080 ]
1079 1081
1080 [[package]]1082 [[package]]
@@ -1270,7 +1272,7 @@ version = "0.7.2"
1270 source = "registry+https://github.com/rust-lang/crates.io-index"1272 source = "registry+https://github.com/rust-lang/crates.io-index"
1271 checksum = "0434617020ddca18b86067912970c55410ca654cdafd775480322f50b857a8c4"1273 checksum = "0434617020ddca18b86067912970c55410ca654cdafd775480322f50b857a8c4"
1272 dependencies = [1274 dependencies = [
1273- "bitflags 2.4.0",1275+ "bitflags 2.4.1",
1274 "cc",1276 "cc",
1275 "convert_case",1277 "convert_case",
1276 "cookie-factory",1278 "cookie-factory",
@@ -1369,9 +1371,9 @@ dependencies = [
1369 1371
1370 [[package]]1372 [[package]]
1371 name = "memmap2"1373 name = "memmap2"
1372-version = "0.7.1"1374+version = "0.8.0"
1373 source = "registry+https://github.com/rust-lang/crates.io-index"1375 source = "registry+https://github.com/rust-lang/crates.io-index"
1374-checksum = "f49388d20533534cd19360ad3d6a7dadc885944aa802ba3995040c5ec11288c6"1376+checksum = "43a5a03cefb0d953ec0be133036f14e109412fa594edc2f77227249db66cc3ed"
1375 dependencies = [1377 dependencies = [
1376 "libc",1378 "libc",
1377 ]1379 ]
@@ -1444,9 +1446,9 @@ dependencies = [
1444 1446
1445 [[package]]1447 [[package]]
1446 name = "mio"1448 name = "mio"
1447-version = "0.8.8"1449+version = "0.8.9"
1448 source = "registry+https://github.com/rust-lang/crates.io-index"1450 source = "registry+https://github.com/rust-lang/crates.io-index"
1449-checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"1451+checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0"
1450 dependencies = [1452 dependencies = [
1451 "libc",1453 "libc",
1452 "log",1454 "log",
@@ -1491,7 +1493,7 @@ dependencies = [
1491 "arrayvec",1493 "arrayvec",
1492 "async-channel",1494 "async-channel",
1493 "async-io",1495 "async-io",
1494- "bitflags 2.4.0",1496+ "bitflags 2.4.1",
1495 "clap",1497 "clap",
1496 "directories",1498 "directories",
1497 "image",1499 "image",
@@ -1501,7 +1503,6 @@ dependencies = [
1501 "log",1503 "log",
1502 "logind-zbus",1504 "logind-zbus",
1503 "miette",1505 "miette",
1504- "nix 0.27.1",
1505 "pipewire",1506 "pipewire",
1506 "portable-atomic",1507 "portable-atomic",
1507 "profiling",1508 "profiling",
@@ -1563,10 +1564,9 @@ version = "0.27.1"
1563 source = "registry+https://github.com/rust-lang/crates.io-index"1564 source = "registry+https://github.com/rust-lang/crates.io-index"
1564 checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053"1565 checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053"
1565 dependencies = [1566 dependencies = [
1566- "bitflags 2.4.0",1567+ "bitflags 2.4.1",
1567 "cfg-if",1568 "cfg-if",
1568 "libc",1569 "libc",
1569- "memoffset 0.9.0",
1570 ]1570 ]
1571 1571
1572 [[package]]1572 [[package]]
@@ -1736,9 +1736,9 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
1736 1736
1737 [[package]]1737 [[package]]
1738 name = "parking"1738 name = "parking"
1739-version = "2.1.1"1739+version = "2.2.0"
1740 source = "registry+https://github.com/rust-lang/crates.io-index"1740 source = "registry+https://github.com/rust-lang/crates.io-index"
1741-checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067"1741+checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae"
1742 1742
1743 [[package]]1743 [[package]]
1744 name = "peeking_take_while"1744 name = "peeking_take_while"
@@ -1782,7 +1782,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1782 checksum = "a2d009c8dd65e890b515a71950f7e4c801523b8894ff33863a40830bf762e9e9"1782 checksum = "a2d009c8dd65e890b515a71950f7e4c801523b8894ff33863a40830bf762e9e9"
1783 dependencies = [1783 dependencies = [
1784 "anyhow",1784 "anyhow",
1785- "bitflags 2.4.0",1785+ "bitflags 2.4.1",
1786 "libc",1786 "libc",
1787 "libspa",1787 "libspa",
1788 "libspa-sys",1788 "libspa-sys",
@@ -1847,16 +1847,16 @@ dependencies = [
1847 "cfg-if",1847 "cfg-if",
1848 "concurrent-queue",1848 "concurrent-queue",
1849 "pin-project-lite",1849 "pin-project-lite",
1850- "rustix 0.38.19",1850+ "rustix 0.38.20",
1851 "tracing",1851 "tracing",
1852 "windows-sys 0.48.0",1852 "windows-sys 0.48.0",
1853 ]1853 ]
1854 1854
1855 [[package]]1855 [[package]]
1856 name = "portable-atomic"1856 name = "portable-atomic"
1857-version = "1.4.3"1857+version = "1.5.0"
1858 source = "registry+https://github.com/rust-lang/crates.io-index"1858 source = "registry+https://github.com/rust-lang/crates.io-index"
1859-checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b"1859+checksum = "b559898e0b4931ed2d3b959ab0c2da4d99cc644c4b0b1a35b4d344027f474023"
1860 1860
1861 [[package]]1861 [[package]]
1862 name = "powerfmt"1862 name = "powerfmt"
@@ -1941,7 +1941,7 @@ checksum = "7c003ac8c77cb07bb74f5f198bce836a689bcd5a42574612bf14d17bfd08c20e"
1941 dependencies = [1941 dependencies = [
1942 "bit-set",1942 "bit-set",
1943 "bit-vec",1943 "bit-vec",
1944- "bitflags 2.4.0",1944+ "bitflags 2.4.1",
1945 "lazy_static",1945 "lazy_static",
1946 "num-traits",1946 "num-traits",
1947 "rand",1947 "rand",
@@ -2064,13 +2064,13 @@ dependencies = [
2064 2064
2065 [[package]]2065 [[package]]
2066 name = "regex"2066 name = "regex"
2067-version = "1.10.1"2067+version = "1.10.2"
2068 source = "registry+https://github.com/rust-lang/crates.io-index"2068 source = "registry+https://github.com/rust-lang/crates.io-index"
2069-checksum = "aaac441002f822bc9705a681810a4dd2963094b9ca0ddc41cb963a4c189189ea"2069+checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343"
2070 dependencies = [2070 dependencies = [
2071 "aho-corasick",2071 "aho-corasick",
2072 "memchr",2072 "memchr",
2073- "regex-automata 0.4.2",2073+ "regex-automata 0.4.3",
2074 "regex-syntax 0.8.2",2074 "regex-syntax 0.8.2",
2075 ]2075 ]
2076 2076
@@ -2085,9 +2085,9 @@ dependencies = [
2085 2085
2086 [[package]]2086 [[package]]
2087 name = "regex-automata"2087 name = "regex-automata"
2088-version = "0.4.2"2088+version = "0.4.3"
2089 source = "registry+https://github.com/rust-lang/crates.io-index"2089 source = "registry+https://github.com/rust-lang/crates.io-index"
2090-checksum = "5011c7e263a695dc8ca064cddb722af1be54e517a280b12a5356f98366899e5d"2090+checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f"
2091 dependencies = [2091 dependencies = [
2092 "aho-corasick",2092 "aho-corasick",
2093 "memchr",2093 "memchr",
@@ -2120,9 +2120,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
2120 2120
2121 [[package]]2121 [[package]]
2122 name = "rustix"2122 name = "rustix"
2123-version = "0.37.25"2123+version = "0.37.26"
2124 source = "registry+https://github.com/rust-lang/crates.io-index"2124 source = "registry+https://github.com/rust-lang/crates.io-index"
2125-checksum = "d4eb579851244c2c03e7c24f501c3432bed80b8f720af1d6e5b0e0f01555a035"2125+checksum = "84f3f8f960ed3b5a59055428714943298bf3fa2d4a1d53135084e0544829d995"
2126 dependencies = [2126 dependencies = [
2127 "bitflags 1.3.2",2127 "bitflags 1.3.2",
2128 "errno",2128 "errno",
@@ -2134,11 +2134,11 @@ dependencies = [
2134 2134
2135 [[package]]2135 [[package]]
2136 name = "rustix"2136 name = "rustix"
2137-version = "0.38.19"2137+version = "0.38.20"
2138 source = "registry+https://github.com/rust-lang/crates.io-index"2138 source = "registry+https://github.com/rust-lang/crates.io-index"
2139-checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed"2139+checksum = "67ce50cb2e16c2903e30d1cbccfd8387a74b9d4c938b6a4c5ec6cc7556f7a8a0"
2140 dependencies = [2140 dependencies = [
2141- "bitflags 2.4.0",2141+ "bitflags 2.4.1",
2142 "errno",2142 "errno",
2143 "libc",2143 "libc",
2144 "linux-raw-sys 0.4.10",2144 "linux-raw-sys 0.4.10",
@@ -2214,9 +2214,9 @@ dependencies = [
2214 2214
2215 [[package]]2215 [[package]]
2216 name = "serde_spanned"2216 name = "serde_spanned"
2217-version = "0.6.3"2217+version = "0.6.4"
2218 source = "registry+https://github.com/rust-lang/crates.io-index"2218 source = "registry+https://github.com/rust-lang/crates.io-index"
2219-checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186"2219+checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80"
2220 dependencies = [2220 dependencies = [
2221 "serde",2221 "serde",
2222 ]2222 ]
@@ -2289,10 +2289,10 @@ checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a"
2289 [[package]]2289 [[package]]
2290 name = "smithay"2290 name = "smithay"
2291 version = "0.3.0"2291 version = "0.3.0"
2292-source = "git+https://github.com/Smithay/smithay.git#4e41ab0694c1c43324cc217dcf2a203cd240c0dc"2292+source = "git+https://github.com/Smithay/smithay.git#7e2e3c4975aae6ce8f83ac6f63205e244b6fda6e"
2293 dependencies = [2293 dependencies = [
2294 "appendlist",2294 "appendlist",
2295- "bitflags 2.4.0",2295+ "bitflags 2.4.1",
2296 "calloop 0.12.3",2296 "calloop 0.12.3",
2297 "cc",2297 "cc",
2298 "cgmath",2298 "cgmath",
@@ -2301,6 +2301,7 @@ dependencies = [
2301 "drm",2301 "drm",
2302 "drm-ffi",2302 "drm-ffi",
2303 "drm-fourcc",2303 "drm-fourcc",
2304+ "errno",
2304 "gbm",2305 "gbm",
2305 "gl_generator",2306 "gl_generator",
2306 "indexmap",2307 "indexmap",
@@ -2314,6 +2315,7 @@ dependencies = [
2314 "pkg-config",2315 "pkg-config",
2315 "profiling",2316 "profiling",
2316 "rand",2317 "rand",
2318+ "rustix 0.38.20",
2317 "scan_fmt",2319 "scan_fmt",
2318 "smallvec",2320 "smallvec",
2319 "tempfile",2321 "tempfile",
@@ -2353,7 +2355,7 @@ dependencies = [
2353 [[package]]2355 [[package]]
2354 name = "smithay-drm-extras"2356 name = "smithay-drm-extras"
2355 version = "0.1.0"2357 version = "0.1.0"
2356-source = "git+https://github.com/Smithay/smithay.git#4e41ab0694c1c43324cc217dcf2a203cd240c0dc"2358+source = "git+https://github.com/Smithay/smithay.git#7e2e3c4975aae6ce8f83ac6f63205e244b6fda6e"
2357 dependencies = [2359 dependencies = [
2358 "drm",2360 "drm",
2359 "edid-rs",2361 "edid-rs",
@@ -2361,9 +2363,9 @@ dependencies = [
2361 2363
2362 [[package]]2364 [[package]]
2363 name = "socket2"2365 name = "socket2"
2364-version = "0.4.9"2366+version = "0.4.10"
2365 source = "registry+https://github.com/rust-lang/crates.io-index"2367 source = "registry+https://github.com/rust-lang/crates.io-index"
2366-checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662"2368+checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d"
2367 dependencies = [2369 dependencies = [
2368 "libc",2370 "libc",
2369 "winapi",2371 "winapi",
@@ -2418,9 +2420,9 @@ dependencies = [
2418 2420
2419 [[package]]2421 [[package]]
2420 name = "target-lexicon"2422 name = "target-lexicon"
2421-version = "0.12.11"2423+version = "0.12.12"
2422 source = "registry+https://github.com/rust-lang/crates.io-index"2424 source = "registry+https://github.com/rust-lang/crates.io-index"
2423-checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a"2425+checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a"
2424 2426
2425 [[package]]2427 [[package]]
2426 name = "tempfile"2428 name = "tempfile"
@@ -2431,24 +2433,24 @@ dependencies = [
2431 "cfg-if",2433 "cfg-if",
2432 "fastrand 2.0.1",2434 "fastrand 2.0.1",
2433 "redox_syscall 0.3.5",2435 "redox_syscall 0.3.5",
2434- "rustix 0.38.19",2436+ "rustix 0.38.20",
2435 "windows-sys 0.48.0",2437 "windows-sys 0.48.0",
2436 ]2438 ]
2437 2439
2438 [[package]]2440 [[package]]
2439 name = "thiserror"2441 name = "thiserror"
2440-version = "1.0.49"2442+version = "1.0.50"
2441 source = "registry+https://github.com/rust-lang/crates.io-index"2443 source = "registry+https://github.com/rust-lang/crates.io-index"
2442-checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4"2444+checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2"
2443 dependencies = [2445 dependencies = [
2444 "thiserror-impl",2446 "thiserror-impl",
2445 ]2447 ]
2446 2448
2447 [[package]]2449 [[package]]
2448 name = "thiserror-impl"2450 name = "thiserror-impl"
2449-version = "1.0.49"2451+version = "1.0.50"
2450 source = "registry+https://github.com/rust-lang/crates.io-index"2452 source = "registry+https://github.com/rust-lang/crates.io-index"
2451-checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc"2453+checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8"
2452 dependencies = [2454 dependencies = [
2453 "proc-macro2",2455 "proc-macro2",
2454 "quote",2456 "quote",
@@ -2498,21 +2500,21 @@ dependencies = [
2498 2500
2499 [[package]]2501 [[package]]
2500 name = "toml"2502 name = "toml"
2501-version = "0.8.2"2503+version = "0.8.4"
2502 source = "registry+https://github.com/rust-lang/crates.io-index"2504 source = "registry+https://github.com/rust-lang/crates.io-index"
2503-checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d"2505+checksum = "2ef75d881185fd2df4a040793927c153d863651108a93c7e17a9e591baa95cc6"
2504 dependencies = [2506 dependencies = [
2505 "serde",2507 "serde",
2506 "serde_spanned",2508 "serde_spanned",
2507 "toml_datetime",2509 "toml_datetime",
2508- "toml_edit 0.20.2",2510+ "toml_edit 0.20.4",
2509 ]2511 ]
2510 2512
2511 [[package]]2513 [[package]]
2512 name = "toml_datetime"2514 name = "toml_datetime"
2513-version = "0.6.3"2515+version = "0.6.5"
2514 source = "registry+https://github.com/rust-lang/crates.io-index"2516 source = "registry+https://github.com/rust-lang/crates.io-index"
2515-checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"2517+checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1"
2516 dependencies = [2518 dependencies = [
2517 "serde",2519 "serde",
2518 ]2520 ]
@@ -2530,9 +2532,9 @@ dependencies = [
2530 2532
2531 [[package]]2533 [[package]]
2532 name = "toml_edit"2534 name = "toml_edit"
2533-version = "0.20.2"2535+version = "0.20.4"
2534 source = "registry+https://github.com/rust-lang/crates.io-index"2536 source = "registry+https://github.com/rust-lang/crates.io-index"
2535-checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"2537+checksum = "380f9e8120405471f7c9ad1860a713ef5ece6a670c7eae39225e477340f32fc4"
2536 dependencies = [2538 dependencies = [
2537 "indexmap",2539 "indexmap",
2538 "serde",2540 "serde",
@@ -2543,9 +2545,9 @@ dependencies = [
2543 2545
2544 [[package]]2546 [[package]]
2545 name = "tracing"2547 name = "tracing"
2546-version = "0.1.39"2548+version = "0.1.40"
2547 source = "registry+https://github.com/rust-lang/crates.io-index"2549 source = "registry+https://github.com/rust-lang/crates.io-index"
2548-checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9"2550+checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
2549 dependencies = [2551 dependencies = [
2550 "pin-project-lite",2552 "pin-project-lite",
2551 "tracing-attributes",2553 "tracing-attributes",
@@ -2575,12 +2577,12 @@ dependencies = [
2575 2577
2576 [[package]]2578 [[package]]
2577 name = "tracing-log"2579 name = "tracing-log"
2578-version = "0.1.3"2580+version = "0.1.4"
2579 source = "registry+https://github.com/rust-lang/crates.io-index"2581 source = "registry+https://github.com/rust-lang/crates.io-index"
2580-checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922"2582+checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2"
2581 dependencies = [2583 dependencies = [
2582- "lazy_static",
2583 "log",2584 "log",
2585+ "once_cell",
2584 "tracing-core",2586 "tracing-core",
2585 ]2587 ]
2586 2588
@@ -2871,7 +2873,7 @@ version = "0.31.0"
2871 source = "registry+https://github.com/rust-lang/crates.io-index"2873 source = "registry+https://github.com/rust-lang/crates.io-index"
2872 checksum = "e253d7107ba913923dc253967f35e8561a3c65f914543e46843c88ddd729e21c"2874 checksum = "e253d7107ba913923dc253967f35e8561a3c65f914543e46843c88ddd729e21c"
2873 dependencies = [2875 dependencies = [
2874- "bitflags 2.4.0",2876+ "bitflags 2.4.1",
2875 "wayland-backend",2877 "wayland-backend",
2876 "wayland-scanner 0.31.0",2878 "wayland-scanner 0.31.0",
2877 "wayland-server",2879 "wayland-server",
@@ -2883,7 +2885,7 @@ version = "0.2.0"
2883 source = "registry+https://github.com/rust-lang/crates.io-index"2885 source = "registry+https://github.com/rust-lang/crates.io-index"
2884 checksum = "bfa5933740b200188c9b4c38601b8212e8c154d7de0d2cb171944e137a77de1e"2886 checksum = "bfa5933740b200188c9b4c38601b8212e8c154d7de0d2cb171944e137a77de1e"
2885 dependencies = [2887 dependencies = [
2886- "bitflags 2.4.0",2888+ "bitflags 2.4.1",
2887 "wayland-backend",2889 "wayland-backend",
2888 "wayland-protocols 0.31.0",2890 "wayland-protocols 0.31.0",
2889 "wayland-scanner 0.31.0",2891 "wayland-scanner 0.31.0",
@@ -2896,7 +2898,7 @@ version = "0.2.0"
2896 source = "registry+https://github.com/rust-lang/crates.io-index"2898 source = "registry+https://github.com/rust-lang/crates.io-index"
2897 checksum = "ad1f61b76b6c2d8742e10f9ba5c3737f6530b4c243132c2a2ccc8aa96fe25cd6"2899 checksum = "ad1f61b76b6c2d8742e10f9ba5c3737f6530b4c243132c2a2ccc8aa96fe25cd6"
2898 dependencies = [2900 dependencies = [
2899- "bitflags 2.4.0",2901+ "bitflags 2.4.1",
2900 "wayland-backend",2902 "wayland-backend",
2901 "wayland-protocols 0.31.0",2903 "wayland-protocols 0.31.0",
2902 "wayland-scanner 0.31.0",2904 "wayland-scanner 0.31.0",
@@ -2931,7 +2933,7 @@ version = "0.31.0"
2931 source = "registry+https://github.com/rust-lang/crates.io-index"2933 source = "registry+https://github.com/rust-lang/crates.io-index"
2932 checksum = "3f3f0c52a445936ca1184c98f1a69cf4ad9c9130788884531ef04428468cb1ce"2934 checksum = "3f3f0c52a445936ca1184c98f1a69cf4ad9c9130788884531ef04428468cb1ce"
2933 dependencies = [2935 dependencies = [
2934- "bitflags 2.4.0",2936+ "bitflags 2.4.1",
2935 "downcast-rs",2937 "downcast-rs",
2936 "io-lifetimes 2.0.2",2938 "io-lifetimes 2.0.2",
2937 "nix 0.26.4",2939 "nix 0.26.4",
@@ -3211,12 +3213,12 @@ dependencies = [
3211 3213
3212 [[package]]3214 [[package]]
3213 name = "xkbcommon"3215 name = "xkbcommon"
3214-version = "0.6.0"3216+version = "0.7.0"
3215 source = "registry+https://github.com/rust-lang/crates.io-index"3217 source = "registry+https://github.com/rust-lang/crates.io-index"
3216-checksum = "c286371c44b3572d19b09196c129a8fff47d7704d6494daefb44fec10f0278ab"3218+checksum = "13867d259930edc7091a6c41b4ce6eee464328c6ff9659b7e4c668ca20d4c91e"
3217 dependencies = [3219 dependencies = [
3218 "libc",3220 "libc",
3219- "memmap2 0.7.1",3221+ "memmap2 0.8.0",
3220 "xkeysym",3222 "xkeysym",
3221 ]3223 ]
3222 3224
@@ -3298,6 +3300,26 @@ dependencies = [
3298 "zvariant",3300 "zvariant",
3299 ]3301 ]
3300 3302
3303+[[package]]
3304+name = "zerocopy"
3305+version = "0.7.11"
3306+source = "registry+https://github.com/rust-lang/crates.io-index"
3307+checksum = "4c19fae0c8a9efc6a8281f2e623db8af1db9e57852e04cde3e754dd2dc29340f"
3308+dependencies = [
3309+ "zerocopy-derive",
3310+]
3311+
3312+[[package]]
3313+name = "zerocopy-derive"
3314+version = "0.7.11"
3315+source = "registry+https://github.com/rust-lang/crates.io-index"
3316+checksum = "fc56589e9ddd1f1c28d4b4b5c773ce232910a6bb67a70133d61c9e347585efe9"
3317+dependencies = [
3318+ "proc-macro2",
3319+ "quote",
3320+ "syn 2.0.38",
3321+]
3322+
3301 [[package]]3323 [[package]]
3302 name = "zvariant"3324 name = "zvariant"
3303 version = "3.15.0"3325 version = "3.15.0"
Cargo.tomlmodified+4 -5
@@ -11,7 +11,7 @@ anyhow = { version = "1.0.75" }
11 arrayvec = "0.7.4"11 arrayvec = "0.7.4"
12 async-channel = { version = "1.9.0", optional = true }12 async-channel = { version = "1.9.0", optional = true }
13 async-io = { version = "1.13.0", optional = true }13 async-io = { version = "1.13.0", optional = true }
14-bitflags = "2.4.0"14+bitflags = "2.4.1"
15 clap = { version = "4.4.6", features = ["derive"] }15 clap = { version = "4.4.6", features = ["derive"] }
16 directories = "5.0.1"16 directories = "5.0.1"
17 image = { version = "0.24.7", default-features = false, features = ["png"] }17 image = { version = "0.24.7", default-features = false, features = ["png"] }
@@ -21,15 +21,14 @@ libc = "0.2.149"
21 logind-zbus = { version = "3.1.2", optional = true }21 logind-zbus = { version = "3.1.2", optional = true }
22 log = { version = "0.4.20", features = ["max_level_trace", "release_max_level_debug"] }22 log = { version = "0.4.20", features = ["max_level_trace", "release_max_level_debug"] }
23 miette = "5.10.0"23 miette = "5.10.0"
24-nix = { version = "0.27.1", default-features = false, features = ["time"] }
25 pipewire = { version = "0.7.2", optional = true }24 pipewire = { version = "0.7.2", optional = true }
26-portable-atomic = { version = "1.4.3", default-features = false, features = ["float"] }25+portable-atomic = { version = "1.5.0", default-features = false, features = ["float"] }
27 profiling = "1.0.11"26 profiling = "1.0.11"
28 sd-notify = "0.4.1"27 sd-notify = "0.4.1"
29 serde = { version = "1.0.189", features = ["derive"] }28 serde = { version = "1.0.189", features = ["derive"] }
30-time = { version = "0.3.29", features = ["formatting", "local-offset", "macros"] }29+time = { version = "0.3.30", features = ["formatting", "local-offset", "macros"] }
31 tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }30 tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
32-tracing = { version = "0.1.37", features = ["max_level_trace", "release_max_level_debug"] }31+tracing = { version = "0.1.40", features = ["max_level_trace", "release_max_level_debug"] }
33 tracy-client = { version = "0.16.3", default-features = false }32 tracy-client = { version = "0.16.3", default-features = false }
34 xcursor = "0.3.4"33 xcursor = "0.3.4"
35 zbus = { version = "3.14.1", optional = true }34 zbus = { version = "3.14.1", optional = true }
src/backend/tty.rsmodified+4 -5
@@ -1,13 +1,13 @@
1 use std::cell::RefCell;1 use std::cell::RefCell;
2 use std::collections::{HashMap, HashSet};2 use std::collections::{HashMap, HashSet};
3 use std::mem;3 use std::mem;
4-use std::os::fd::FromRawFd;
5 use std::path::{Path, PathBuf};4 use std::path::{Path, PathBuf};
6 use std::rc::Rc;5 use std::rc::Rc;
7 use std::sync::{Arc, Mutex};6 use std::sync::{Arc, Mutex};
8 use std::time::Duration;7 use std::time::Duration;
9 8
10 use anyhow::{anyhow, Context};9 use anyhow::{anyhow, Context};
10+use libc::dev_t;
11 use smithay::backend::allocator::dmabuf::Dmabuf;11 use smithay::backend::allocator::dmabuf::Dmabuf;
12 use smithay::backend::allocator::gbm::{GbmAllocator, GbmBufferFlags, GbmDevice};12 use smithay::backend::allocator::gbm::{GbmAllocator, GbmBufferFlags, GbmDevice};
13 use smithay::backend::allocator::{Format as DrmFormat, Fourcc};13 use smithay::backend::allocator::{Format as DrmFormat, Fourcc};
@@ -29,8 +29,7 @@ use smithay::reexports::drm::control::{
29 connector, crtc, Mode as DrmMode, ModeFlags, ModeTypeFlags, Device, property,29 connector, crtc, Mode as DrmMode, ModeFlags, ModeTypeFlags, Device, property,
30 };30 };
31 use smithay::reexports::input::Libinput;31 use smithay::reexports::input::Libinput;
32-use smithay::reexports::nix::fcntl::OFlag;32+use smithay::reexports::rustix::fs::OFlags;
33-use smithay::reexports::nix::libc::dev_t;
34 use smithay::reexports::wayland_protocols::wp::linux_dmabuf::zv1::server::zwp_linux_dmabuf_feedback_v1::TrancheFlags;33 use smithay::reexports::wayland_protocols::wp::linux_dmabuf::zv1::server::zwp_linux_dmabuf_feedback_v1::TrancheFlags;
35 use smithay::reexports::wayland_protocols::wp::presentation_time::server::wp_presentation_feedback;34 use smithay::reexports::wayland_protocols::wp::presentation_time::server::wp_presentation_feedback;
36 use smithay::utils::DeviceFd;35 use smithay::utils::DeviceFd;
@@ -285,9 +284,9 @@ impl Tty {
285 debug!("adding device {path:?}");284 debug!("adding device {path:?}");
286 assert!(self.output_device.is_none());285 assert!(self.output_device.is_none());
287 286
288- let open_flags = OFlag::O_RDWR | OFlag::O_CLOEXEC | OFlag::O_NOCTTY | OFlag::O_NONBLOCK;287+ let open_flags = OFlags::RDWR | OFlags::CLOEXEC | OFlags::NOCTTY | OFlags::NONBLOCK;
289 let fd = self.session.open(path, open_flags)?;288 let fd = self.session.open(path, open_flags)?;
290- let device_fd = unsafe { DrmDeviceFd::new(DeviceFd::from_raw_fd(fd)) };289+ let device_fd = DrmDeviceFd::new(DeviceFd::from(fd));
291 290
292 let (drm, drm_notifier) = DrmDevice::new(device_fd.clone(), true)?;291 let (drm, drm_notifier) = DrmDevice::new(device_fd.clone(), true)?;
293 let gbm = GbmDevice::new(device_fd)?;292 let gbm = GbmDevice::new(device_fd)?;
src/niri.rsmodified+5 -4
@@ -37,7 +37,6 @@ use smithay::reexports::calloop::timer::{TimeoutAction, Timer};
37 use smithay::reexports::calloop::{37 use smithay::reexports::calloop::{
38 self, Idle, Interest, LoopHandle, LoopSignal, Mode, PostAction, RegistrationToken,38 self, Idle, Interest, LoopHandle, LoopSignal, Mode, PostAction, RegistrationToken,
39 };39 };
40-use smithay::reexports::nix::libc::CLOCK_MONOTONIC;
41 use smithay::reexports::wayland_protocols::xdg::shell::server::xdg_toplevel::WmCapabilities;40 use smithay::reexports::wayland_protocols::xdg::shell::server::xdg_toplevel::WmCapabilities;
42 use smithay::reexports::wayland_protocols_misc::server_decoration as _server_decoration;41 use smithay::reexports::wayland_protocols_misc::server_decoration as _server_decoration;
43 use smithay::reexports::wayland_server::backend::{42 use smithay::reexports::wayland_server::backend::{
@@ -46,7 +45,8 @@ use smithay::reexports::wayland_server::backend::{
46 use smithay::reexports::wayland_server::protocol::wl_surface::WlSurface;45 use smithay::reexports::wayland_server::protocol::wl_surface::WlSurface;
47 use smithay::reexports::wayland_server::{Display, DisplayHandle};46 use smithay::reexports::wayland_server::{Display, DisplayHandle};
48 use smithay::utils::{47 use smithay::utils::{
49- IsAlive, Logical, Physical, Point, Rectangle, Scale, Size, Transform, SERIAL_COUNTER,48+ ClockSource, IsAlive, Logical, Monotonic, Physical, Point, Rectangle, Scale, Size, Transform,
49+ SERIAL_COUNTER,
50 };50 };
51 use smithay::wayland::compositor::{51 use smithay::wayland::compositor::{
52 with_states, with_surface_tree_downward, CompositorClientState, CompositorState, SurfaceData,52 with_states, with_surface_tree_downward, CompositorClientState, CompositorState, SurfaceData,
@@ -506,10 +506,11 @@ impl Niri {
506 |_| true,506 |_| true,
507 );507 );
508 let presentation_state =508 let presentation_state =
509- PresentationState::new::<State>(&display_handle, CLOCK_MONOTONIC as u32);509+ PresentationState::new::<State>(&display_handle, Monotonic::id() as u32);
510 510
511 let text_input_state = TextInputManagerState::new::<State>(&display_handle);511 let text_input_state = TextInputManagerState::new::<State>(&display_handle);
512- let input_method_state = InputMethodManagerState::new::<State>(&display_handle);512+ let input_method_state =
513+ InputMethodManagerState::new::<State, _>(&display_handle, |_| true);
513 let virtual_keyboard_state =514 let virtual_keyboard_state =
514 VirtualKeyboardManagerState::new::<State, _>(&display_handle, |_| true);515 VirtualKeyboardManagerState::new::<State, _>(&display_handle, |_| true);
515 516
src/utils.rsmodified+3 -2
@@ -7,12 +7,13 @@ use std::time::Duration;
7 7
8 use anyhow::Context;8 use anyhow::Context;
9 use directories::UserDirs;9 use directories::UserDirs;
10-use nix::time::{clock_gettime, ClockId};10+use smithay::reexports::rustix::time::{clock_gettime, ClockId};
11 use smithay::utils::{Logical, Point, Rectangle};11 use smithay::utils::{Logical, Point, Rectangle};
12 use time::OffsetDateTime;12 use time::OffsetDateTime;
13 13
14 pub fn get_monotonic_time() -> Duration {14 pub fn get_monotonic_time() -> Duration {
15- Duration::from(clock_gettime(ClockId::CLOCK_MONOTONIC).unwrap())15+ let ts = clock_gettime(ClockId::Monotonic);
16+ Duration::new(ts.tv_sec as u64, ts.tv_nsec as u32)
16 }17 }
17 18
18 pub fn center(rect: Rectangle<i32, Logical>) -> Point<i32, Logical> {19 pub fn center(rect: Rectangle<i32, Logical>) -> Point<i32, Logical> {