build: clean up unused dependencies

Signed-off-by: Songqian Li <sionli@tencent.com>
This commit is contained in:
Songqian Li 2025-07-11 11:43:30 +08:00 committed by Alyssa Ross
parent ec8fceb4a6
commit e32fa593e5
10 changed files with 0 additions and 26 deletions

13
Cargo.lock generated
View file

@ -119,7 +119,6 @@ dependencies = [
"uuid",
"vm-fdt",
"vm-memory",
"vm-migration",
"vmm-sys-util",
]
@ -1507,7 +1506,6 @@ dependencies = [
"serde_json",
"test_infra",
"thiserror 2.0.12",
"wait-timeout",
]
[[package]]
@ -2065,7 +2063,6 @@ dependencies = [
"dirs",
"epoll",
"libc",
"serde",
"serde_json",
"ssh2",
"thiserror 2.0.12",
@ -2141,7 +2138,6 @@ name = "tpm"
version = "0.1.0"
dependencies = [
"anyhow",
"byteorder",
"libc",
"log",
"net_gen",
@ -2312,7 +2308,6 @@ dependencies = [
"block",
"clap",
"env_logger",
"epoll",
"libc",
"log",
"option_parser",
@ -2355,7 +2350,6 @@ name = "virtio-devices"
version = "0.1.0"
dependencies = [
"anyhow",
"arc-swap",
"block",
"byteorder",
"epoll",
@ -2363,13 +2357,11 @@ dependencies = [
"libc",
"log",
"mshv-ioctls",
"net_gen",
"net_util",
"pci",
"rate_limiter",
"seccompiler",
"serde",
"serde_json",
"serde_with",
"serial_buffer",
"thiserror 2.0.12",
@ -2409,12 +2401,10 @@ dependencies = [
name = "vm-device"
version = "0.1.0"
dependencies = [
"anyhow",
"hypervisor",
"serde",
"thiserror 2.0.12",
"vfio-ioctls",
"vm-memory",
"vmm-sys-util",
]
@ -2450,7 +2440,6 @@ dependencies = [
name = "vm-virtio"
version = "0.1.0"
dependencies = [
"log",
"virtio-queue",
"vm-memory",
]
@ -2461,7 +2450,6 @@ version = "0.1.0"
dependencies = [
"acpi_tables",
"anyhow",
"arc-swap",
"arch",
"bitflags 2.9.0",
"block",
@ -2503,7 +2491,6 @@ dependencies = [
"vfio_user",
"virtio-bindings",
"virtio-devices",
"virtio-queue",
"vm-allocator",
"vm-device",
"vm-memory",

View file

@ -21,7 +21,6 @@ serde = { version = "1.0.208", features = ["derive", "rc"] }
thiserror = { workspace = true }
uuid = { workspace = true }
vm-memory = { workspace = true, features = ["backend-bitmap", "backend-mmap"] }
vm-migration = { path = "../vm-migration" }
vmm-sys-util = { workspace = true, features = ["with-serde"] }
[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]

View file

@ -12,4 +12,3 @@ serde = { version = "1.0.208", features = ["derive", "rc"] }
serde_json = { workspace = true }
test_infra = { path = "../test_infra" }
thiserror = { workspace = true }
wait-timeout = "0.2.0"

View file

@ -8,7 +8,6 @@ version = "0.1.0"
dirs = "6.0.0"
epoll = "4.3.3"
libc = "0.2.167"
serde = { version = "1.0.208", features = ["derive", "rc"] }
serde_json = { workspace = true }
ssh2 = { version = "0.9.4", features = ["vendored-openssl"] }
thiserror = { workspace = true }

View file

@ -7,7 +7,6 @@ version = "0.1.0"
[dependencies]
anyhow = "1.0.81"
byteorder = "1.5.0"
libc = "0.2.153"
log = "0.4.21"
net_gen = { path = "../net_gen" }

View file

@ -9,7 +9,6 @@ version = "0.1.0"
block = { path = "../block" }
clap = { version = "4.5.13", features = ["cargo", "wrap_help"] }
env_logger = { workspace = true }
epoll = "4.3.3"
libc = "0.2.167"
log = "0.4.22"
option_parser = { path = "../option_parser" }

View file

@ -12,7 +12,6 @@ sev_snp = ["mshv-ioctls"]
[dependencies]
anyhow = "1.0.94"
arc-swap = "1.7.1"
block = { path = "../block" }
byteorder = "1.5.0"
epoll = "4.3.3"
@ -20,13 +19,11 @@ event_monitor = { path = "../event_monitor" }
libc = "0.2.167"
log = "0.4.22"
mshv-ioctls = { workspace = true, optional = true }
net_gen = { path = "../net_gen" }
net_util = { path = "../net_util" }
pci = { path = "../pci" }
rate_limiter = { path = "../rate_limiter" }
seccompiler = { workspace = true }
serde = { version = "1.0.208", features = ["derive"] }
serde_json = { workspace = true }
serde_with = { version = "3.9.0", default-features = false, features = [
"macros",
] }

View file

@ -10,10 +10,8 @@ kvm = ["vfio-ioctls/kvm"]
mshv = ["vfio-ioctls/mshv"]
[dependencies]
anyhow = "1.0.94"
hypervisor = { path = "../hypervisor" }
serde = { version = "1.0.208", features = ["derive", "rc"] }
thiserror = { workspace = true }
vfio-ioctls = { workspace = true, default-features = false }
vm-memory = { workspace = true, features = ["backend-mmap"] }
vmm-sys-util = { workspace = true }

View file

@ -8,7 +8,6 @@ version = "0.1.0"
default = []
[dependencies]
log = "0.4.22"
virtio-queue = { workspace = true }
vm-memory = { workspace = true, features = [
"backend-atomic",

View file

@ -34,7 +34,6 @@ tracing = ["tracer/tracing"]
[dependencies]
acpi_tables = { workspace = true }
anyhow = "1.0.94"
arc-swap = "1.7.1"
arch = { path = "../arch" }
bitflags = "2.9.0"
block = { path = "../block" }
@ -79,7 +78,6 @@ vfio-ioctls = { workspace = true, default-features = false }
vfio_user = { workspace = true }
virtio-bindings = { workspace = true }
virtio-devices = { path = "../virtio-devices" }
virtio-queue = { workspace = true }
vm-allocator = { path = "../vm-allocator" }
vm-device = { path = "../vm-device" }
vm-memory = { workspace = true, features = [