Update files so that they use the new dbus-tree
This commit is contained in:
parent
5543cafc2c
commit
cc4d0f08a4
@ -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"
|
@ -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 = []
|
@ -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 = ();
|
||||
|
Loading…
Reference in New Issue
Block a user