From f1df35a2be12a399866328a89568061628c3b1d6 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 7 Aug 2024 18:25:40 -0400 Subject: [PATCH] fix: Update hyprland-rs for Hyprland v0.42.0 Fixes an issue where new fullscreen states broke hyprland-rs. --- Cargo.lock | 22 ++++++++++++++++------ Cargo.toml | 2 +- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7fc9f81..07e2bec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -267,9 +267,8 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hyprland" -version = "0.4.0-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54fdc60390459bd6da28ec708ee7a672b8f6680efb8f8f33cbe970da16f40a48" +version = "0.4.0-alpha.2" +source = "git+https://github.com/MrYuto/hyprland-rs#7a309a24a94f88973f8d3fb1e7d687e3d730d351" dependencies = [ "ahash", "derive_more", @@ -286,9 +285,8 @@ dependencies = [ [[package]] name = "hyprland-macros" -version = "0.4.0-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dd8ce4c182ce77e485918f49262425ee51a2746fe97f14084869aeff2fbc38e" +version = "0.4.0-alpha.2" +source = "git+https://github.com/MrYuto/hyprland-rs#7a309a24a94f88973f8d3fb1e7d687e3d730d351" dependencies = [ "quote", "syn 2.0.60", @@ -608,9 +606,21 @@ dependencies = [ "mio", "pin-project-lite", "socket2", + "tokio-macros", "windows-sys 0.48.0", ] +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "toml" version = "0.8.12" diff --git a/Cargo.toml b/Cargo.toml index c2ea695..d6047f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "GPL-3.0-or-later" [dependencies] clap = { version = "4.5.4", features = ["derive"] } -hyprland = "0.4.0-alpha.1" +hyprland = { git = "https://github.com/MrYuto/hyprland-rs" } [build-dependencies] clap = { version = "4.5.4", features = ["derive"] }