From b0d75ff4897ade8faf47a124ce9a73f3637896c0 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Thu, 14 May 2020 14:28:48 -0700 Subject: [PATCH] attributes: prepare to release v0.1.8 (#714) 0.1.8 (May 13, 2020) Added: - Support for using `#[instrument]` on methods that are part of [`async-trait`] trait implementations (#711) - Optional `#[instrument(err)]` argument to automatically emit an event if an instrumented function returns `Err` (#637) Thanks to @ilana and @nightmared for contributing to this release! [`async-trait`]: https://crates.io/crates/async-trait Signed-off-by: Eliza Weisman --- tracing-attributes/CHANGELOG.md | 13 +++++++++++++ tracing-attributes/Cargo.toml | 2 +- tracing-attributes/README.md | 6 +++--- tracing-attributes/src/lib.rs | 4 ++-- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/tracing-attributes/CHANGELOG.md b/tracing-attributes/CHANGELOG.md index 0aa815c1..2d23d0f3 100644 --- a/tracing-attributes/CHANGELOG.md +++ b/tracing-attributes/CHANGELOG.md @@ -1,3 +1,16 @@ +# 0.1.8 (May 13, 2020) + +### Added + +- Support for using `#[instrument]` on methods that are part of [`async-trait`] + trait implementations (#711) +- Optional `#[instrument(err)]` argument to automatically emit an event if an + instrumented function returns `Err` (#637) + +Thanks to @ilana and @nightmared for contributing to this release! + +[`async-trait`]: https://crates.io/crates/async-trait + # 0.1.7 (February 26, 2020) ### Added diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 4e95d629..bab41f4c 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.7" +version = "0.1.8" authors = [ "Tokio Contributors ", "Eliza Weisman ", diff --git a/tracing-attributes/README.md b/tracing-attributes/README.md index 56dc1219..3d0b30ff 100644 --- a/tracing-attributes/README.md +++ b/tracing-attributes/README.md @@ -14,7 +14,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.7 +[docs-url]: https://docs.rs/tracing-attributes/0.1.8 [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 @@ -39,7 +39,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -tracing-attributes = "0.1.7" +tracing-attributes = "0.1.8" ``` *Compiler support: requires rustc 1.39+* @@ -58,7 +58,7 @@ pub fn my_function(my_arg: usize) { [`tracing`]: https://crates.io/crates/tracing -[span]: https://docs.rs/tracing/0.1.7/tracing/span/index.html +[span]: https://docs.rs/tracing/0.1.8/tracing/span/index.html ## License diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs index 5c769281..0914f01a 100644 --- a/tracing-attributes/src/lib.rs +++ b/tracing-attributes/src/lib.rs @@ -12,7 +12,7 @@ //! //! ```toml //! [dependencies] -//! tracing-attributes = "0.1.7" +//! tracing-attributes = "0.1.8" //! ``` //! //! *Compiler support: requires rustc 1.39+* @@ -35,7 +35,7 @@ //! [`tracing`]: https://crates.io/crates/tracing //! [span]: https://docs.rs/tracing/latest/tracing/span/index.html //! [instrument]: attr.instrument.html -#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.7")] +#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.8")] #![warn( missing_debug_implementations, missing_docs,