mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: Move zerocopy to workspace dependencies
Since it is used by multiple components at this point, it is better to move it to workspace level dependency. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
@@ -131,3 +131,4 @@ serde_json = "1.0.120"
|
||||
|
||||
# other crates
|
||||
thiserror = "2.0.12"
|
||||
zerocopy = { version = "0.8.24", default-features = false }
|
||||
|
||||
@@ -44,7 +44,7 @@ vm-memory = { workspace = true, features = [
|
||||
"backend-mmap",
|
||||
] }
|
||||
vmm-sys-util = { workspace = true, features = ["with-serde"] }
|
||||
zerocopy = { version = "0.8.24", features = ["derive"] }
|
||||
zerocopy = { workspace = true, features = ["derive"] }
|
||||
|
||||
[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
|
||||
default-features = false
|
||||
|
||||
@@ -84,4 +84,4 @@ vm-migration = { path = "../vm-migration" }
|
||||
vm-virtio = { path = "../vm-virtio" }
|
||||
vmm-sys-util = { workspace = true, features = ["with-serde"] }
|
||||
zbus = { version = "4.4.0", optional = true }
|
||||
zerocopy = { version = "0.8.24", features = ["alloc", "derive"] }
|
||||
zerocopy = { workspace = true, features = ["alloc", "derive"] }
|
||||
|
||||
Reference in New Issue
Block a user