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

@ -10,28 +10,26 @@ use std::{
time::Duration,
};
pub use bluer::DeviceProperty;
use bluer::{
agent::{Agent, AgentHandle},
Adapter, Address, Session, Uuid,
agent::{Agent, AgentHandle},
};
use cosmic::{
iced::{
self,
self, Subscription,
futures::{SinkExt, StreamExt},
Subscription,
},
iced_futures::stream,
};
use futures::{stream::FuturesUnordered, FutureExt};
use futures::{FutureExt, stream::FuturesUnordered};
use rand::Rng;
use tokio::{
spawn,
sync::{
mpsc::{channel, Receiver, Sender},
Mutex, RwLock,
mpsc::{Receiver, Sender, channel},
},
task::JoinHandle,
};