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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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