build: Centralize rust-vmm crates to workspace

Modify `Cargo.toml` in each member crate to follow the dependencies
specified in root `Cargo.toml` file.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He
2024-09-27 02:27:43 +00:00
committed by Rob Bradford
parent ea4be45bb0
commit 5a70d7ec69
20 changed files with 85 additions and 78 deletions

View File

@@ -13,8 +13,8 @@ libc = "0.2.158"
log = "0.4.22"
net_util = { path = "../net_util" }
option_parser = { path = "../option_parser" }
vhost = { version = "0.12.0", features = ["vhost-user-backend"] }
vhost = { workspace = true, features = ["vhost-user-backend"] }
vhost-user-backend = "0.16.0"
virtio-bindings = "0.2.2"
vm-memory = "0.15.0"
vmm-sys-util = "0.12.1"
virtio-bindings = { workspace = true }
vm-memory = { workspace = true }
vmm-sys-util = { workspace = true }