Skip to content

Commit

Permalink
Use workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Jan 2, 2023
1 parent ccf5554 commit e5c394a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
14 changes: 10 additions & 4 deletions Cargo.toml
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions agones/Cargo.toml
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/quilkin-filter-example/Cargo.toml
Expand Up @@ -27,7 +27,7 @@ edition = "2021"
# If lifting this example, you will want to be explicit about the Quilkin version, e.g.
# quilkin = "0.2.0"
quilkin = { path = "../../" }
tokio = { version = "1.21.2", features = ["full"] }
tokio.workspace = true
tonic = "0.8.2"
prost = "0.11.2"
prost-types = "0.11.2"
Expand Down

0 comments on commit e5c394a

Please sign in to comment.