From c04d99c7c94a1fc80455d0215d8993da35f227f3 Mon Sep 17 00:00:00 2001 From: 4t145 Date: Mon, 27 Nov 2023 10:21:28 +0800 Subject: [PATCH 1/2] fix typo, release rc4 --- Cargo.toml | 2 +- tardis/src/cache/cache_client.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index efd7a1d5..b0549128 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ codegen-units = 1 opt-level = "z" [workspace.package] -version = "0.1.0-rc.3" +version = "0.1.0-rc.4" authors = ["gudaoxuri "] description = "Elegant, clean Rust development framework" keywords = ["http", "database", "web", "redis", "mq"] diff --git a/tardis/src/cache/cache_client.rs b/tardis/src/cache/cache_client.rs index 8afc0d0c..c314de66 100644 --- a/tardis/src/cache/cache_client.rs +++ b/tardis/src/cache/cache_client.rs @@ -169,7 +169,7 @@ impl TardisCacheClient { } pub async fn linsert_before(&self, key: &str, count: isize, value: &str) -> RedisResult { - trace!("[Tardis.CacheClient] linsert_after, key:{}", key); + trace!("[Tardis.CacheClient] linsert_before, key:{}", key); self.get_connection().await?.linsert_before(key, count, value).await } From 2a4560115bc3e8ffca02813570a6b250783e746b Mon Sep 17 00:00:00 2001 From: 4t145 Date: Mon, 27 Nov 2023 10:40:31 +0800 Subject: [PATCH 2/2] resolve versions --- tardis/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tardis/Cargo.toml b/tardis/Cargo.toml index a8c4be82..60d1831b 100644 --- a/tardis/Cargo.toml +++ b/tardis/Cargo.toml @@ -181,7 +181,7 @@ tokio-tungstenite = { version = "0.20", features = [ ], optional = true } # Redis -redis = { version = "0.23", features = [ +redis = { version = "=0.23.3", features = [ "tokio-comp", "tokio-native-tls-comp", ], optional = true } @@ -205,8 +205,8 @@ rust-s3 = { version = "0.33", optional = true } anyhow = { version = "1.0", optional = true } # K8s -kube = { version = "0.87", features = ["runtime"], optional = true } -k8s-openapi = { version = "0.20", features = ["earliest"], optional = true } +kube = { version = "^0.85", features = ["runtime"], optional = true } +k8s-openapi = { version = "^0.19", features = ["earliest"], optional = true } # Test testcontainers = { version = "0.15", optional = true }