chore: add rustfmt config

This commit is contained in:
Vukašin Vojinović 2026-05-04 18:02:46 +02:00 committed by Jacob Kauffmann
parent cb4a0d3a3a
commit 4b1f388a4f
78 changed files with 394 additions and 485 deletions

View file

@ -4,7 +4,8 @@
pub mod device {
use futures::{FutureExt, Stream, StreamExt};
use iced_futures::Subscription;
use std::{fmt::Debug, hash::Hash};
use std::fmt::Debug;
use std::hash::Hash;
use upower_dbus::{BatteryType, DeviceProxy, UPowerProxy};
pub fn device_subscription<I: 'static + Hash + Copy + Send + Sync + Debug>(
@ -97,7 +98,8 @@ pub mod kbdbacklight {
use futures::{FutureExt, Stream, StreamExt};
use iced_futures::Subscription;
use std::{fmt::Debug, hash::Hash};
use std::fmt::Debug;
use std::hash::Hash;
use tokio::sync::mpsc::{UnboundedSender, unbounded_channel};
use tokio_stream::wrappers::UnboundedReceiverStream;
use upower_dbus::{BrightnessChanged, KbdBacklightProxy};