Skip to content

Commit

Permalink
tracing: prepare to release v0.1.22 (tokio-rs#1119)
Browse files Browse the repository at this point in the history
### Changed

- Updated `pin-project-lite` dependency to 0.2 ([tokio-rs#1108])

[tokio-rs#1108]: tokio-rs#1108
  • Loading branch information
hawkw authored and kaffarell committed May 22, 2024
1 parent 547e221 commit 9b22680
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion tracing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.1.22 (November 23, 2020)

### Changed

- Updated `pin-project-lite` dependency to 0.2 ([#1108])

[#1108]: https://github.com/tokio-rs/tracing/pull/1108

# 0.1.21 (September 28, 2020)

### Fixed
Expand All @@ -24,7 +32,7 @@ Thanks to @nagisa, and new contributors @SecurityInsanity, @froydnj, @jyn514 and

[#994]: https://github.com/tokio-rs/tracing/pull/994
[#992]: https://github.com/tokio-rs/tracing/pull/992
[#987]: https://github.com/tokio-rs/tracing/pull/987
[#987]: https://github.com/tokio-rs/tracing/pull/987
[#980]: https://github.com/tokio-rs/tracing/pull/980
[#981]: https://github.com/tokio-rs/tracing/pull/981
[#964]: https://github.com/tokio-rs/tracing/pull/964
Expand Down
4 changes: 2 additions & 2 deletions tracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ my_future
is as long as the future's.

The second, and preferred, option is through the
[`#[instrument]`](https://docs.rs/tracing/0.1.21/tracing/attr.instrument.html)
[`#[instrument]`](https://docs.rs/tracing/0.1.22/tracing/attr.instrument.html)
attribute:

```rust
Expand Down Expand Up @@ -292,7 +292,7 @@ span.in_scope(|| {
// Dropping the span will close it, indicating that it has ended.
```

The [`#[instrument]`](https://docs.rs/tracing/0.1.21/tracing/attr.instrument.html) attribute macro
The [`#[instrument]`](https://docs.rs/tracing/0.1.22/tracing/attr.instrument.html) attribute macro
can reduce some of this boilerplate:

```rust
Expand Down

0 comments on commit 9b22680

Please sign in to comment.