diff --git a/Cargo.toml b/Cargo.toml index d16c55f..6664e11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,11 @@ members = [ default-members = ["qemu-rdw"] resolver = "2" +[workspace.dependencies] +qemu-display = { path = "qemu-display", version = "0.1" } +keycodemap = { path = "keycodemap", version = "0.1" } +zbus = "4" + [patch.crates-io] zbus = { git = "https://github.com/dbus2/zbus.git" } zvariant = { git = "https://github.com/dbus2/zbus.git" } diff --git a/qemu-display/Cargo.toml b/qemu-display/Cargo.toml index 3c7e82f..02ea519 100644 --- a/qemu-display/Cargo.toml +++ b/qemu-display/Cargo.toml @@ -13,7 +13,7 @@ qmp = ["dep:qapi", "dep:base64"] cfg-if = "1.0" log = "0.4" derivative = "2.2.0" -zbus = "4" +zbus.workspace = true zvariant = { version = "4", features = ["serde_bytes"] } libc = "0.2.86" enumflags2 = { version = "0.7", features = ["serde"] } diff --git a/qemu-vnc/Cargo.toml b/qemu-vnc/Cargo.toml index 8c0d215..8078ed8 100644 --- a/qemu-vnc/Cargo.toml +++ b/qemu-vnc/Cargo.toml @@ -7,11 +7,11 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -qemu-display = { path = "../qemu-display" } -keycodemap = { path ="../keycodemap" } +qemu-display.workspace = true +keycodemap.workspace = true vnc = "0.4.0" clap = { version = "3.2", features = ["derive"] } -zbus = { version = "3.0" } +zbus.workspace = true libc = "0.2.86" image = "0.23.14" derivative = "2.2.0" diff --git a/qemu-vnc/src/main.rs b/qemu-vnc/src/main.rs index 72853fd..0a55ca0 100644 --- a/qemu-vnc/src/main.rs +++ b/qemu-vnc/src/main.rs @@ -287,6 +287,10 @@ impl ConsoleListenerHandler for ConsoleListener { fn disconnected(&mut self) { dbg!(); } + + fn interfaces(&self) -> Vec { + vec![] + } } #[derive(Debug)]