Skip to content

Commit 2cb6f81

Browse files
committed
tracing: prepare to releases v0.1.35
# 0.1.35 (June 7, 2022) This release reduces the overhead of callsite registration by using new `tracing-core` APIs. ### Added - Use `DefaultCallsite` to reduce callsite registration overhead ([#2083]) ### Changed - `tracing-core`: updated to [0.1.27][core-0.1.27] [core-0.1.27]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.27 [#2088]: #2083
1 parent d6699fe commit 2cb6f81

File tree

4 files changed

+23
-7
lines changed

4 files changed

+23
-7
lines changed

tracing/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# 0.1.35 (June 7, 2022)
2+
3+
This release reduces the overhead of callsite registration by using new
4+
`tracing-core` APIs.
5+
6+
### Added
7+
8+
- Use `DefaultCallsite` to reduce callsite registration overhead ([#2083])
9+
10+
### Changed
11+
12+
- `tracing-core`: updated to [0.1.27][core-0.1.27]
13+
14+
[core-0.1.27]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.27
15+
[#2088]: https://github.com/tokio-rs/tracing/pull/2083
16+
117
# 0.1.34 (April 14, 2022)
218

319
This release includes bug fixes for the "log" support feature and for the use of

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.34"
11+
version = "0.1.35"
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.34
19+
[crates-url]: https://crates.io/crates/tracing/0.1.35
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.34
21+
[docs-url]: https://docs.rs/tracing/0.1.35
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
@@ -250,7 +250,7 @@ my_future
250250
is as long as the future's.
251251

252252
The second, and preferred, option is through the
253-
[`#[instrument]`](https://docs.rs/tracing/0.1.34/tracing/attr.instrument.html)
253+
[`#[instrument]`](https://docs.rs/tracing/0.1.35/tracing/attr.instrument.html)
254254
attribute:
255255

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

300-
The [`#[instrument]`](https://docs.rs/tracing/0.1.34/tracing/attr.instrument.html) attribute macro
300+
The [`#[instrument]`](https://docs.rs/tracing/0.1.35/tracing/attr.instrument.html) attribute macro
301301
can reduce some of this boilerplate:
302302

303303
```rust

tracing/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@
809809
//!
810810
//! ```toml
811811
//! [dependencies]
812-
//! tracing = { version = "0.1.34", default-features = false }
812+
//! tracing = { version = "0.1.35", default-features = false }
813813
//! ```
814814
//!
815815
//! <pre class="ignore" style="white-space:normal;font:inherit;">
@@ -892,7 +892,7 @@
892892
//! [flags]: #crate-feature-flags
893893
#![cfg_attr(not(feature = "std"), no_std)]
894894
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
895-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.34")]
895+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.35")]
896896
#![doc(
897897
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
898898
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)