File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+ # 0.1.21 (April 26, 2022)
2
+
3
+ This release adds support for setting explicit parent and follows-from spans
4
+ in the ` #[instrument] ` attribute.
5
+
6
+ ### Added
7
+
8
+ - ` #[instrument(follows_from = ...)] ` argument for setting one or more
9
+ follows-from span ([ #2093 ] )
10
+ - ` #[instrument(parent = ...)] ` argument for overriding the generated span's
11
+ parent ([ #2091 ] )
12
+
13
+ ### Fixed
14
+
15
+ - Extra braces around ` async ` blocks in expanded code (causes a Clippy warning)
16
+ ([ #2090 ] )
17
+ - Broken documentation links ([ #2068 ] , [ #2077 ] )
18
+
19
+ Thanks to @jarrodldavis , @ben0x539 , and new contributor @jswrenn for
20
+ contributing to this release!
21
+
22
+
23
+ [ #2093 ] : https://github.com/tokio-rs/tracing/pull/2093
24
+ [ #2091 ] : https://github.com/tokio-rs/tracing/pull/2091
25
+ [ #2090 ] : https://github.com/tokio-rs/tracing/pull/2090
26
+ [ #2077 ] : https://github.com/tokio-rs/tracing/pull/2077
27
+ [ #2068 ] : https://github.com/tokio-rs/tracing/pull/2068
28
+
1
29
# 0.1.20 (March 8, 2022)
2
30
3
31
### Fixed
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Macro attributes for application-level tracing.
18
18
[ crates-badge ] : https://img.shields.io/crates/v/tracing-attributes.svg
19
19
[ crates-url ] : https://crates.io/crates/tracing-attributes
20
20
[ docs-badge ] : https://docs.rs/tracing-attributes/badge.svg
21
- [ docs-url ] : https://docs.rs/tracing-attributes/0.1.20
21
+ [ docs-url ] : https://docs.rs/tracing-attributes/0.1.21
22
22
[ docs-master-badge ] : https://img.shields.io/badge/docs-master-blue
23
23
[ docs-master-url ] : https://tracing-rs.netlify.com/tracing_attributes
24
24
[ mit-badge ] : https://img.shields.io/badge/license-MIT-blue.svg
@@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`:
47
47
48
48
``` toml
49
49
[dependencies ]
50
- tracing-attributes = " 0.1.20 "
50
+ tracing-attributes = " 0.1.21 "
51
51
```
52
52
53
53
You can’t perform that action at this time.
0 commit comments