From 320decbcd6b9ff5fc5bf6e8de00311b97b1fab22 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Wed, 1 Jul 2026 08:04:15 -0700 Subject: [PATCH] =?UTF-8?q?agent/policy:=20bump=20json-patch=202.0.0=20?= =?UTF-8?q?=E2=86=92=204.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No API changes required: Patch, PatchOperation, and patch() have compatible signatures across the 2.x → 4.x range. Generated-by: IBM Bob Signed-off-by: stevenhorsman --- Cargo.lock | 40 ++++--------------------------------- src/agent/policy/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 37 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee71c64b9a..0232882153 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2171,15 +2171,6 @@ dependencies = [ "miniz_oxide", ] -[[package]] -name = "fluent-uri" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d" -dependencies = [ - "bitflags 1.3.2", -] - [[package]] name = "fluent-uri" version = "0.3.2" @@ -2441,7 +2432,7 @@ dependencies = [ "env_logger 0.10.2", "flate2", "fs2", - "json-patch 4.2.0", + "json-patch", "k8s-cri", "kata-agent-policy", "kata-types", @@ -3388,25 +3379,13 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "json-patch" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b1fb8864823fad91877e6caea0baca82e49e8db50f8e5c9f9a453e27d3330fc" -dependencies = [ - "jsonptr 0.4.7", - "serde", - "serde_json", - "thiserror 1.0.69", -] - [[package]] name = "json-patch" version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7421438de105a0827e44fadd05377727847d717c80ce29a229f85fd04c427b72" dependencies = [ - "jsonptr 0.7.1", + "jsonptr", "serde", "serde_json", "thiserror 2.0.18", @@ -3425,17 +3404,6 @@ dependencies = [ "thiserror 2.0.18", ] -[[package]] -name = "jsonptr" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c6e529149475ca0b2820835d3dce8fcc41c6b943ca608d32f35b449255e4627" -dependencies = [ - "fluent-uri 0.1.4", - "serde", - "serde_json", -] - [[package]] name = "jsonptr" version = "0.7.1" @@ -3615,7 +3583,7 @@ name = "kata-agent-policy" version = "0.1.0" dependencies = [ "anyhow", - "json-patch 2.0.0", + "json-patch", "libc", "protocols", "regorus", @@ -6237,7 +6205,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e9c261f7ce75418b3beadfb3f0eb1299fe8eb9640deba45ffa2cb783098697d" dependencies = [ "ahash 0.8.12", - "fluent-uri 0.3.2", + "fluent-uri", "once_cell", "parking_lot", "percent-encoding", diff --git a/src/agent/policy/Cargo.toml b/src/agent/policy/Cargo.toml index c7790166dd..beeeb573e8 100644 --- a/src/agent/policy/Cargo.toml +++ b/src/agent/policy/Cargo.toml @@ -34,7 +34,7 @@ regorus = { git = "https://github.com/microsoft/regorus", rev = "898643129e3652e "regex", "std", ] } -json-patch = "2.0.0" +json-patch = "4.2.0" # POSIX libc.workspace = true