Skip to content

Commit

Permalink
attributes: prepare to release 0.1.7 (#605)
Browse files Browse the repository at this point in the history
### Added

- Support for adding arbitrary literal fields to spans generated by
  `#[instrument]` (#569)
- `#[instrument]` now emits a helpful compiler error when attempting to
  skip a function parameter (#600)

Thanks to @Kobzol for contributing to this release!

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw authored Feb 26, 2020
1 parent e225fc2 commit 4d5dd72
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
11 changes: 11 additions & 0 deletions tracing-attributes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 0.1.7 (February 26, 2020)

### Added

- Support for adding arbitrary literal fields to spans generated by
`#[instrument]` (#569)
- `#[instrument]` now emits a helpful compiler error when attempting to skip a
function parameter (#600)

Thanks to @Kobzol for contributing to this release!

# 0.1.6 (December 20, 2019)

### Added
Expand Down
2 changes: 1 addition & 1 deletion tracing-attributes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "tracing-attributes"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.1.6"
version = "0.1.7"
authors = [
"Tokio Contributors <team@tokio.rs>",
"Eliza Weisman <eliza@buoyant.io>",
Expand Down
6 changes: 3 additions & 3 deletions tracing-attributes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.6
[docs-url]: https://docs.rs/tracing-attributes/0.1.7
[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
Expand All @@ -39,7 +39,7 @@ First, add this to your `Cargo.toml`:

```toml
[dependencies]
tracing-attributes = "0.1.6"
tracing-attributes = "0.1.7"
```

*Compiler support: requires rustc 1.39+*
Expand All @@ -58,7 +58,7 @@ pub fn my_function(my_arg: usize) {


[`tracing`]: https://crates.io/crates/tracing
[span]: https://docs.rs/tracing/0.1.6/tracing/span/index.html
[span]: https://docs.rs/tracing/0.1.7/tracing/span/index.html

## License

Expand Down
8 changes: 4 additions & 4 deletions tracing-attributes/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//!
//! ```toml
//! [dependencies]
//! tracing-attributes = "0.1.0"
//! tracing-attributes = "0.1.7"
//! ```
//!
//! *Compiler support: requires rustc 1.39+*
Expand All @@ -33,9 +33,9 @@
//! ```
//!
//! [`tracing`]: https://crates.io/crates/tracing
//! [span]: https://docs.rs/tracing/0.1.6/tracing/span/index.html
//! [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.6")]
#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.7")]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down Expand Up @@ -158,7 +158,7 @@ use syn::{
/// }
/// ```
///
/// [span]: https://docs.rs/tracing/0.1.6/tracing/span/index.html
/// [span]: https://docs.rs/tracing/latest/tracing/span/index.html
/// [`tracing`]: https://github.com/tokio-rs/tracing
/// [`fmt::Debug`]: https://doc.rust-lang.org/std/fmt/trait.Debug.html
#[proc_macro_attribute]
Expand Down
2 changes: 1 addition & 1 deletion tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ edition = "2018"
[dependencies]
tracing-core = { path = "../tracing-core", version = "0.1.10", default-features = false }
log = { version = "0.4", optional = true }
tracing-attributes = { path = "../tracing-attributes", version = "0.1.6", optional = true }
tracing-attributes = { path = "../tracing-attributes", version = "0.1.7", optional = true }
cfg-if = "0.1.10"

[dev-dependencies]
Expand Down

0 comments on commit 4d5dd72

Please sign in to comment.