From 7c79e4e8c2b53fc55f8d06fdaf9c85178fd624a5 Mon Sep 17 00:00:00 2001 From: AdrianEddy Date: Wed, 28 Feb 2024 05:36:07 +0100 Subject: [PATCH] Update dependencies --- Cargo.toml | 4 ++-- src/linux.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fc3a4d8..37ffed7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,10 @@ categories = [ edition = '2021' [target.'cfg(target_os = "linux")'.dependencies] -"zbus" = "3.14.1" +"zbus" = "4.1.2" [target.'cfg(target_os = "windows")'.dependencies.windows] -version = '0.52.0' +version = '0.54.0' features = [ 'Win32_Foundation', 'Win32_Security', diff --git a/src/linux.rs b/src/linux.rs index 7fd1382..6e8fa92 100644 --- a/src/linux.rs +++ b/src/linux.rs @@ -17,7 +17,7 @@ fn name_has_owner(name: &str) -> bool { "NameHasOwner", &(name), ); - return reply.and_then(|r| r.body()).unwrap_or(false); + return reply.and_then(|r| r.body().deserialize()).unwrap_or(false); } false }