chore: update to Rust 2024 edition

This commit is contained in:
Vukašin Vojinović 2025-08-12 21:38:51 +02:00 committed by Michael Murphy
parent c3fafd3910
commit 2b7b4cba56
71 changed files with 254 additions and 292 deletions

View file

@ -4,7 +4,7 @@
// TODO: Both this and server proxy could emit same events, have way to generate stream from either?
use cosmic::iced::{self, Subscription};
use futures::{stream, StreamExt};
use futures::{StreamExt, stream};
use crate::subscriptions::status_notifier_item::StatusNotifierItem;

View file

@ -7,11 +7,11 @@
use futures::prelude::*;
use zbus::{
Result,
fdo::{DBusProxy, RequestNameFlags, RequestNameReply},
message::Header,
names::{BusName, UniqueName, WellKnownName},
object_server::SignalEmitter,
Result,
};
const NAME: WellKnownName =
@ -65,7 +65,7 @@ impl StatusNotifierWatcher {
#[zbus(signal)]
async fn status_notifier_item_registered(ctxt: &SignalEmitter<'_>, service: &str)
-> Result<()>;
-> Result<()>;
#[zbus(signal)]
async fn status_notifier_item_unregistered(