From 5f94d4a072a8f00a8df09cb74f5b14f7dc931f74 Mon Sep 17 00:00:00 2001 From: Leon Hartley Date: Sat, 1 Apr 2023 16:47:37 +0100 Subject: [PATCH] coerce 0.8.7, coerce-redis 0.4.0, coerce-k8s 0.1.3 --- Cargo.lock | 37 ++++++++++--------- coerce/Cargo.toml | 2 +- coerce/src/remote/net/security/auth/mod.rs | 4 +- providers/discovery/coerce-k8s/Cargo.toml | 4 +- providers/persistence/coerce-redis/Cargo.toml | 4 +- 5 files changed, 25 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 846882e9..56e559b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,26 +258,37 @@ dependencies = [ [[package]] name = "coerce" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180bfcd06792ad7980497c874bb544a1eea6c8f09ad395d2d871de549142122a" +version = "0.8.6" dependencies = [ + "anyhow", "async-trait", + "axum", + "bencher", "byteorder", "bytes", "chrono", + "coerce-macros 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures", "hashring", + "hmac", + "jwt", "lazy_static", + "metrics", + "metrics-exporter-prometheus", + "metrics-util", "parking_lot", "protobuf", "rand 0.8.5", "serde", "serde_json", + "sha2", "tokio", "tokio-stream", "tokio-util", "tracing", + "tracing-subscriber 0.3.16", + "utoipa", + "utoipa-swagger-ui", "uuid", "valuable", ] @@ -285,36 +296,26 @@ dependencies = [ [[package]] name = "coerce" version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d3f4bffb75f1c6bc0d3e18eeb98d888e7b3fe8818fe59a2939bb02cd0b22881" dependencies = [ "anyhow", "async-trait", - "axum", - "bencher", "byteorder", "bytes", "chrono", - "coerce-macros 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "futures", "hashring", - "hmac", - "jwt", "lazy_static", - "metrics", - "metrics-exporter-prometheus", - "metrics-util", "parking_lot", "protobuf", "rand 0.8.5", "serde", "serde_json", - "sha2", "tokio", "tokio-stream", "tokio-util", "tracing", - "tracing-subscriber 0.3.16", - "utoipa", - "utoipa-swagger-ui", "uuid", "valuable", ] @@ -338,9 +339,9 @@ dependencies = [ [[package]] name = "coerce-k8s" -version = "0.1.3" +version = "0.1.4" dependencies = [ - "coerce 0.8.3", + "coerce 0.8.6 (registry+https://github.com/rust-lang/crates.io-index)", "k8s-openapi", "kube", "tracing", @@ -381,7 +382,7 @@ dependencies = [ "anyhow", "async-trait", "bytes", - "coerce 0.8.6", + "coerce 0.8.6 (registry+https://github.com/rust-lang/crates.io-index)", "redis", "tokio", ] diff --git a/coerce/Cargo.toml b/coerce/Cargo.toml index a41234b9..a1becb7b 100644 --- a/coerce/Cargo.toml +++ b/coerce/Cargo.toml @@ -2,7 +2,7 @@ name = "coerce" description = "Async actor runtime and distributed systems framework" license = "Apache-2.0" -version = "0.8.6" +version = "0.8.7" authors = ["Leon Hartley "] edition = "2021" readme = "README.md" diff --git a/coerce/src/remote/net/security/auth/mod.rs b/coerce/src/remote/net/security/auth/mod.rs index e57915d4..afe3cb1d 100644 --- a/coerce/src/remote/net/security/auth/mod.rs +++ b/coerce/src/remote/net/security/auth/mod.rs @@ -1,5 +1,3 @@ -use crate::remote::net::security::jwt::Jwt; - #[cfg(feature = "client-auth-jwt")] pub mod jwt; @@ -7,7 +5,7 @@ pub enum ClientAuth { None, #[cfg(feature = "client-auth-jwt")] - Jwt(Jwt), + Jwt(jwt::Jwt), } impl Default for ClientAuth { diff --git a/providers/discovery/coerce-k8s/Cargo.toml b/providers/discovery/coerce-k8s/Cargo.toml index 30477999..e3ec33bd 100644 --- a/providers/discovery/coerce-k8s/Cargo.toml +++ b/providers/discovery/coerce-k8s/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "coerce-k8s" -version = "0.1.3" +version = "0.1.4" edition = "2021" description = "Kubernetes discovery provider, automatically discover cluster peers hosted in Kubernetes, based on a configurable pod-selection label" license = "Apache-2.0" @@ -11,7 +11,7 @@ repository = "https://github.com/leonhartley/coerce-rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -coerce = { version = "0.8.3", features = ["remote"] } +coerce = { version = "0.8.7", features = ["remote"] } kube = { version = "0.78.0", default-features = false, features = ["client", "rustls-tls"] } k8s-openapi = { version = "0.17.0", features = ["v1_24", "api"] } tracing = { version = "0.1" } \ No newline at end of file diff --git a/providers/persistence/coerce-redis/Cargo.toml b/providers/persistence/coerce-redis/Cargo.toml index 3277cbcb..cfa02a60 100644 --- a/providers/persistence/coerce-redis/Cargo.toml +++ b/providers/persistence/coerce-redis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "coerce-redis" -version = "0.3.0" +version = "0.4.0" authors = ["Leon Hartley "] edition = "2021" description = "Redis actor persistence provider for Coerce. Supports event sourcing and snapshots" @@ -16,7 +16,7 @@ cluster = [ ] [dependencies] -coerce = { path = "../../../coerce", features = ["persistence"] } +coerce = { version = "0.8.7", features = ["persistence"] } async-trait = { version = "0.1.64" } redis = { version = "0.22.3", features = ["tokio-comp"] } tokio = { version = "1.25.0", features = ["full"] }