diff --git a/Cargo.lock b/Cargo.lock index 1e31847..600c7ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,6 +143,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + [[package]] name = "color_quant" version = "1.1.0" @@ -654,23 +660,23 @@ dependencies = [ [[package]] name = "input-linux" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f403224ea808abe6182696e3a36d9875c0e942ba7c99239f9ef545b96e35606" +checksum = "b7e8c4821c88b95582ca69234a1d233f87e44182c42e121f740efb0bec1142e0" dependencies = [ "input-linux-sys", - "nix 0.26.4", + "nix 0.29.0", "serde", ] [[package]] name = "input-linux-sys" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a687a25a4973027df9153753a5589f97fe1e958f694a34eea5606ae65299ab8" +checksum = "7b91b2248b0eaf0a576ef5e60b7f2107a749e705a876bc0b9fe952ac8d83a724" dependencies = [ "libc", - "nix 0.26.4", + "nix 0.29.0", ] [[package]] @@ -722,9 +728,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.152" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "librsvg" @@ -934,12 +940,13 @@ dependencies = [ [[package]] name = "nix" -version = "0.27.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ "bitflags 2.6.0", "cfg-if", + "cfg_aliases", "libc", ] @@ -1621,7 +1628,7 @@ dependencies = [ "input-linux-sys", "libc", "librsvg", - "nix 0.27.1", + "nix 0.29.0", "pkg-config", "privdrop", "rand", diff --git a/Cargo.toml b/Cargo.toml index 45aa0b5..7ee3ca4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,9 @@ drm = "0.11.1" anyhow = "1" input = "0.8" libc = "0.2" -input-linux = { version = "0.6", features = ["serde"] } -input-linux-sys = "0.8" -nix = { version = "0.27", features = ["event", "signal", "inotify"] } +input-linux = { version = "0.7", features = ["serde"] } +input-linux-sys = "0.9" +nix = { version = "0.29", features = ["event", "signal", "inotify"] } privdrop = "0.5.3" serde = { version = "1", features = ["derive"] } toml = "0.8" diff --git a/src/main.rs b/src/main.rs index 82538f9..e3825b4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -461,7 +461,7 @@ fn real_main(drm: &mut DrmBackend) { needs_complete_redraw = false; } - match epoll.wait(&mut [EpollEvent::new(EpollFlags::EPOLLIN, 0)], next_timeout_ms as isize) { + match epoll.wait(&mut [EpollEvent::new(EpollFlags::EPOLLIN, 0)], next_timeout_ms as u16) { Err(Errno::EINTR) | Ok(_) => { 0 }, e => e.unwrap(), };