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

@@ -5,7 +5,7 @@ name = "devices"
version = "0.1.0"
[dependencies]
acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main" }
acpi_tables = { workspace = true }
anyhow = "1.0.87"
arch = { path = "../arch" }
bitflags = "2.6.0"
@@ -21,13 +21,13 @@ thiserror = "1.0.62"
tpm = { path = "../tpm" }
vm-allocator = { path = "../vm-allocator" }
vm-device = { path = "../vm-device" }
vm-memory = { version = "0.15.0", features = [
vm-memory = { workspace = true, features = [
"backend-atomic",
"backend-bitmap",
"backend-mmap",
] }
vm-migration = { path = "../vm-migration" }
vmm-sys-util = "0.12.1"
vmm-sys-util = { workspace = true }
[target.'cfg(target_arch = "aarch64")'.dependencies]
arch = { path = "../arch" }