build: Use workspace dependencies

Many of the workspace members in the Cloud-hypervisor workspace share
common dependencies. Making these workspace dependencies reduces
duplication and improves maintainability.

Signed-off-by: Oliver Anderson <oliver.anderson@cyberus-technology.de>
On-behalf-of: SAP oliver.anderson@sap.com
This commit is contained in:
Oliver Anderson
2025-07-25 10:27:22 +02:00
committed by Bo Chen
parent b0bf889d58
commit 8c136041cb
20 changed files with 103 additions and 88 deletions
+7 -7
View File
@@ -11,20 +11,20 @@ mshv = ["pci/mshv"]
sev_snp = ["mshv-ioctls"]
[dependencies]
anyhow = "1.0.94"
anyhow = { workspace = true }
block = { path = "../block" }
byteorder = "1.5.0"
epoll = "4.3.3"
byteorder = { workspace = true }
epoll = { workspace = true }
event_monitor = { path = "../event_monitor" }
libc = "0.2.167"
log = "0.4.22"
libc = { workspace = true }
log = { workspace = true }
mshv-ioctls = { workspace = true, optional = true }
net_util = { path = "../net_util" }
pci = { path = "../pci" }
rate_limiter = { path = "../rate_limiter" }
seccompiler = { workspace = true }
serde = { version = "1.0.208", features = ["derive"] }
serde_with = { version = "3.14.0", default-features = false, features = [
serde = { workspace = true, features = ["derive"] }
serde_with = { workspace = true, default-features = false, features = [
"macros",
] }
serial_buffer = { path = "../serial_buffer" }