From 41eb06f8df5454b7cc1414a66d5c5825b21aac20 Mon Sep 17 00:00:00 2001 From: Oleksii Karpenko Date: Sun, 7 Jul 2024 23:15:35 +0300 Subject: [PATCH] Exclude k8s-openapi feature from dependencies --- .cargo/config.toml | 2 ++ Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..e2a8b01 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[env] +K8S_OPENAPI_ENABLED_VERSION = "1.26" diff --git a/Cargo.toml b/Cargo.toml index 519f0c5..f0bfc9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,11 @@ exclude = [ "Cargo.lock", "target/**", ".gitignore", + ".cargo/**", ] [dependencies] -k8s-openapi = { version = "0.22.0", features = ["v1_26"] } +k8s-openapi = { version = "0.22.0" } kube = { version = "0.92.1", default-features = false, features = ["client"] } rand = { version = "0.8.5" } thiserror = "1.0.61"