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:
Jinank Jain
2025-04-01 08:41:32 +00:00
parent 6bb33601d0
commit 3698b8e74c
10 changed files with 14 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ libc = "0.2.167"
log = { version = "0.4.22", features = ["std"] }
option_parser = { path = "option_parser" }
seccompiler = { workspace = true }
serde_json = "1.0.120"
serde_json = { workspace = true }
signal-hook = "0.3.17"
thiserror = "2.0.6"
tpm = { path = "tpm" }
@@ -54,7 +54,7 @@ zbus = { version = "4.4.0", optional = true }
dirs = "6.0.0"
net_util = { path = "net_util" }
once_cell = "1.20.2"
serde_json = "1.0.120"
serde_json = { workspace = true }
test_infra = { path = "test_infra" }
wait-timeout = "0.2.0"
@@ -124,3 +124,6 @@ vmm-sys-util = "0.12.1"
# igvm crates
igvm = "0.3.4"
igvm_defs = "0.3.1"
# serde crates
serde_json = "1.0.120"