misc: streamline thiserror cargo dep

As almost every sub crate depends on thiserror, lets upgrade it to a
workspace dependency.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-05-26 16:10:44 +02:00
committed by Bo Chen
parent 24a6a1805b
commit 20296e909a
20 changed files with 49 additions and 46 deletions
Generated
+27 -27
View File
@@ -93,7 +93,7 @@ checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
name = "api_client" name = "api_client"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"thiserror 2.0.6", "thiserror 2.0.12",
"vmm-sys-util", "vmm-sys-util",
] ]
@@ -115,7 +115,7 @@ dependencies = [
"linux-loader", "linux-loader",
"log", "log",
"serde", "serde",
"thiserror 2.0.6", "thiserror 2.0.12",
"uuid", "uuid",
"vm-fdt", "vm-fdt",
"vm-memory", "vm-memory",
@@ -328,7 +328,7 @@ dependencies = [
"remain", "remain",
"serde", "serde",
"smallvec", "smallvec",
"thiserror 2.0.6", "thiserror 2.0.12",
"uuid", "uuid",
"virtio-bindings", "virtio-bindings",
"virtio-queue", "virtio-queue",
@@ -441,7 +441,7 @@ dependencies = [
"serde_json", "serde_json",
"signal-hook", "signal-hook",
"test_infra", "test_infra",
"thiserror 2.0.6", "thiserror 2.0.12",
"tpm", "tpm",
"tracer", "tracer",
"vm-memory", "vm-memory",
@@ -576,7 +576,7 @@ dependencies = [
"num_enum", "num_enum",
"pci", "pci",
"serde", "serde",
"thiserror 2.0.6", "thiserror 2.0.12",
"tpm", "tpm",
"vm-allocator", "vm-allocator",
"vm-device", "vm-device",
@@ -991,7 +991,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"serde_with", "serde_with",
"thiserror 2.0.6", "thiserror 2.0.12",
"vfio-ioctls", "vfio-ioctls",
"vm-memory", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
@@ -1025,7 +1025,7 @@ dependencies = [
"open-enum", "open-enum",
"range_map_vec", "range_map_vec",
"static_assertions", "static_assertions",
"thiserror 2.0.6", "thiserror 2.0.12",
"tracing", "tracing",
"zerocopy 0.8.24", "zerocopy 0.8.24",
] ]
@@ -1280,7 +1280,7 @@ checksum = "8c7d94972588d562bd349b916de6a43f2ee268e6e9c91cfb5b30549ed4ea2751"
dependencies = [ dependencies = [
"libc", "libc",
"mshv-bindings", "mshv-bindings",
"thiserror 2.0.6", "thiserror 2.0.12",
"vmm-sys-util", "vmm-sys-util",
] ]
@@ -1315,7 +1315,7 @@ dependencies = [
"rate_limiter", "rate_limiter",
"serde", "serde",
"serde_json", "serde_json",
"thiserror 2.0.6", "thiserror 2.0.12",
"virtio-bindings", "virtio-bindings",
"virtio-queue", "virtio-queue",
"vm-memory", "vm-memory",
@@ -1439,7 +1439,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
name = "option_parser" name = "option_parser"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"thiserror 2.0.6", "thiserror 2.0.12",
] ]
[[package]] [[package]]
@@ -1522,7 +1522,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"serde", "serde",
"thiserror 2.0.6", "thiserror 2.0.12",
"vfio-bindings", "vfio-bindings",
"vfio-ioctls", "vfio-ioctls",
"vfio_user", "vfio_user",
@@ -1542,7 +1542,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"test_infra", "test_infra",
"thiserror 2.0.6", "thiserror 2.0.12",
"wait-timeout", "wait-timeout",
] ]
@@ -1760,7 +1760,7 @@ dependencies = [
"epoll", "epoll",
"libc", "libc",
"log", "log",
"thiserror 2.0.6", "thiserror 2.0.12",
"vmm-sys-util", "vmm-sys-util",
] ]
@@ -1790,7 +1790,7 @@ checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b"
dependencies = [ dependencies = [
"getrandom 0.2.15", "getrandom 0.2.15",
"libredox", "libredox",
"thiserror 2.0.6", "thiserror 2.0.12",
] ]
[[package]] [[package]]
@@ -2077,7 +2077,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"ssh2", "ssh2",
"thiserror 2.0.6", "thiserror 2.0.12",
"vmm-sys-util", "vmm-sys-util",
"wait-timeout", "wait-timeout",
] ]
@@ -2093,11 +2093,11 @@ dependencies = [
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "2.0.6" version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47" checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
dependencies = [ dependencies = [
"thiserror-impl 2.0.6", "thiserror-impl 2.0.12",
] ]
[[package]] [[package]]
@@ -2113,9 +2113,9 @@ dependencies = [
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "2.0.6" version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312" checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -2154,7 +2154,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"net_gen", "net_gen",
"thiserror 2.0.6", "thiserror 2.0.12",
"vmm-sys-util", "vmm-sys-util",
] ]
@@ -2343,7 +2343,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"option_parser", "option_parser",
"thiserror 2.0.6", "thiserror 2.0.12",
"vhost", "vhost",
"vhost-user-backend", "vhost-user-backend",
"virtio-bindings", "virtio-bindings",
@@ -2363,7 +2363,7 @@ dependencies = [
"log", "log",
"net_util", "net_util",
"option_parser", "option_parser",
"thiserror 2.0.6", "thiserror 2.0.12",
"vhost", "vhost",
"vhost-user-backend", "vhost-user-backend",
"virtio-bindings", "virtio-bindings",
@@ -2399,7 +2399,7 @@ dependencies = [
"serde_json", "serde_json",
"serde_with", "serde_with",
"serial_buffer", "serial_buffer",
"thiserror 2.0.6", "thiserror 2.0.12",
"vhost", "vhost",
"virtio-bindings", "virtio-bindings",
"virtio-queue", "virtio-queue",
@@ -2439,7 +2439,7 @@ dependencies = [
"anyhow", "anyhow",
"hypervisor", "hypervisor",
"serde", "serde",
"thiserror 2.0.6", "thiserror 2.0.12",
"vfio-ioctls", "vfio-ioctls",
"vm-memory", "vm-memory",
"vmm-sys-util", "vmm-sys-util",
@@ -2469,7 +2469,7 @@ dependencies = [
"anyhow", "anyhow",
"serde", "serde",
"serde_json", "serde_json",
"thiserror 2.0.6", "thiserror 2.0.12",
"vm-memory", "vm-memory",
] ]
@@ -2524,7 +2524,7 @@ dependencies = [
"serde_json", "serde_json",
"serial_buffer", "serial_buffer",
"signal-hook", "signal-hook",
"thiserror 2.0.6", "thiserror 2.0.12",
"tracer", "tracer",
"uuid", "uuid",
"vfio-ioctls", "vfio-ioctls",
+4 -1
View File
@@ -42,7 +42,7 @@ option_parser = { path = "option_parser" }
seccompiler = { workspace = true } seccompiler = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
signal-hook = "0.3.18" signal-hook = "0.3.18"
thiserror = "2.0.6" thiserror = { workspace = true }
tpm = { path = "tpm" } tpm = { path = "tpm" }
tracer = { path = "tracer" } tracer = { path = "tracer" }
vm-memory = { workspace = true } vm-memory = { workspace = true }
@@ -128,3 +128,6 @@ igvm_defs = { git = "https://github.com/microsoft/igvm", branch = "main" }
# serde crates # serde crates
serde_json = "1.0.120" serde_json = "1.0.120"
# other crates
thiserror = "2.0.12"
+1 -1
View File
@@ -5,5 +5,5 @@ name = "api_client"
version = "0.1.0" version = "0.1.0"
[dependencies] [dependencies]
thiserror = "2.0.6" thiserror = { workspace = true }
vmm-sys-util = { workspace = true } vmm-sys-util = { workspace = true }
+1 -1
View File
@@ -18,7 +18,7 @@ libc = "0.2.167"
linux-loader = { workspace = true, features = ["bzimage", "elf", "pe"] } linux-loader = { workspace = true, features = ["bzimage", "elf", "pe"] }
log = "0.4.22" log = "0.4.22"
serde = { version = "1.0.208", features = ["derive", "rc"] } serde = { version = "1.0.208", features = ["derive", "rc"] }
thiserror = "2.0.6" thiserror = { workspace = true }
uuid = "1.12.1" uuid = "1.12.1"
vm-memory = { workspace = true, features = ["backend-bitmap", "backend-mmap"] } vm-memory = { workspace = true, features = ["backend-bitmap", "backend-mmap"] }
vm-migration = { path = "../vm-migration" } vm-migration = { path = "../vm-migration" }
+1 -1
View File
@@ -17,7 +17,7 @@ log = "0.4.22"
remain = "0.2.14" remain = "0.2.14"
serde = { version = "1.0.208", features = ["derive"] } serde = { version = "1.0.208", features = ["derive"] }
smallvec = "1.13.2" smallvec = "1.13.2"
thiserror = "2.0.6" thiserror = { workspace = true }
uuid = { version = "1.12.1", features = ["v4"] } uuid = { version = "1.12.1", features = ["v4"] }
virtio-bindings = { workspace = true, features = ["virtio-v5_0_0"] } virtio-bindings = { workspace = true, features = ["virtio-v5_0_0"] }
virtio-queue = { workspace = true } virtio-queue = { workspace = true }
+1 -1
View File
@@ -17,7 +17,7 @@ log = "0.4.22"
num_enum = "0.7.2" num_enum = "0.7.2"
pci = { path = "../pci" } pci = { path = "../pci" }
serde = { version = "1.0.208", features = ["derive"] } serde = { version = "1.0.208", features = ["derive"] }
thiserror = "2.0.6" thiserror = { workspace = true }
tpm = { path = "../tpm" } tpm = { path = "../tpm" }
vm-allocator = { path = "../vm-allocator" } vm-allocator = { path = "../vm-allocator" }
vm-device = { path = "../vm-device" } vm-device = { path = "../vm-device" }
+1 -1
View File
@@ -36,7 +36,7 @@ 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",
] } ] }
thiserror = "2.0.6" thiserror = { workspace = true }
vfio-ioctls = { workspace = true, default-features = false } vfio-ioctls = { workspace = true, default-features = false }
vm-memory = { workspace = true, features = [ vm-memory = { workspace = true, features = [
"backend-atomic", "backend-atomic",
+1 -1
View File
@@ -12,7 +12,7 @@ log = "0.4.22"
net_gen = { path = "../net_gen" } net_gen = { path = "../net_gen" }
rate_limiter = { path = "../rate_limiter" } rate_limiter = { path = "../rate_limiter" }
serde = { version = "1.0.208", features = ["derive"] } serde = { version = "1.0.208", features = ["derive"] }
thiserror = "2.0.6" thiserror = { workspace = true }
virtio-bindings = { workspace = true } virtio-bindings = { workspace = true }
virtio-queue = { workspace = true } virtio-queue = { workspace = true }
vm-memory = { workspace = true, features = [ vm-memory = { workspace = true, features = [
+1 -1
View File
@@ -5,4 +5,4 @@ name = "option_parser"
version = "0.1.0" version = "0.1.0"
[dependencies] [dependencies]
thiserror = "2.0.6" thiserror = { workspace = true }
+1 -1
View File
@@ -16,7 +16,7 @@ hypervisor = { path = "../hypervisor" }
libc = "0.2.167" libc = "0.2.167"
log = "0.4.22" log = "0.4.22"
serde = { version = "1.0.208", features = ["derive"] } serde = { version = "1.0.208", features = ["derive"] }
thiserror = "2.0.6" thiserror = { workspace = true }
vfio-bindings = { workspace = true, features = ["fam-wrappers"] } vfio-bindings = { workspace = true, features = ["fam-wrappers"] }
vfio-ioctls = { workspace = true, default-features = false } vfio-ioctls = { workspace = true, default-features = false }
vfio_user = { workspace = true } vfio_user = { workspace = true }
+1 -1
View File
@@ -11,5 +11,5 @@ dirs = "6.0.0"
serde = { version = "1.0.208", features = ["derive", "rc"] } 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 = "2.0.6" thiserror = { workspace = true }
wait-timeout = "0.2.0" wait-timeout = "0.2.0"
+1 -1
View File
@@ -7,5 +7,5 @@ version = "0.1.0"
epoll = "4.3.3" epoll = "4.3.3"
libc = "0.2.167" libc = "0.2.167"
log = "0.4.22" log = "0.4.22"
thiserror = "2.0.6" thiserror = { workspace = true }
vmm-sys-util = { workspace = true } vmm-sys-util = { workspace = true }
+1 -1
View File
@@ -12,6 +12,6 @@ once_cell = "1.20.2"
serde = { version = "1.0.208", features = ["derive", "rc"] } 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 = "2.0.6" thiserror = { workspace = true }
vmm-sys-util = { workspace = true } vmm-sys-util = { workspace = true }
wait-timeout = "0.2.0" wait-timeout = "0.2.0"
+1 -1
View File
@@ -11,5 +11,5 @@ 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" }
thiserror = "2.0.6" thiserror = { workspace = true }
vmm-sys-util = { workspace = true } vmm-sys-util = { workspace = true }
+1 -1
View File
@@ -13,7 +13,7 @@ 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" }
thiserror = "2.0.6" thiserror = { workspace = true }
vhost = { workspace = true, features = ["vhost-user-backend"] } vhost = { workspace = true, features = ["vhost-user-backend"] }
vhost-user-backend = { workspace = true } vhost-user-backend = { workspace = true }
virtio-bindings = { workspace = true } virtio-bindings = { workspace = true }
+1 -1
View File
@@ -13,7 +13,7 @@ libc = "0.2.167"
log = "0.4.22" log = "0.4.22"
net_util = { path = "../net_util" } net_util = { path = "../net_util" }
option_parser = { path = "../option_parser" } option_parser = { path = "../option_parser" }
thiserror = "2.0.6" thiserror = { workspace = true }
vhost = { workspace = true, features = ["vhost-user-backend"] } vhost = { workspace = true, features = ["vhost-user-backend"] }
vhost-user-backend = { workspace = true } vhost-user-backend = { workspace = true }
virtio-bindings = { workspace = true } virtio-bindings = { workspace = true }
+1 -1
View File
@@ -29,7 +29,7 @@ serde_with = { version = "3.9.0", default-features = false, features = [
"macros", "macros",
] } ] }
serial_buffer = { path = "../serial_buffer" } serial_buffer = { path = "../serial_buffer" }
thiserror = "2.0.6" thiserror = { workspace = true }
vhost = { workspace = true, features = [ vhost = { workspace = true, features = [
"vhost-kern", "vhost-kern",
"vhost-user-backend", "vhost-user-backend",
+1 -1
View File
@@ -13,7 +13,7 @@ mshv = ["vfio-ioctls/mshv"]
anyhow = "1.0.94" 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 = "2.0.6" thiserror = { workspace = true }
vfio-ioctls = { workspace = true, default-features = false } vfio-ioctls = { workspace = true, default-features = false }
vm-memory = { workspace = true, features = ["backend-mmap"] } vm-memory = { workspace = true, features = ["backend-mmap"] }
vmm-sys-util = { workspace = true } vmm-sys-util = { workspace = true }
+1 -1
View File
@@ -8,5 +8,5 @@ version = "0.1.0"
anyhow = "1.0.94" anyhow = "1.0.94"
serde = { version = "1.0.208", features = ["derive", "rc"] } serde = { version = "1.0.208", features = ["derive", "rc"] }
serde_json = { workspace = true } serde_json = { workspace = true }
thiserror = "2.0.6" thiserror = { workspace = true }
vm-memory = { workspace = true, features = ["backend-atomic", "backend-mmap"] } vm-memory = { workspace = true, features = ["backend-atomic", "backend-mmap"] }
+1 -1
View File
@@ -66,7 +66,7 @@ serde = { version = "1.0.208", features = ["derive", "rc"] }
serde_json = { workspace = true } serde_json = { workspace = true }
serial_buffer = { path = "../serial_buffer" } serial_buffer = { path = "../serial_buffer" }
signal-hook = "0.3.18" signal-hook = "0.3.18"
thiserror = "2.0.6" thiserror = { workspace = true }
tracer = { path = "../tracer" } tracer = { path = "../tracer" }
uuid = "1.12.1" uuid = "1.12.1"
vfio-ioctls = { workspace = true, default-features = false } vfio-ioctls = { workspace = true, default-features = false }