Merge pull request #156 from vireshk/build/vm-memory

build: Relax vm-memory dependency
This commit is contained in:
Viresh Kumar 2022-05-09 15:03:17 +05:30 committed by GitHub
commit 417cf5d71d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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"] }

View File

@ -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"] }

View File

@ -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"] }