From e74ae2f9ce9e9c7054b6ecd980b66be29b41809e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 7 Aug 2024 18:41:47 -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 952b406..4cd3d42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -311,9 +311,8 @@ dependencies = [ [[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", @@ -330,9 +329,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", @@ -705,9 +703,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 3308de4..b69482b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ version = "3.4.4" features = ["termination"] [dependencies.hyprland] -version = "0.4.0-alpha.1" +git = "https://github.com/MrYuto/hyprland-rs" features = ["silent"] [build-dependencies]