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 = ();