diff options
author | Silas Bartha <[email protected]> | 2024-12-11 03:36:50 -0500 |
---|---|---|
committer | Silas Bartha <[email protected]> | 2024-12-11 03:36:50 -0500 |
commit | 070ae7a6ac8daf7a5d5abecc5a45b78611883246 (patch) | |
tree | 1a1b83a072b0ee195158be26d153a1d7ebfede7c /src/interface.rs | |
parent | 4c99274340d741d61aa4eb71f51241826f896cf4 (diff) |
Added automatic retry + updated dependenciesv1.5.0
Diffstat (limited to 'src/interface.rs')
-rw-r--r-- | src/interface.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.rs b/src/interface.rs index 870162c..205bb43 100644 --- a/src/interface.rs +++ b/src/interface.rs @@ -1,5 +1,5 @@ use std::{sync::{Arc, Mutex}, time::Duration}; -use zbus::dbus_interface; +use zbus::interface; use crate::pomd::Pomd; @@ -17,7 +17,7 @@ impl PomdInterface { } } -#[dbus_interface(name = "dev.exvacuum.pomd")] +#[interface(name = "dev.exvacuum.pomd")] impl PomdInterface { fn get_remaining(&self) -> Duration { let data = self.state.lock().unwrap(); |