Skip to content

Commit 1199627

Browse files
andreeaflorescujiangliu
authored andcommitted
use caret requirements for rust-vmm crates
We should use caret requirements for crates that are not yet on a major release. This helps with avoiding breaking changes because for any crate specified as 0.x.y, when a new release is available, cargo will only pick up new patch releases. Related issues: - rust-vmm/vm-memory#199 - rust-vmm/community#131 Signed-off-by: Andreea Florescu <[email protected]>
1 parent de5d766 commit 1199627

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/virtio-queue/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ edition = "2018"
1313
test-utils = []
1414

1515
[dependencies]
16-
vm-memory = ">=0.8.0"
17-
vmm-sys-util = ">=0.8.0"
18-
log = ">=0.4.6"
19-
virtio-bindings = { path="../virtio-bindings", version = ">=0.1.0" }
16+
vm-memory = "^0.8.0"
17+
vmm-sys-util = "^0.10.0"
18+
log = "^0.4.6"
19+
virtio-bindings = { path="../virtio-bindings", version = "^0.1.0" }
2020

2121
[dev-dependencies]
2222
criterion = "0.3.0"
23-
vm-memory = { version = ">=0.8.0", features = ["backend-mmap", "backend-atomic"] }
23+
vm-memory = { version = "^0.8.0", features = ["backend-mmap", "backend-atomic"] }
2424
memoffset = "~0"
2525

2626
[[bench]]

0 commit comments

Comments
 (0)