From ada5e4173b40b280b78f5421869ce3958607ead6 Mon Sep 17 00:00:00 2001 From: Erin Power Date: Mon, 2 Jan 2023 13:51:48 +0100 Subject: [PATCH] Use workspace dependencies --- Cargo.toml | 14 ++++++++++---- agones/Cargo.toml | 8 ++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2a58dc5235..c1d3e04384 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,12 @@ [workspace] members = [".", "./macros", "./agones"] +[workspace.dependencies] +kube = { version = "0.77.0", features = ["derive", "runtime", "rustls-tls", "client"], default-features = false } +k8s-openapi = { version = "0.16.0", features = ["v1_22", "schemars"] } +tokio = { version = "1.23.0", features = ["rt-multi-thread", "fs", "signal", "test-util", "parking_lot", "tracing"] } +base64 = "0.13.1" + [package] name = "quilkin" version = "0.5.0-dev" @@ -43,7 +49,7 @@ quilkin-macros = { version = "0.5.0-dev", path = "./macros" } # Crates.io arc-swap = { version = "1.6.0", features = ["serde"] } async-stream = "0.3.3" -base64 = "0.13.1" +base64.workspace = true base64-serde = "0.6.1" bytes = { version = "1.3.0", features = ["serde"] } cached = "0.41.0" @@ -58,8 +64,7 @@ futures = "0.3.25" hyper = { version = "0.14.23", features = ["http2"] } hyper-rustls = { version = "0.23.2", features = ["http2", "webpki-roots"] } ipnetwork = "0.20.0" -k8s-openapi = { version = "0.16.0", features = ["v1_22", "schemars"] } -kube = { version = "0.77.0", features = ["derive", "runtime", "rustls-tls", "client"], default-features = false } +k8s-openapi.workspace = true maxminddb = "0.23.0" notify = "5.0.0" num_cpus = "1.15.0" @@ -81,7 +86,7 @@ socket2 = "0.4.7" stable-eyre = "0.2.2" tempdir = "0.3.7" thiserror = "1.0.38" -tokio = { version = "1.23.0", features = ["rt-multi-thread", "fs", "signal", "test-util", "parking_lot", "tracing"] } +tokio.workspace = true tokio-stream = { version = "0.1.11", features = ["sync"] } tonic = "0.8.3" tracing = "0.1.37" @@ -91,6 +96,7 @@ tryhard = "0.5.0" url = { version = "2.3.1", features = ["serde"] } uuid = { version = "1.2.2", default-features = false, features = ["v4"] } lasso = { version = "0.6.0", features = ["multi-threaded"] } +kube.workspace = true [target.'cfg(target_os = "linux")'.dependencies] sys-info = "0.9.1" diff --git a/agones/Cargo.toml b/agones/Cargo.toml index 1679c7a0e3..7e74d3174c 100644 --- a/agones/Cargo.toml +++ b/agones/Cargo.toml @@ -24,8 +24,8 @@ description = "End to end integration tests to be run against a Kubernetes clust readme = "README.md" [dependencies] -base64 = "0.13.0" -k8s-openapi = { version = "0.16.0", features = ["v1_22"] } -kube = { version = "0.76.0", features = ["runtime", "derive"] } +base64.workspace = true +k8s-openapi.workspace = true +kube.workspace = true quilkin = { path = "../" } -tokio = { version = "1.21.2", features = ["sync", "parking_lot"] } +tokio.workspace = true