Update files so that they use the new dbus-tree

This commit is contained in:
Elias Schriefer 2020-09-20 23:29:03 +02:00
parent 5543cafc2c
commit cc4d0f08a4
3 changed files with 4 additions and 2 deletions

View File

@ -15,3 +15,4 @@ dbus = { version = "0.9", features = ["futures"] }
dbus-tokio = "0.5"
log = "0.4"
env_logger = "0.7"
dbus-tree = "0.9"

View File

@ -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 = []

View File

@ -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<tokio::sync::RwLock<Service>>;
type Property = ();