Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 64 additions & 52 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,6 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"

[[package]]
name = "chrono"
version = "0.4.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
dependencies = [
"num-traits",
"serde",
]

[[package]]
name = "clap"
version = "4.5.54"
Expand Down Expand Up @@ -239,21 +229,20 @@ dependencies = [

[[package]]
name = "darling"
version = "0.21.3"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0"
checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
dependencies = [
"darling_core",
"darling_macro",
]

[[package]]
name = "darling_core"
version = "0.21.3"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4"
checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
Expand All @@ -263,9 +252,9 @@ dependencies = [

[[package]]
name = "darling_macro"
version = "0.21.3"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81"
checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
dependencies = [
"darling_core",
"quote",
Expand Down Expand Up @@ -337,7 +326,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"

[[package]]
name = "enum_default_generator"
version = "0.19.0"
version = "0.20.0"
dependencies = [
"codegen",
]
Expand All @@ -364,12 +353,6 @@ version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f449e6c6c08c865631d4890cfacf252b3d396c9bcc83adb6623cdb02a8336c41"

[[package]]
name = "fnv"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"

[[package]]
name = "form_urlencoded"
version = "1.2.2"
Expand Down Expand Up @@ -446,7 +429,7 @@ dependencies = [

[[package]]
name = "gateway-api"
version = "0.19.0"
version = "0.20.0"
dependencies = [
"anyhow",
"delegate",
Expand All @@ -468,7 +451,7 @@ dependencies = [

[[package]]
name = "gateway-api-examples"
version = "0.19.0"
version = "0.20.0"
dependencies = [
"anyhow",
"gateway-api",
Expand Down Expand Up @@ -533,15 +516,6 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"

[[package]]
name = "home"
version = "0.5.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d"
dependencies = [
"windows-sys 0.61.2",
]

[[package]]
name = "http"
version = "1.4.0"
Expand Down Expand Up @@ -701,6 +675,30 @@ version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"

[[package]]
name = "jiff"
version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e67e8da4c49d6d9909fe03361f9b620f58898859f5c7aded68351e85e71ecf50"
dependencies = [
"jiff-static",
"log",
"portable-atomic",
"portable-atomic-util",
"serde_core",
]

[[package]]
name = "jiff-static"
version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0c84ee7f197eca9a86c6fd6cb771e55eb991632f15f2bc3ca6ec838929e6e78"
dependencies = [
"proc-macro2",
"quote",
"syn",
]

[[package]]
name = "js-sys"
version = "0.3.83"
Expand All @@ -713,9 +711,9 @@ dependencies = [

[[package]]
name = "jsonpath-rust"
version = "0.7.5"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c00ae348f9f8fd2d09f82a98ca381c60df9e0820d8d79fce43e649b4dc3128b"
checksum = "633a7320c4bb672863a3782e89b9094ad70285e097ff6832cddd0ec615beadfa"
dependencies = [
"pest",
"pest_derive",
Expand All @@ -726,22 +724,22 @@ dependencies = [

[[package]]
name = "k8s-openapi"
version = "0.26.1"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06d9e5e61dd037cdc51da0d7e2b2be10f497478ea7e120d85dad632adb99882b"
checksum = "05a6d6f3611ad1d21732adbd7a2e921f598af6c92d71ae6e2620da4b67ee1f0d"
dependencies = [
"base64",
"chrono",
"jiff",
"schemars",
"serde",
"serde_json",
]

[[package]]
name = "kube"
version = "2.0.1"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48e7bb0b6a46502cc20e4575b6ff401af45cfea150b34ba272a3410b78aa014e"
checksum = "0dae7229247e4215781e5c5104a056e1e2163943e577f9084cf8bba7b5248f7a"
dependencies = [
"k8s-openapi",
"kube-client",
Expand All @@ -750,23 +748,22 @@ dependencies = [

[[package]]
name = "kube-client"
version = "2.0.1"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4987d57a184d2b5294fdad3d7fc7f278899469d21a4da39a8f6ca16426567a36"
checksum = "010875e291a9c0a4e076f4f9c35b97d82fd2372cb3bc713252c3d08b7e73ce5b"
dependencies = [
"base64",
"bytes",
"chrono",
"either",
"futures",
"home",
"http",
"http-body",
"http-body-util",
"hyper",
"hyper-rustls",
"hyper-timeout",
"hyper-util",
"jiff",
"jsonpath-rust",
"k8s-openapi",
"kube-core",
Expand All @@ -786,14 +783,14 @@ dependencies = [

[[package]]
name = "kube-core"
version = "2.0.1"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "914bbb770e7bb721a06e3538c0edd2babed46447d128f7c21caa68747060ee73"
checksum = "1ac76281aa698dd34111e25b21f5f6561932a30feabab5357152be273f8a81bb"
dependencies = [
"chrono",
"derive_more",
"form_urlencoded",
"http",
"jiff",
"k8s-openapi",
"schemars",
"serde",
Expand All @@ -804,9 +801,9 @@ dependencies = [

[[package]]
name = "kube-derive"
version = "2.0.1"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03dee8252be137772a6ab3508b81cd797dee62ee771112a2453bc85cbbe150d2"
checksum = "599c09721efcccc0e6a26e93df28c587da60ff5e099c657626fff2af0ae4cbb8"
dependencies = [
"darling",
"proc-macro2",
Expand Down Expand Up @@ -1032,6 +1029,21 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"

[[package]]
name = "portable-atomic"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950"

[[package]]
name = "portable-atomic-util"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
dependencies = [
"portable-atomic",
]

[[package]]
name = "powerfmt"
version = "0.2.0"
Expand Down Expand Up @@ -1736,7 +1748,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"

[[package]]
name = "type-reducer"
version = "0.19.0"
version = "0.20.0"
dependencies = [
"clap",
"itertools",
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ resolver = "2"
authors = ["kube-rs project (https://kube.rs)"]
edition = "2024"
license = "MIT"
version = "0.19.0"
version = "0.20.0"

[workspace.dependencies]
anyhow = "1.0.100"
delegate = "0.13.5"
hyper-util = "0.1.19"
kube = { version = "2.0.1", default-features = false }
kube-core = { version = "2.0.1", default-features = false }
kube-derive = { version = "2.0.1" }
k8s-openapi = { version = "0.26.1" }
kube = { version = "3.0.0", default-features = false }
kube-core = { version = "3.0.0", default-features = false }
kube-derive = { version = "3.0.0" }
k8s-openapi = { version = "0.27.0" }
once_cell = "1.21.3"
regex = { package = "regex-lite", version = "0.1.8" }
schemars = "1.2.0"
Expand Down
10 changes: 5 additions & 5 deletions gateway-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mod tests {
use hyper_util::client::legacy::Client as HTTPClient;
use hyper_util::rt::TokioExecutor;
use k8s_openapi::apimachinery::pkg::apis::meta::v1::{Condition, Time};
use k8s_openapi::chrono::Utc;
use k8s_openapi::jiff::Timestamp;
use kube::Client as KubeClient;
use kube::api::{Patch, PatchParams, PostParams};
use kube::config::{KubeConfigOptions, Kubeconfig};
Expand Down Expand Up @@ -147,7 +147,7 @@ mod tests {
attached_routes: 0,
supported_kinds: vec![],
conditions: vec![Condition {
last_transition_time: Time(Utc::now()),
last_transition_time: Time(Timestamp::now()),
message: "testing gateway".to_string(),
observed_generation: Some(1),
reason: ListenerConditionReason::Programmed.to_string(),
Expand All @@ -156,7 +156,7 @@ mod tests {
}],
}]),
conditions: Some(vec![Condition {
last_transition_time: Time(Utc::now()),
last_transition_time: Time(Timestamp::now()),
message: "testing gateway".to_string(),
observed_generation: Some(1),
reason: GatewayConditionReason::Programmed.to_string(),
Expand Down Expand Up @@ -218,7 +218,7 @@ mod tests {
},
controller_name: "example.com/gateway-controller".to_string(),
conditions: vec![Condition {
last_transition_time: Time(Utc::now()),
last_transition_time: Time(Timestamp::now()),
message: "testing http route".to_string(),
observed_generation: Some(1),
reason: RouteConditionReason::Accepted.to_string(),
Expand Down Expand Up @@ -279,7 +279,7 @@ mod tests {
},
controller_name: "example.com/gateway-controller".to_string(),
conditions: vec![Condition {
last_transition_time: Time(Utc::now()),
last_transition_time: Time(Timestamp::now()),
message: "testing grpc route".to_string(),
observed_generation: Some(1),
reason: RouteConditionReason::Accepted.to_string(),
Expand Down
Loading