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,15 +13,15 @@ net_gen = { path = "../net_gen" }
rate_limiter = { path = "../rate_limiter" }
serde = { version = "1.0.208", features = ["derive"] }
thiserror = "1.0.62"
virtio-bindings = "0.2.2"
virtio-queue = "0.13.0"
vm-memory = { version = "0.15.0", features = [
virtio-bindings = { workspace = true }
virtio-queue = { workspace = true }
vm-memory = { workspace = true, features = [
"backend-atomic",
"backend-bitmap",
"backend-mmap",
] }
vm-virtio = { path = "../vm-virtio" }
vmm-sys-util = "0.12.1"
vmm-sys-util = { workspace = true }
[dev-dependencies]
once_cell = "1.19.0"