Skip to content

Commit 1abcc2f

Browse files
jinankjainrussell-islam
authored andcommitted
Cargo.toml: Move vmm-sys-util to workspace dependency
All the subcrates inside vfio repo can share the same version of vmm-sys-utils. Signed-off-by: Jinank Jain <[email protected]>
1 parent d5c905e commit 1abcc2f

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[workspace]
22
members = ["vfio-bindings", "vfio-ioctls", "vfio-user"]
33
resolver = "2"
4+
5+
[workspace.dependencies]
6+
vmm-sys-util = "0.14.0"

vfio-bindings/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ vfio-v5_0_0 = []
1717
fam-wrappers = ["vmm-sys-util"]
1818

1919
[dependencies]
20-
vmm-sys-util = { version = "0.14.0", optional = true }
20+
vmm-sys-util = { workspace = true, optional = true }
2121

2222
[dev-dependencies]
2323
byteorder = "1.2.1"

vfio-ioctls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ kvm-ioctls = { version = "0.19.0", optional = true }
2929
thiserror = "1.0"
3030
vfio-bindings = { version = "0.4.0", path = "../vfio-bindings" }
3131
vm-memory = { version = "0.16.0", features = ["backend-mmap"] }
32-
vmm-sys-util = "0.14.0"
32+
vmm-sys-util = { workspace = true }
3333
mshv-bindings = { version = "0.5.0", features = [
3434
"with-serde",
3535
"fam-wrappers",

vfio-user/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ serde_json = "1.0.93"
2020
thiserror = "2.0.12"
2121
vfio-bindings = { version = "0.4.0", path = "../vfio-bindings", features = ["fam-wrappers"] }
2222
vm-memory = { version = "0.16.0", features = ["backend-mmap", "backend-atomic"] }
23-
vmm-sys-util = "0.14.0"
23+
vmm-sys-util = { workspace = true }
2424

2525
[dev-dependencies]
2626
argh = "0.1.9"

0 commit comments

Comments
 (0)