mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
@@ -25,7 +25,7 @@ tdx = ["arch/tdx", "hypervisor/tdx"]
|
||||
tracing = ["tracer/tracing"]
|
||||
|
||||
[dependencies]
|
||||
acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main" }
|
||||
acpi_tables = { workspace = true }
|
||||
anyhow = "1.0.87"
|
||||
arc-swap = "1.7.1"
|
||||
arch = { path = "../arch" }
|
||||
@@ -48,10 +48,10 @@ igvm = { version = "0.3.3", optional = true }
|
||||
igvm_defs = { version = "0.3.1", optional = true }
|
||||
landlock = "0.4.0"
|
||||
libc = "0.2.158"
|
||||
linux-loader = { version = "0.12.0", features = ["bzimage", "elf", "pe"] }
|
||||
linux-loader = { workspace = true, features = ["bzimage", "elf", "pe"] }
|
||||
log = "0.4.22"
|
||||
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
||||
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", tag = "v0.3.0", features = [
|
||||
mshv-bindings = { workspace = true, features = [
|
||||
"fam-wrappers",
|
||||
"with-serde",
|
||||
], optional = true }
|
||||
@@ -61,7 +61,7 @@ option_parser = { path = "../option_parser" }
|
||||
pci = { path = "../pci" }
|
||||
range_map_vec = { version = "0.2.0", optional = true }
|
||||
rate_limiter = { path = "../rate_limiter" }
|
||||
seccompiler = "0.4.0"
|
||||
seccompiler = { workspace = true }
|
||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||
serde_json = "1.0.120"
|
||||
serial_buffer = { path = "../serial_buffer" }
|
||||
@@ -69,19 +69,19 @@ signal-hook = "0.3.17"
|
||||
thiserror = "1.0.62"
|
||||
tracer = { path = "../tracer" }
|
||||
uuid = "1.8.0"
|
||||
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
||||
vfio_user = { git = "https://github.com/rust-vmm/vfio-user", branch = "main" }
|
||||
vfio-ioctls = { workspace = true, default-features = false }
|
||||
vfio_user = { workspace = true }
|
||||
virtio-devices = { path = "../virtio-devices" }
|
||||
virtio-queue = "0.13.0"
|
||||
virtio-queue = { workspace = true }
|
||||
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" }
|
||||
vm-virtio = { path = "../vm-virtio" }
|
||||
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
||||
vmm-sys-util = { workspace = true, features = ["with-serde"] }
|
||||
zbus = { version = "4.1.2", optional = true }
|
||||
zerocopy = { version = "0.7.35", features = ["alloc", "derive"] }
|
||||
|
||||
Reference in New Issue
Block a user