File tree 7 files changed +17
-13
lines changed
7 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ members = [
13
13
[profile .bench ]
14
14
lto = true
15
15
codegen-units = 1
16
+
17
+ [workspace .dependencies ]
18
+ vm-memory = " 0.15.0"
19
+ vmm-sys-util = " 0.12.1"
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ edition = "2021"
13
13
backend-stdio = []
14
14
15
15
[dependencies ]
16
- vm-memory = " 0.15.0 "
17
- vmm-sys-util = " 0.12.1 "
16
+ vm-memory = { workspace = true }
17
+ vmm-sys-util = { workspace = true }
18
18
log = " 0.4.17"
19
19
virtio-queue = { path = " ../virtio-queue" }
20
20
virtio-device = { path = " ../virtio-device" }
21
21
virtio-bindings = { path = " ../virtio-bindings" , version = " 0.2.3" }
22
22
23
23
[dev-dependencies ]
24
- vm-memory = { version = " 0.15.0 " , features = [" backend-mmap" , " backend-atomic" ] }
24
+ vm-memory = { workspace = true , features = [" backend-mmap" , " backend-atomic" ] }
25
25
virtio-queue = { path = " ../virtio-queue" , features = [" test-utils" ] }
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ edition = "2021"
14
14
[dependencies ]
15
15
virtio-bindings = { path = " ../virtio-bindings" , version = " 0.2.3" }
16
16
virtio-queue = { path = " ../virtio-queue" , version = " 0.13.0" }
17
- vm-memory = " 0.15.0 "
17
+ vm-memory = { workspace = true }
18
18
19
19
[dev-dependencies ]
20
20
virtio-queue = { path = " ../virtio-queue" , version = " 0.13.0" , features = [" test-utils" ] }
21
- vm-memory = { version = " 0.15.0 " , features = [" backend-mmap" ] }
21
+ vm-memory = { workspace = true , features = [" backend-mmap" ] }
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ license = "Apache-2.0 OR MIT"
10
10
edition = " 2021"
11
11
12
12
[dependencies ]
13
- vm-memory = " 0.15.0 "
13
+ vm-memory = { workspace = true }
14
14
log = " 0.4.17"
15
15
virtio-bindings = { path = " ../virtio-bindings" }
16
16
virtio-queue = { path = " ../virtio-queue" , version = " 0.13.0" }
17
17
18
18
[dev-dependencies ]
19
- vm-memory = { version = " 0.15.0 " , features = [" backend-mmap" , " backend-atomic" ] }
19
+ vm-memory = { workspace = true , features = [" backend-mmap" , " backend-atomic" ] }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ versionize_derive = "0.1.3"
19
19
# to prevent accidental changes to the serializer output in a patch release of
20
20
# virtio-queue.
21
21
virtio-queue = { path = " ../virtio-queue" , version = " =0.13.0" }
22
- vm-memory = " 0.15.0 "
22
+ vm-memory = { workspace = true }
23
23
24
24
[dev-dependencies ]
25
25
virtio-queue = { path = " ../virtio-queue" , version = " =0.13.0" , features = [" test-utils" ] }
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ edition = "2021"
13
13
test-utils = []
14
14
15
15
[dependencies ]
16
- vm-memory = " 0.15.0 "
17
- vmm-sys-util = " 0.12.1 "
16
+ vm-memory = { workspace = true }
17
+ vmm-sys-util = { workspace = true }
18
18
log = " 0.4.17"
19
19
virtio-bindings = { path =" ../virtio-bindings" , version = " 0.2.3" }
20
20
21
21
[dev-dependencies ]
22
22
criterion = " 0.5.1"
23
- vm-memory = { version = " 0.15.0 " , features = [" backend-mmap" , " backend-atomic" ] }
23
+ vm-memory = { workspace = true , features = [" backend-mmap" , " backend-atomic" ] }
24
24
memoffset = " 0.9.0"
25
25
26
26
[[bench ]]
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ edition = "2021"
13
13
# The `path` part gets stripped when publishing the crate.
14
14
virtio-queue = { path = " ../virtio-queue" , version = " 0.13.0" }
15
15
virtio-bindings = { path = " ../virtio-bindings" , version = " 0.2.3" }
16
- vm-memory = " 0.15.0 "
16
+ vm-memory = { workspace = true }
17
17
18
18
[dev-dependencies ]
19
19
virtio-queue = { path = " ../virtio-queue" , version = " 0.13.0" , features = [" test-utils" ] }
20
- vm-memory = { version = " 0.15.0 " , features = [" backend-mmap" , " backend-atomic" ] }
20
+ vm-memory = { workspace = true , features = [" backend-mmap" , " backend-atomic" ] }
You can’t perform that action at this time.
0 commit comments