mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-29 00:41:19 +00:00
build: Relax vm-memory dependency
This allows the use of newer versions of vm-memory and matches with other crates (e.g. vhost, vhost-user-backend, etc) who also have such a relaxed vm-memory dependency. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
parent
7e802bcc45
commit
1bed5dfdbe
@ -21,7 +21,7 @@ vhost = { version = "0.4", features = ["vhost-user-slave"] }
|
||||
vhost-user-backend = "0.3"
|
||||
virtio-bindings = ">=0.1"
|
||||
virtio-queue = "0.2"
|
||||
vm-memory = "0.7"
|
||||
vm-memory = ">=0.7"
|
||||
vmm-sys-util = "=0.9.0"
|
||||
|
||||
[target.'cfg(target_env = "gnu")'.dependencies]
|
||||
@ -29,4 +29,4 @@ libgpiod = { git = "https://github.com/vireshk/libgpiod" }
|
||||
|
||||
[dev-dependencies]
|
||||
virtio-queue = { version = "0.2", features = ["test-utils"] }
|
||||
vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic"] }
|
||||
vm-memory = { version = ">=0.7.0", features = ["backend-mmap", "backend-atomic"] }
|
||||
|
||||
@ -21,9 +21,9 @@ vhost = { version = "0.4", features = ["vhost-user-slave"] }
|
||||
vhost-user-backend = "0.3"
|
||||
virtio-bindings = ">=0.1"
|
||||
virtio-queue = "0.2"
|
||||
vm-memory = "0.7"
|
||||
vm-memory = ">=0.7"
|
||||
vmm-sys-util = "=0.9.0"
|
||||
|
||||
[dev-dependencies]
|
||||
virtio-queue = { version = "0.2", features = ["test-utils"] }
|
||||
vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic"] }
|
||||
vm-memory = { version = ">=0.7.0", features = ["backend-mmap", "backend-atomic"] }
|
||||
|
||||
@ -27,4 +27,4 @@ vmm-sys-util = ">=0.9.0"
|
||||
|
||||
[dev-dependencies]
|
||||
virtio-queue = { version = "0.2", features = ["test-utils"] }
|
||||
vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic"] }
|
||||
vm-memory = { version = ">=0.7.0", features = ["backend-mmap", "backend-atomic"] }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user