chore: add rustfmt config
This commit is contained in:
parent
cb4a0d3a3a
commit
4b1f388a4f
78 changed files with 394 additions and 485 deletions
|
|
@ -2,13 +2,11 @@
|
|||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
use crate::{Active, Event};
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
convert::Infallible,
|
||||
hash::{Hash, Hasher},
|
||||
path::PathBuf,
|
||||
time::Duration,
|
||||
};
|
||||
use std::collections::HashMap;
|
||||
use std::convert::Infallible;
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::path::PathBuf;
|
||||
use std::time::Duration;
|
||||
use zbus::zvariant::OwnedObjectPath;
|
||||
|
||||
#[derive(Default, Debug, Clone)]
|
||||
|
|
|
|||
|
|
@ -3,11 +3,9 @@
|
|||
|
||||
use crate::{Active, Event};
|
||||
use futures::join;
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
hash::{Hash, Hasher},
|
||||
time::Duration,
|
||||
};
|
||||
use std::collections::HashMap;
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::time::Duration;
|
||||
use zbus::zvariant::OwnedObjectPath;
|
||||
|
||||
const DEFAILT_DEVICE_ICON: &str = "bluetooth-symbolic";
|
||||
|
|
|
|||
|
|
@ -5,9 +5,11 @@ use crate::{AdapterUpdate, Device, DeviceUpdate, Event};
|
|||
use std::pin::Pin;
|
||||
|
||||
use bluez_zbus::BluetoothDevice;
|
||||
use futures::{channel::mpsc, stream::FusedStream};
|
||||
use futures::channel::mpsc;
|
||||
use futures::stream::FusedStream;
|
||||
use iced_futures::futures::{SinkExt, StreamExt};
|
||||
use zbus::{fdo, zvariant::OwnedObjectPath};
|
||||
use zbus::fdo;
|
||||
use zbus::zvariant::OwnedObjectPath;
|
||||
|
||||
enum DevicePropertyWatcherTask {
|
||||
Add(OwnedObjectPath),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue