From 21c969e8a29dfd15fa2d64c7f2cb3424d57d623d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 24 Dec 2024 00:21:56 +0000 Subject: [PATCH] Update Rust crate kube to 0.98.0 --- Cargo.lock | 82 +++++++++++++++++++++++++++++++++++++++++------------- Cargo.toml | 2 +- 2 files changed, 64 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 89c9d23..2b4fbee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -464,7 +464,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -709,6 +709,17 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "hostname" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" +dependencies = [ + "cfg-if", + "libc", + "windows", +] + [[package]] name = "http" version = "1.2.0" @@ -1109,12 +1120,25 @@ dependencies = [ ] [[package]] -name = "kube" -version = "0.97.0" +name = "k8s-openapi" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fd2596428f922f784ca43907c449f104d69055c811135684474143736c67ae" +checksum = "2c75b990324f09bef15e791606b7b7a296d02fc88a344f6eba9390970a870ad5" dependencies = [ - "k8s-openapi", + "base64 0.22.1", + "chrono", + "serde", + "serde-value", + "serde_json", +] + +[[package]] +name = "kube" +version = "0.98.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32053dc495efad4d188c7b33cc7c02ef4a6e43038115348348876efd39a53cba" +dependencies = [ + "k8s-openapi 0.24.0", "kube-client", "kube-core", "kube-derive", @@ -1123,9 +1147,9 @@ dependencies = [ [[package]] name = "kube-client" -version = "0.97.0" +version = "0.98.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d539b6493d162ae5ab691762be972b6a1c20f6d8ddafaae305c0e2111b589d99" +checksum = "9d34ad38cdfbd1fa87195d42569f57bb1dda6ba5f260ee32fef9570b7937a0c9" dependencies = [ "base64 0.22.1", "bytes", @@ -1142,7 +1166,7 @@ dependencies = [ "hyper-timeout", "hyper-util", "jsonpath-rust", - "k8s-openapi", + "k8s-openapi 0.24.0", "kube-core", "pem", "rustls", @@ -1161,15 +1185,15 @@ dependencies = [ [[package]] name = "kube-core" -version = "0.97.0" +version = "0.98.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98a87cc0046cf6b62cbb63ae1fbc366ee8ba29269f575289679473754ff5d7a7" +checksum = "97aa830b288a178a90e784d1b0f1539f2d200d2188c7b4a3146d9dc983d596f3" dependencies = [ "chrono", "form_urlencoded", "http", "json-patch", - "k8s-openapi", + "k8s-openapi 0.24.0", "schemars", "serde", "serde-value", @@ -1179,9 +1203,9 @@ dependencies = [ [[package]] name = "kube-derive" -version = "0.97.0" +version = "0.98.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65576922713e6154a89b5a8d2747adca15725b90fa64fc2b828774bf96d6acd8" +checksum = "37745d8a4076b77e0b1952e94e358726866c8e14ec94baaca677d47dcdb98658" dependencies = [ "darling", "proc-macro2", @@ -1192,9 +1216,9 @@ dependencies = [ [[package]] name = "kube-runtime" -version = "0.97.0" +version = "0.98.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f348cc3e6c9be0ae17f300594bde541b667d10ab8934a119edd61ab5123c43e" +checksum = "7a41af186a0fe80c71a13a13994abdc3ebff80859ca6a4b8a6079948328c135b" dependencies = [ "ahash", "async-broadcast", @@ -1204,9 +1228,10 @@ dependencies = [ "educe", "futures", "hashbrown", + "hostname", "json-patch", "jsonptr", - "k8s-openapi", + "k8s-openapi 0.24.0", "kube-client", "parking_lot", "pin-project", @@ -1271,7 +1296,7 @@ dependencies = [ "anyhow", "env_logger", "futures", - "k8s-openapi", + "k8s-openapi 0.23.0", "kube", "log", "mktemp", @@ -1704,7 +1729,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2089,7 +2114,7 @@ dependencies = [ "fastrand", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2462,6 +2487,25 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core", + "windows-targets", +] + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets", +] + [[package]] name = "windows-registry" version = "0.2.0" diff --git a/Cargo.toml b/Cargo.toml index cb9ccf3..0017bc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ serde = { version = "1.0.198", features = ["derive"] } serde_json = "1.0.115" schemars = "0.8.17" tokio = { version = "1.37.0", features = ["full"] } -kube = { version = "0.97.0", features = ["runtime", "derive"] } +kube = { version = "0.98.0", features = ["runtime", "derive"] } k8s-openapi = { version = "0.23.0", features = ["v1_31"] } futures = "0.3.30" thiserror = "2.0.7"