mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Centralize serde_json crate to workspace
`serde_json` crate is referenced by multiple components, centralize it to workspace to better manage this crate. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
+5
-2
@@ -40,7 +40,7 @@ libc = "0.2.167"
|
|||||||
log = { version = "0.4.22", features = ["std"] }
|
log = { version = "0.4.22", features = ["std"] }
|
||||||
option_parser = { path = "option_parser" }
|
option_parser = { path = "option_parser" }
|
||||||
seccompiler = { workspace = true }
|
seccompiler = { workspace = true }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
signal-hook = "0.3.17"
|
signal-hook = "0.3.17"
|
||||||
thiserror = "2.0.6"
|
thiserror = "2.0.6"
|
||||||
tpm = { path = "tpm" }
|
tpm = { path = "tpm" }
|
||||||
@@ -54,7 +54,7 @@ zbus = { version = "4.4.0", optional = true }
|
|||||||
dirs = "6.0.0"
|
dirs = "6.0.0"
|
||||||
net_util = { path = "net_util" }
|
net_util = { path = "net_util" }
|
||||||
once_cell = "1.20.2"
|
once_cell = "1.20.2"
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
test_infra = { path = "test_infra" }
|
test_infra = { path = "test_infra" }
|
||||||
wait-timeout = "0.2.0"
|
wait-timeout = "0.2.0"
|
||||||
|
|
||||||
@@ -124,3 +124,6 @@ vmm-sys-util = "0.12.1"
|
|||||||
# igvm crates
|
# igvm crates
|
||||||
igvm = "0.3.4"
|
igvm = "0.3.4"
|
||||||
igvm_defs = "0.3.1"
|
igvm_defs = "0.3.1"
|
||||||
|
|
||||||
|
# serde crates
|
||||||
|
serde_json = "1.0.120"
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ flume = "0.11.1"
|
|||||||
libc = "0.2.167"
|
libc = "0.2.167"
|
||||||
once_cell = "1.20.2"
|
once_cell = "1.20.2"
|
||||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ mshv-bindings = { workspace = true, features = [
|
|||||||
], optional = true }
|
], optional = true }
|
||||||
mshv-ioctls = { workspace = true, optional = true }
|
mshv-ioctls = { workspace = true, optional = true }
|
||||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
serde_with = { version = "3.9.0", default-features = false, features = [
|
serde_with = { version = "3.9.0", default-features = false, features = [
|
||||||
"macros",
|
"macros",
|
||||||
] }
|
] }
|
||||||
|
|||||||
+1
-1
@@ -27,4 +27,4 @@ vmm-sys-util = { workspace = true }
|
|||||||
once_cell = "1.20.2"
|
once_cell = "1.20.2"
|
||||||
pnet = "0.35.0"
|
pnet = "0.35.0"
|
||||||
pnet_datalink = "0.35.0"
|
pnet_datalink = "0.35.0"
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ version = "0.1.0"
|
|||||||
clap = { version = "4.5.13", features = ["wrap_help"] }
|
clap = { version = "4.5.13", features = ["wrap_help"] }
|
||||||
dirs = "6.0.0"
|
dirs = "6.0.0"
|
||||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
test_infra = { path = "../test_infra" }
|
test_infra = { path = "../test_infra" }
|
||||||
thiserror = "2.0.6"
|
thiserror = "2.0.6"
|
||||||
wait-timeout = "0.2.0"
|
wait-timeout = "0.2.0"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ epoll = "4.3.3"
|
|||||||
libc = "0.2.167"
|
libc = "0.2.167"
|
||||||
once_cell = "1.20.2"
|
once_cell = "1.20.2"
|
||||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
ssh2 = { version = "0.9.4", features = ["vendored-openssl"] }
|
ssh2 = { version = "0.9.4", features = ["vendored-openssl"] }
|
||||||
vmm-sys-util = { workspace = true }
|
vmm-sys-util = { workspace = true }
|
||||||
wait-timeout = "0.2.0"
|
wait-timeout = "0.2.0"
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ libc = "0.2.167"
|
|||||||
log = "0.4.22"
|
log = "0.4.22"
|
||||||
once_cell = "1.20.2"
|
once_cell = "1.20.2"
|
||||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
tracing = []
|
tracing = []
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ pci = { path = "../pci" }
|
|||||||
rate_limiter = { path = "../rate_limiter" }
|
rate_limiter = { path = "../rate_limiter" }
|
||||||
seccompiler = { workspace = true }
|
seccompiler = { workspace = true }
|
||||||
serde = { version = "1.0.208", features = ["derive"] }
|
serde = { version = "1.0.208", features = ["derive"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
serde_with = { version = "3.9.0", default-features = false, features = [
|
serde_with = { version = "3.9.0", default-features = false, features = [
|
||||||
"macros",
|
"macros",
|
||||||
] }
|
] }
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ version = "0.1.0"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.94"
|
anyhow = "1.0.94"
|
||||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
thiserror = "2.0.6"
|
thiserror = "2.0.6"
|
||||||
vm-memory = { workspace = true, features = ["backend-atomic", "backend-mmap"] }
|
vm-memory = { workspace = true, features = ["backend-atomic", "backend-mmap"] }
|
||||||
|
|||||||
+1
-1
@@ -63,7 +63,7 @@ range_map_vec = { version = "0.2.0", optional = true }
|
|||||||
rate_limiter = { path = "../rate_limiter" }
|
rate_limiter = { path = "../rate_limiter" }
|
||||||
seccompiler = { workspace = true }
|
seccompiler = { workspace = true }
|
||||||
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0.120"
|
serde_json = { workspace = true }
|
||||||
serial_buffer = { path = "../serial_buffer" }
|
serial_buffer = { path = "../serial_buffer" }
|
||||||
signal-hook = "0.3.17"
|
signal-hook = "0.3.17"
|
||||||
thiserror = "2.0.6"
|
thiserror = "2.0.6"
|
||||||
|
|||||||
Reference in New Issue
Block a user