From 5f7ad467a6d1a24460f84e30f39740987f4a8e93 Mon Sep 17 00:00:00 2001 From: Oleksii Karpenko Date: Tue, 24 Dec 2024 20:13:27 +0200 Subject: [PATCH] chore!: Update kube v0.98, k8s-openapi v0.24, MSRV v1.81, MK8SV v1.28 (#18) ** Update kube dependency to v0.98 ** Update k8s-openapi depoendency to v0.24 ** Increase MSRV to v1.81 ** Increase MK8SV to v1.28 --- .cargo/config.toml | 2 +- .github/workflows/ci.yaml | 4 ++-- Cargo.toml | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index e2a8b01..9277b41 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,2 @@ [env] -K8S_OPENAPI_ENABLED_VERSION = "1.26" +K8S_OPENAPI_ENABLED_VERSION = "1.28" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3ce2b7..945f039 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,9 +16,9 @@ jobs: rust: - stable - beta - - 1.77.2 + - 1.81.0 k8s: - - v1.26 + - v1.28 - latest steps: diff --git a/Cargo.toml b/Cargo.toml index ff6a5d3..5e691e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,18 +4,18 @@ authors = ["Oleksii Karpenko "] categories = ["api-bindings", "asynchronous"] description = "Ergonomic and reliable leader election using Kubernetes Lease API." edition = "2021" -rust-version = "1.77.2" +rust-version = "1.81.0" homepage = "https://github.com/alex-karpenko/kube-lease-manager" keywords = ["kubernetes", "async", "lease", "leader", "election"] license = "MIT" readme = "README.md" repository = "https://github.com/alex-karpenko/kube-lease-manager" -version = "0.6.0" +version = "0.7.0" exclude = [".github/**", ".vscode/**", "TODO.md", "Cargo.lock", "target/**", ".gitignore", ".cargo/**", "mutants.*/**"] [dependencies] -k8s-openapi = { version = "0.23.0", default-features = false } -kube = { version = "0.97.0", default-features = false, features = ["client"] } +k8s-openapi = { version = "0.24.0", default-features = false } +kube = { version = "0.98.0", default-features = false, features = ["client"] } rand = { version = "0.8.5" } thiserror = "2.0.3" tokio = { version = "1.38.0", default-features = false, features = ["sync", "time", "macros"] } @@ -24,10 +24,10 @@ tracing = { version = "0.1.40", default-features = false, features = ["std"] } [dev-dependencies] anyhow = "1.0.93" futures = { version = "0.3.31", default-features = false, features = ["async-await"] } -kube = { version = "0.97.0", default-features = false, features = ["rustls-tls", "runtime"] } +kube = { version = "0.98.0", default-features = false, features = ["rustls-tls", "runtime"] } tokio = { version = "1.38.0", default-features = false, features = ["rt-multi-thread"] } tracing-subscriber = { version = "0.3.18" } uuid = { version = "1.10.0", features = ["v4"] } [package.metadata.docs.rs] -features = ["k8s-openapi/v1_26"] +features = ["k8s-openapi/v1_28"]