From ec5e687c5253d090662ff763b0cc549b5f17392c Mon Sep 17 00:00:00 2001 From: clux Date: Thu, 31 Mar 2022 19:48:48 +0100 Subject: [PATCH 1/2] Make direct dependencies of kube be direct pins Signed-off-by: clux --- kube/Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kube/Cargo.toml b/kube/Cargo.toml index fff5af61e..320224d14 100644 --- a/kube/Cargo.toml +++ b/kube/Cargo.toml @@ -37,10 +37,10 @@ features = ["client", "native-tls", "rustls-tls", "openssl-tls", "derive", "ws", rustdoc-args = ["--cfg", "docsrs"] [dependencies] -kube-derive = { path = "../kube-derive", version = "^0.70.0", optional = true } -kube-core = { path = "../kube-core", version = "^0.70.0" } -kube-client = { path = "../kube-client", version = "^0.70.0", default-features = false, optional = true } -kube-runtime = { path = "../kube-runtime", version = "^0.70.0", optional = true} +kube-derive = { path = "../kube-derive", version = "=0.70.0", optional = true } +kube-core = { path = "../kube-core", version = "=0.70.0" } +kube-client = { path = "../kube-client", version = "=0.70.0", default-features = false, optional = true } +kube-runtime = { path = "../kube-runtime", version = "=0.70.0", optional = true} # Not used directly, but required by resolver 2.0 to ensure that the k8s-openapi dependency # is considered part of the "deps" graph rather than just the "dev-deps" graph From 2c0a2dc33a2f830f10c9f1a8c31876295558e405 Mon Sep 17 00:00:00 2001 From: clux Date: Thu, 31 Mar 2022 19:50:23 +0100 Subject: [PATCH 2/2] make remaining tree depend on each other directly Signed-off-by: clux --- kube-client/Cargo.toml | 2 +- kube-runtime/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kube-client/Cargo.toml b/kube-client/Cargo.toml index e982ea6af..fa93f30cf 100644 --- a/kube-client/Cargo.toml +++ b/kube-client/Cargo.toml @@ -56,7 +56,7 @@ rustls = { version = "0.20.3", features = ["dangerous_configuration"], optional rustls-pemfile = { version = "0.3.0", optional = true } bytes = { version = "1.1.0", optional = true } tokio = { version = "1.14.0", features = ["time", "signal", "sync"], optional = true } -kube-core = { path = "../kube-core", version = "^0.70.0" } +kube-core = { path = "../kube-core", version = "=0.70.0" } jsonpath_lib = { version = "0.3.0", optional = true } tokio-util = { version = "0.7.0", optional = true, features = ["io", "codec"] } hyper = { version = "0.14.13", optional = true, features = ["client", "http1", "stream", "tcp"] } diff --git a/kube-runtime/Cargo.toml b/kube-runtime/Cargo.toml index 695d1dbd6..c4db8694d 100644 --- a/kube-runtime/Cargo.toml +++ b/kube-runtime/Cargo.toml @@ -21,7 +21,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] futures = "0.3.17" -kube-client = { path = "../kube-client", version = "^0.70.0", default-features = false, features = ["jsonpatch", "client"] } +kube-client = { path = "../kube-client", version = "=0.70.0", default-features = false, features = ["jsonpatch", "client"] } derivative = "2.1.1" serde = "1.0.130" smallvec = "1.7.0"