From 02a0badf37cc11fa184bc9dd0d67c7b726e01071 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 19 Jun 2023 06:45:55 -0700 Subject: [PATCH] attributes: prepare to release v0.1.25 (#2625) # 0.1.25 (June 19th, 2023) This release of `tracing-attributes` fixes the Clippy lint [`let_with_type_underscore`] in code generated by the `#[instrument]` attribute in Rust 1.70+. ### Fixed - Allow [`clippy::let_with_type_underscore`] in macro-generated code ([#2609]) Thanks to @coolreader19 for contributing to this release! [#2609]: https://github.com/tokio-rs/tracing/pull/2609 [`let_with_type_underscore`]: http://rust-lang.github.io/rust-clippy/rust-1.70.0/index.html#let_with_type_underscore --- tracing-attributes/CHANGELOG.md | 16 ++++++++++++++++ tracing-attributes/Cargo.toml | 2 +- tracing-attributes/README.md | 4 ++-- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/tracing-attributes/CHANGELOG.md b/tracing-attributes/CHANGELOG.md index 5e06f1a10b..59bf7f6123 100644 --- a/tracing-attributes/CHANGELOG.md +++ b/tracing-attributes/CHANGELOG.md @@ -1,3 +1,19 @@ +# 0.1.25 (June 19th, 2023) + +This release of `tracing-attributes` fixes the Clippy lint +[`let_with_type_underscore`] in code generated by the `#[instrument]` +attribute in Rust 1.70+. + +### Fixed + +- Allow [`clippy::let_with_type_underscore`] in macro-generated code ([#2609]) + +Thanks to @coolreader19 for contributing to this release! + +[#2609]: https://github.com/tokio-rs/tracing/pull/2609 + +[`let_with_type_underscore`]: http://rust-lang.github.io/rust-clippy/rust-1.70.0/index.html#let_with_type_underscore + # 0.1.24 (April 24th, 2023) This release of `tracing-attributes` adds support for passing an optional diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 367376722f..72d09f88c0 100644 --- a/tracing-attributes/Cargo.toml +++ b/tracing-attributes/Cargo.toml @@ -8,7 +8,7 @@ name = "tracing-attributes" # - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.1.24" +version = "0.1.25" authors = [ "Tokio Contributors ", "Eliza Weisman ", diff --git a/tracing-attributes/README.md b/tracing-attributes/README.md index a3ae1f4e34..76acf84fec 100644 --- a/tracing-attributes/README.md +++ b/tracing-attributes/README.md @@ -18,7 +18,7 @@ Macro attributes for application-level tracing. [crates-badge]: https://img.shields.io/crates/v/tracing-attributes.svg [crates-url]: https://crates.io/crates/tracing-attributes [docs-badge]: https://docs.rs/tracing-attributes/badge.svg -[docs-url]: https://docs.rs/tracing-attributes/0.1.23 +[docs-url]: https://docs.rs/tracing-attributes/0.1.25 [docs-master-badge]: https://img.shields.io/badge/docs-master-blue [docs-master-url]: https://tracing-rs.netlify.com/tracing_attributes [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg @@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -tracing-attributes = "0.1.23" +tracing-attributes = "0.1.25" ```