cargo fmt

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2024-07-23 10:27:39 +04:00
parent 56b38e54d7
commit 7e78eee0e8
3 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,4 @@
use clap::clap_derive::ValueEnum; use clap::{clap_derive::ValueEnum, Parser};
use clap::Parser;
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, ValueEnum)] #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
pub enum SecurityProtocol { pub enum SecurityProtocol {

View File

@ -28,8 +28,7 @@ async fn main() -> Result<(), anyhow::Error> {
fn setup_logging() -> anyhow::Result<()> { fn setup_logging() -> anyhow::Result<()> {
use tracing::metadata::LevelFilter; use tracing::metadata::LevelFilter;
use tracing_subscriber::prelude::*; use tracing_subscriber::{prelude::*, EnvFilter};
use tracing_subscriber::EnvFilter;
let fmt_layer = tracing_subscriber::fmt::layer().compact(); let fmt_layer = tracing_subscriber::fmt::layer().compact();

View File

@ -1,9 +1,12 @@
use anyhow::Result; use anyhow::Result;
use qemu_display::{zbus, Console, ConsoleListenerHandler, Cursor, MouseSet, Scanout, Update}; use qemu_display::{zbus, Console, ConsoleListenerHandler, Cursor, MouseSet, Scanout, Update};
use ironrdp::connector::DesktopSize; use ironrdp::{
use ironrdp::server::{ connector::DesktopSize,
BitmapUpdate, DisplayUpdate, PixelOrder, RGBAPointer, RdpServerDisplay, RdpServerDisplayUpdates, server::{
BitmapUpdate, DisplayUpdate, PixelOrder, RGBAPointer, RdpServerDisplay,
RdpServerDisplayUpdates,
},
}; };
use crate::{cast, util::PixmanFormat}; use crate::{cast, util::PixmanFormat};