Skip to content

Commit 8e20c7c

Browse files
committed
misc: Move thiserror to workspace dependencies
Since there are multiple users of thiserror crate move it to the top-level workspace dependency. Signed-off-by: Jinank Jain <[email protected]>
1 parent c30b231 commit 8e20c7c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ members = ["vfio-bindings", "vfio-ioctls", "vfio-user"]
33
resolver = "2"
44

55
[workspace.dependencies]
6+
thiserror = "2.0.12"
67
vmm-sys-util = "0.14.0"

vfio-ioctls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ libc = "0.2.39"
2626
log = "0.4"
2727
kvm-bindings = { version = "0.10.0", optional = true }
2828
kvm-ioctls = { version = "0.19.0", optional = true }
29-
thiserror = "2.0.12"
29+
thiserror = { workspace = true }
3030
vfio-bindings = { version = "0.4.0", path = "../vfio-bindings" }
3131
vm-memory = { version = "0.16.0", features = ["backend-mmap"] }
3232
vmm-sys-util = { workspace = true }

vfio-user/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ log = "0.4.17"
1717
serde = { version = "1.0.151", features = ["rc"] }
1818
serde_derive = "1.0.149"
1919
serde_json = "1.0.93"
20-
thiserror = "2.0.12"
20+
thiserror = { workspace = true }
2121
vfio-bindings = { version = "0.4.0", path = "../vfio-bindings", features = [
2222
"fam-wrappers",
2323
] }

0 commit comments

Comments
 (0)