build: Centralize rust-vmm crates to workspace
By centralizing rust-vmm crates to workspace root, effectively reduce places to look around when updating dependencies manually. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
parent
51e11396ac
commit
071216060f
3 changed files with 13 additions and 7 deletions
|
|
@ -5,3 +5,9 @@ members = [
|
|||
"vhost",
|
||||
"vhost-user-backend",
|
||||
]
|
||||
|
||||
[workspace.dependencies]
|
||||
virtio-bindings = "0.2.1"
|
||||
virtio-queue = "0.13.0"
|
||||
vm-memory = "0.15.0"
|
||||
vmm-sys-util = "0.12.1"
|
||||
|
|
|
|||
|
|
@ -18,13 +18,13 @@ libc = "0.2.39"
|
|||
log = "0.4.17"
|
||||
userfaultfd = { version = "0.8.1", optional = true }
|
||||
vhost = { path = "../vhost", version = "0.12", features = ["vhost-user-backend"] }
|
||||
virtio-bindings = "0.2.1"
|
||||
virtio-queue = "0.13.0"
|
||||
vm-memory = { version = "0.15.0", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
||||
vmm-sys-util = "0.12.1"
|
||||
virtio-bindings = { workspace = true }
|
||||
virtio-queue = { workspace = true }
|
||||
vm-memory = { workspace = true, features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
||||
vmm-sys-util = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
nix = { version = "0.29", features = ["fs"] }
|
||||
vhost = { path = "../vhost", version = "0.12", features = ["test-utils", "vhost-user-frontend", "vhost-user-backend"] }
|
||||
vm-memory = { version = "0.15.0", features = ["backend-mmap", "backend-atomic"] }
|
||||
vm-memory = { workspace = true, features = ["backend-mmap", "backend-atomic"] }
|
||||
tempfile = "3.2.0"
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ bitflags = "2.4"
|
|||
libc = "0.2.39"
|
||||
uuid = { version = "1.8.0", features=["v4", "fast-rng", "macro-diagnostics"] }
|
||||
|
||||
vmm-sys-util = "0.12.1"
|
||||
vm-memory = { version = "0.15.0", features=["backend-mmap"] }
|
||||
vmm-sys-util = { workspace = true }
|
||||
vm-memory = { workspace = true, features=["backend-mmap"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.2.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue