diff --git a/tracing-attributes/CHANGELOG.md b/tracing-attributes/CHANGELOG.md index 8306d13c..022bda16 100644 --- a/tracing-attributes/CHANGELOG.md +++ b/tracing-attributes/CHANGELOG.md @@ -1,3 +1,15 @@ +# 0.1.2 (August 19, 2019) + +### Changed + +- Updated `syn` and `quote` dependencies to 1.0 (#292) +- Removed direct dependency on `proc-macro2` to avoid potential version + conflicts (#296) + +### Fixed + +- Outdated idioms in examples (#271, #273) + # 0.1.1 (August 9, 2019) ### Changed diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index f6a20301..3b6973bc 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.1" +version = "0.1.2" authors = [ "Tokio Contributors ", "Eliza Weisman ", diff --git a/tracing-attributes/README.md b/tracing-attributes/README.md index 8bc372c8..cc173db5 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 +[docs-url]: https://docs.rs/tracing-attributes/0.1.2 [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg [mit-url]: LICENSE [azure-badge]: https://dev.azure.com/tracing/tracing/_apis/build/status/tokio-rs.tracing?branchName=master @@ -37,7 +37,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -tracing-attributes = "0.1.0" +tracing-attributes = "0.1.2" ``` This crate provides the `#[instrument]` attribute for instrumenting a function @@ -54,7 +54,7 @@ pub fn my_function(my_arg: usize) { [`tracing`]: https://crates.io/crates/tracing -[span]: https://docs.rs/tracing/0.1.3/tracing/span/index.html +[span]: https://docs.rs/tracing/0.1.5/tracing/span/index.html ## License diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs index 19ccbf2b..f3a8d307 100644 --- a/tracing-attributes/src/lib.rs +++ b/tracing-attributes/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.1")] +#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.2")] #![deny(missing_debug_implementations, unreachable_pub)] #![cfg_attr(test, deny(warnings))] @@ -35,7 +35,7 @@ //! ``` //! //! [`tracing`]: https://crates.io/crates/tracing -//! [span]: https://docs.rs/tracing/0.1.3/tracing/span/index.html +//! [span]: https://docs.rs/tracing/0.1.5/tracing/span/index.html //! [instrument]: attr.instrument.html extern crate proc_macro; @@ -105,7 +105,7 @@ use syn::{ /// - When using `#[instrument]` on an `async fn`, the `tracing_futures` must /// also be specified as a dependency in `Cargo.toml`. /// -/// [span]: https://docs.rs/tracing/0.1.3/tracing/span/index.html +/// [span]: https://docs.rs/tracing/0.1.5/tracing/span/index.html /// [`tracing`]: https://github.com/tokio-rs/tracing #[proc_macro_attribute] pub fn instrument(args: TokenStream, item: TokenStream) -> TokenStream {