diff --git a/qemu-rdp/src/args.rs b/qemu-rdp/src/args.rs index da73e45..97f5b21 100644 --- a/qemu-rdp/src/args.rs +++ b/qemu-rdp/src/args.rs @@ -1,5 +1,4 @@ -use clap::clap_derive::ValueEnum; -use clap::Parser; +use clap::{clap_derive::ValueEnum, Parser}; #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, ValueEnum)] pub enum SecurityProtocol { diff --git a/qemu-rdp/src/main.rs b/qemu-rdp/src/main.rs index 7dfd6d6..c93bd44 100644 --- a/qemu-rdp/src/main.rs +++ b/qemu-rdp/src/main.rs @@ -28,8 +28,7 @@ async fn main() -> Result<(), anyhow::Error> { fn setup_logging() -> anyhow::Result<()> { use tracing::metadata::LevelFilter; - use tracing_subscriber::prelude::*; - use tracing_subscriber::EnvFilter; + use tracing_subscriber::{prelude::*, EnvFilter}; let fmt_layer = tracing_subscriber::fmt::layer().compact(); diff --git a/qemu-rdp/src/server/display.rs b/qemu-rdp/src/server/display.rs index 1fdd64c..df68757 100644 --- a/qemu-rdp/src/server/display.rs +++ b/qemu-rdp/src/server/display.rs @@ -1,9 +1,12 @@ use anyhow::Result; use qemu_display::{zbus, Console, ConsoleListenerHandler, Cursor, MouseSet, Scanout, Update}; -use ironrdp::connector::DesktopSize; -use ironrdp::server::{ - BitmapUpdate, DisplayUpdate, PixelOrder, RGBAPointer, RdpServerDisplay, RdpServerDisplayUpdates, +use ironrdp::{ + connector::DesktopSize, + server::{ + BitmapUpdate, DisplayUpdate, PixelOrder, RGBAPointer, RdpServerDisplay, + RdpServerDisplayUpdates, + }, }; use crate::{cast, util::PixmanFormat};