diff --git a/Cargo.lock b/Cargo.lock index 04997d7..cb8633a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1174,12 +1174,24 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b1fb8864823fad91877e6caea0baca82e49e8db50f8e5c9f9a453e27d3330fc" dependencies = [ - "jsonptr", + "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", + "serde", + "serde_json", + "thiserror 2.0.18", +] + [[package]] name = "jsonpath-rust" version = "0.5.1" @@ -1206,6 +1218,16 @@ dependencies = [ "serde_json", ] +[[package]] +name = "jsonptr" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5a3cc660ba5d72bce0b3bb295bf20847ccbb40fd423f3f05b61273672e561fe" +dependencies = [ + "serde", + "serde_json", +] + [[package]] name = "k8s-openapi" version = "0.23.0" @@ -1281,7 +1303,7 @@ dependencies = [ "chrono", "form_urlencoded", "http", - "json-patch", + "json-patch 2.0.0", "k8s-openapi", "schemars", "serde", @@ -1317,8 +1339,8 @@ dependencies = [ "derivative", "futures", "hashbrown 0.14.5", - "json-patch", - "jsonptr", + "json-patch 2.0.0", + "jsonptr 0.4.7", "k8s-openapi", "kube-client", "parking_lot", @@ -2190,7 +2212,7 @@ dependencies = [ "chrono", "clap", "futures", - "json-patch", + "json-patch 4.2.0", "k8s-openapi", "kube", "rand", diff --git a/Cargo.toml b/Cargo.toml index 493417e..3a0fd44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ clap = { version = "4.5", features = ["derive", "env"] } chrono = { version = "0.4", features = ["serde"] } # JSON patching for status updates -json-patch = "2.0" +json-patch = "4.2" # Schema generation schemars = "0.8"