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

View File

@@ -9,7 +9,7 @@ default = []
kvm = ["arch/kvm"]
[dependencies]
libc = "0.2.167"
libc = { workspace = true }
vm-memory = { workspace = true }
[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]