mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-11-10 01:50:00 +00:00
cargo fmt
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
56b38e54d7
commit
7e78eee0e8
@ -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 {
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user