From cc4d0f08a4916e8262bcdf1d7b8bee653c0b332d Mon Sep 17 00:00:00 2001 From: EliasSchriefer Date: Sun, 20 Sep 2020 23:29:03 +0200 Subject: [PATCH] Update files so that they use the new `dbus-tree` --- sfsmcctl/Cargo.toml | 3 ++- sfsmcd/Cargo.toml | 1 + sfsmcd/src/ifaces.rs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sfsmcctl/Cargo.toml b/sfsmcctl/Cargo.toml index 02b6dec..f798d27 100644 --- a/sfsmcctl/Cargo.toml +++ b/sfsmcctl/Cargo.toml @@ -14,4 +14,5 @@ async-minecraft-ping = "0.2" dbus = { version = "0.9", features = ["futures"] } dbus-tokio = "0.5" log = "0.4" -env_logger = "0.7" \ No newline at end of file +env_logger = "0.7" +dbus-tree = "0.9" \ No newline at end of file diff --git a/sfsmcd/Cargo.toml b/sfsmcd/Cargo.toml index f27eea2..33f326f 100644 --- a/sfsmcd/Cargo.toml +++ b/sfsmcd/Cargo.toml @@ -14,6 +14,7 @@ dbus = { version = "0.9", features = ["futures"] } dbus-tokio = "0.5" log = "0.4" env_logger = "0.7" +dbus-tree = "0.9" [features] minecraft-server = [] \ No newline at end of file diff --git a/sfsmcd/src/ifaces.rs b/sfsmcd/src/ifaces.rs index cf6091f..887f849 100644 --- a/sfsmcd/src/ifaces.rs +++ b/sfsmcd/src/ifaces.rs @@ -118,7 +118,7 @@ impl Service { #[derive(Default, Debug, Copy, Clone)] pub struct ServiceData; -impl dbus::tree::DataType for ServiceData { +impl dbus_tree::DataType for ServiceData { type Tree = (); type ObjectPath = std::sync::Arc>; type Property = ();