Skip to content

Commit 8089318

Browse files
committed
tracing: prepare to release v0.1.25
Added - `Span::entered` method for entering a span and moving it into a guard by value rather than borrowing it (#1252) Thanks to @matklad for contributing to this release! Signed-off-by: Eliza Weisman <[email protected]>
1 parent 72ba29f commit 8089318

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

tracing/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# 0.1.25 (February 23, 2021)
2+
3+
### Added
4+
5+
- `Span::entered` method for entering a span and moving it into a guard by value
6+
rather than borrowing it ([#1252])
7+
8+
Thanks to @matklad for contributing to this release!
9+
10+
[#1252]: https://github.com/tokio-rs/tracing/pull/1252
11+
112
# 0.1.24 (February 17, 2021)
213

314
### Fixed

tracing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "tracing"
88
# - README.md
99
# - Update CHANGELOG.md.
1010
# - Create "v0.1.x" git tag
11-
version = "0.1.24"
11+
version = "0.1.25"
1212
authors = ["Eliza Weisman <[email protected]>", "Tokio Contributors <[email protected]>"]
1313
license = "MIT"
1414
readme = "README.md"

tracing/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Application-level tracing for Rust.
1616
[Documentation][docs-url] | [Chat][discord-url]
1717

1818
[crates-badge]: https://img.shields.io/crates/v/tracing.svg
19-
[crates-url]: https://crates.io/crates/tracing/0.1.24
19+
[crates-url]: https://crates.io/crates/tracing/0.1.25
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.24
21+
[docs-url]: https://docs.rs/tracing/0.1.25
2222
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2323
[docs-master-url]: https://tracing-rs.netlify.com/tracing
2424
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
@@ -251,7 +251,7 @@ my_future
251251
is as long as the future's.
252252

253253
The second, and preferred, option is through the
254-
[`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html)
254+
[`#[instrument]`](https://docs.rs/tracing/0.1.25/tracing/attr.instrument.html)
255255
attribute:
256256

257257
```rust
@@ -298,7 +298,7 @@ span.in_scope(|| {
298298
// Dropping the span will close it, indicating that it has ended.
299299
```
300300

301-
The [`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html) attribute macro
301+
The [`#[instrument]`](https://docs.rs/tracing/0.1.25/tracing/attr.instrument.html) attribute macro
302302
can reduce some of this boilerplate:
303303

304304
```rust

tracing/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@
783783
//!
784784
//! ```toml
785785
//! [dependencies]
786-
//! tracing = { version = "0.1.24", default-features = false }
786+
//! tracing = { version = "0.1.25", default-features = false }
787787
//! ```
788788
//!
789789
//! <div class="information">
@@ -839,7 +839,7 @@
839839
//! [flags]: #crate-feature-flags
840840
#![cfg_attr(not(feature = "std"), no_std)]
841841
#![cfg_attr(docsrs, feature(doc_cfg), deny(broken_intra_doc_links))]
842-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.24")]
842+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.25")]
843843
#![doc(
844844
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
845845
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)