From 6ae3f982209a412574bf2affc2effc59f2cc95eb Mon Sep 17 00:00:00 2001 From: Alec Embke Date: Sun, 14 Apr 2024 21:18:05 -0700 Subject: [PATCH] 9.0.1 (#238) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: partial-tracing imports --------- Co-authored-by: 王子凌 --- .circleci/config.yml | 3 +++ CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- src/trace/enabled.rs | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f920307a..82a9b453 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -226,6 +226,9 @@ jobs: - checkout - build_docs - test_mocks + - run: + name: Check partial tracing + command: cargo check --features partial-tracing check-all-interface-features: docker: - image: cimg/rust:1.77.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index fe0e0216..8c0cfcf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 9.0.1 + +* Fix `partial-tracing` imports + ## 9.0.0 This version should reduce compilation times for most use cases. diff --git a/Cargo.toml b/Cargo.toml index c7724b33..ebd7148c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fred" -version = "9.0.0" +version = "9.0.1" authors = ["Alec Embke "] edition = "2021" description = "An async Redis client built on Tokio." diff --git a/src/trace/enabled.rs b/src/trace/enabled.rs index cc397abd..2bfac6c5 100644 --- a/src/trace/enabled.rs +++ b/src/trace/enabled.rs @@ -107,7 +107,7 @@ pub fn create_pubsub_span(inner: &Arc, frame: &Resp3Frame) -> } #[cfg(not(feature = "full-tracing"))] -pub fn create_pubsub_span(_inner: &Arc, _frame: &Frame) -> Option { +pub fn create_pubsub_span(_inner: &Arc, _frame: &Resp3Frame) -> Option { Some(FakeSpan {}) }